diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-08-23 12:22:51 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-08-23 12:22:51 +0200 |
commit | bc3604d9b226ac475a104cd8ae2ca2d1d4a27984 (patch) | |
tree | e796661f371a94a50edfdc693388bb911b253dfd /ccast/Jamfile | |
parent | 509016be676f7915d635fa57144d2a441e3090ca (diff) | |
parent | c0b89ac5bfb90835ef01573267020e42d4fe070c (diff) |
Merge new upstream release
Diffstat (limited to 'ccast/Jamfile')
-rwxr-xr-x[-rw-r--r--] | ccast/Jamfile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/ccast/Jamfile b/ccast/Jamfile index ff216ff..3d03a2f 100644..100755 --- a/ccast/Jamfile +++ b/ccast/Jamfile @@ -9,9 +9,12 @@ if $(NT) { DEFINES += WIN32 ; } -SubInclude axTLS ; +if $(SSLLIB) { + DEFINES += USING_AXTLS ; # Trigger right #include + SubInclude axTLS ; +} -HDRS = ../h ../numlib ../spectro axTLS chan ../yajl ; +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 @@ -21,14 +24,19 @@ CHAN_SRC = chan/protobuf-c.c ; +Objects ccmes.c $(CHAN_SRC) : : : axTLS ; +Objects ccmdns.c ccpacket.c ccast.c dpat.c ; + # ccast library -Library libccast : ccmdns.c ccpacket.c ccmes.c ccast.c $(CHAN_SRC) dpat.c ; +LibraryFromObjects libccast : ccmdns ccpacket ccmes ccast $(CHAN_SRC) dpat ; -LINKLIBS = ./libccast axTLS/libaxtls ../yajl/libyajl ../numlib/libnum ../spectro/libconv ; +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 ; |