]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/examples/embedded_cpp/Makefile
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / prometheus-cpp / 3rdparty / civetweb / examples / embedded_cpp / Makefile
CommitLineData
1e59de90
TL
1#
2# Copyright (c) 2013 No Face Press, LLC
3# License http://opensource.org/licenses/mit-license.php MIT License
4#
5
6#This makefile is used to test the other Makefiles
7
8
9PROG = embedded_cpp
10SRC = embedded_cpp.cpp
11
12TOP = ../..
13CIVETWEB_LIB = libcivetweb.a
14
15CFLAGS = -I$(TOP)/include $(COPT)
16LIBS = -lpthread
17
18include $(TOP)/resources/Makefile.in-os
19
20ifeq ($(TARGET_OS),LINUX)
21 LIBS += -ldl -lrt
22endif
23ifdef WITH_ZLIB
24 LIBS += -lz
25endif
26
27all: $(PROG)
28
29$(PROG): $(CIVETWEB_LIB) $(SRC)
30 $(CXX) -o $@ $(CFLAGS) $(LDFLAGS) $(SRC) $(CIVETWEB_LIB) $(LIBS)
31
32$(CIVETWEB_LIB):
33 $(MAKE) -C $(TOP) clean lib WITH_CPP=1
34 cp $(TOP)/$(CIVETWEB_LIB) .
35
36clean:
37 rm -f $(CIVETWEB_LIB) $(PROG)
38
39.PHONY: all clean