]>
git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/thrift/contrib/async-test/Makefile
2 CXXFLAGS
= `pkg-config --cflags thrift thrift-nb` -levent
3 LDLIBS
= `pkg-config --libs thrift thrift-nb` -levent
6 GENNAMES
= Aggr aggr_types
7 GENHEADERS
= $(addsuffix .h
, $(GENNAMES
))
8 GENSRCS
= $(addsuffix .
cpp, $(GENNAMES
))
9 GENOBJS
= $(addsuffix .o
, $(GENNAMES
))
11 PYLIBS
= aggr
/__init__.py
15 all: $(PYLIBS
) $(PROGS
)
17 test-server
: test-server.o
$(GENOBJS
)
19 test-server.o
: $(GENSRCS
)
21 aggr
/__init__.py
: aggr.thrift
23 $(THRIFT
) --gen py
:newstyle
$<
26 $(GENSRCS
): aggr.thrift
27 $(THRIFT
) --gen
cpp:cob_style
$<
28 mv
$(addprefix gen-cpp
/, $(GENSRCS
) $(GENHEADERS
)) .
31 $(RM
) -r
*.o
$(PROGS
) $(GENSRCS
) $(GENHEADERS
) gen-
* aggr