Debian Codegraph @

ccast/Jamfile

raw
1
2 # Jamfile for ccast library
3
4 #PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on
5 PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags
6 PREF_LINKFLAGS = $(LINKDEBUGFLAG) ;
7
8 if $(NT) {
9 DEFINES += WIN32 ;
10 }
11
12 if $(SSLLIB) {
13 DEFINES += USING_AXTLS ; # Trigger right #include
14 SubInclude axTLS ;
15 }
16
17 HDRS = ../h ../numlib ../spectro $(SSLINC) chan ../yajl ;
18
19 # We create the channel protocol buffers implementation files thus:
20 # /src/protobuf_c/protobuf.exe --c_out=chan cast_channel.proto
21
22 CHAN_SRC =
23 chan/cast_channel.pb-c.c
24 chan/protobuf-c.c
25 ;
26
27 Objects ccmes.c $(CHAN_SRC) : : : axTLS ;
28 Objects ccmdns.c ccpacket.c ccast.c dpat.c ;
29
30 # ccast library
31 LibraryFromObjects libccast : ccmdns ccpacket ccmes ccast $(CHAN_SRC) dpat ;
32
33 LINKLIBS = ./libccast $(SSLLIB) ../yajl/libyajl ../numlib/libnum ../spectro/libconv ;
34
35 # If run in ccast dir, the following don't link from clean,
36 # due to the _NormPaths rule not resolving ../ccast into .
37
38 # Test harness
39 #Main cctest : cctest.c ;
40 #Main filt : filt.c ;
41 #MainVariant dpat : dpat.c : : STANDALONE_TEST ;
42