]>
git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/examples/rest/Makefile
e4d44aaea10fff2d9e22bce18fc745e0c0558675
2 # Copyright (c) 2018 CivetWeb Developers
3 # Copyright (c) 2013 No Face Press, LLC
4 # License http://opensource.org/licenses/mit-license.php MIT License
7 #This makefile is used to test the other Makefiles
11 SRC
= rest.c cJSON
/cJSON.c cJSON
/cJSON_Utils.c
14 CIVETWEB_LIB
= libcivetweb.a
16 CFLAGS
= -I
$(TOP
)/include -IcJSON
$(COPT
) -DNO_FILES
19 include $(TOP
)/resources
/Makefile.in-os
21 ifeq ($(TARGET_OS
),LINUX
)
27 $(PROG
): $(CIVETWEB_LIB
) $(SRC
)
28 $(CC
) -o
$@
$(CFLAGS
) $(LDFLAGS
) $(SRC
) $(CIVETWEB_LIB
) $(LIBS
) -lcrypto
-lssl
-DUSE_SSL_DH
=1
31 $(MAKE
) -C
$(TOP
) WITH_IPV6
=1 WITH_WEBSOCKET
=1 COPT
='-DNO_SSL_DL=1' clean lib
32 cp
$(TOP
)/$(CIVETWEB_LIB
) .
35 rm -f
$(CIVETWEB_LIB
) $(PROG
)