# Jamfile for ccast library #PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags PREF_LINKFLAGS = $(LINKDEBUGFLAG) ; if $(NT) { DEFINES += WIN32 ; } if $(SSLLIB) { DEFINES += USING_AXTLS ; # Trigger right #include SubInclude axTLS ; } HDRS = ../h ../numlib ../spectro $(SSLINC) chan ../yajl ; # We create the channel protocol buffers implementation files thus: # /src/protobuf_c/protobuf.exe --c_out=chan cast_channel.proto CHAN_SRC = chan/cast_channel.pb-c.c chan/protobuf-c.c ; Objects ccmes.c $(CHAN_SRC) : : : axTLS ; Objects ccmdns.c ccpacket.c ccast.c dpat.c ; # ccast library LibraryFromObjects libccast : ccmdns ccpacket ccmes ccast $(CHAN_SRC) dpat ; LINKLIBS = ./libccast $(SSLLIB) ../yajl/libyajl ../numlib/libnum ../spectro/libconv ; # If run in ccast dir, the following don't link from clean, # due to the _NormPaths rule not resolving ../ccast into . # Test harness #Main cctest : cctest.c ; Main filt : filt.c ; MainVariant dpat : dpat.c : : STANDALONE_TEST ;