aboutsummaryrefslogtreecommitdiffstats
path: root/mbone/mcl/files/patch-flute-Makefile
blob: 233632048d572b1af2f370622fe79fa937ac2eb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
--- flute/Makefile.orig Wed Nov 26 17:18:21 2003
+++ flute/Makefile  Wed Jan  7 12:38:28 2004
@@ -36,6 +36,18 @@
 
 endif
 
+ifeq (${OS},freebsd)
+   # FreeBSD version:
+   # CC requires: -mt -lpthread for multithreaded applications
+   # NB: mpatrol not installed !
+   #
+   BINDIR = ../bin/freebsd
+   LDPC_BINDIR = ../../ldpc/bin/freebsd
+   LIBRARIES = -lm -pthread -lglib-2.0 -lgdome -lxml2 -L/usr/local/lib
+   # added -I/usr/local/include for libgdome header files
+   ADD_INCLUDES = -I/usr/local/include/ -I/usr/local/include/glib-2.0/ -I/usr/local/include/libgdome/
+endif
+
 
 ###### Other variables ######
 
@@ -73,24 +85,24 @@
 # codec in use: if LDPC is used, then add the libbdpc.a library.
 # If only RSE is used and if you don't have the LDPC archive, then
 # remove the libbdpc.a library.
-#alc:  MCL_LIBRARY = ${BINDIR}/libmclalc.a
-alc:   MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
+alc:   MCL_LIBRARY = ${BINDIR}/libmclalc.a
+#alc:  MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
 alc:   TARGET_FLUTE = ${BINDIR}/flute
 #alc:  all
 
 alc_pure:  RM_PROTOCOL = ALC
 # Edit the following two lines as appropriate, according to the FEC
 # codec in use: if LDPC is used, then add the libbdpc.a library.
-#alc_pure: MCL_LIBRARY = ${BINDIR}/libmclalc.a
-alc_pure:  MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
+alc_pure:  MCL_LIBRARY = ${BINDIR}/libmclalc.a
+#alc_pure: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
 alc_pure:  TARGET_FLUTE = ${BINDIR}/flute
 alc_pure:  pure
 
 alc_quantify:  RM_PROTOCOL = ALC
 # Edit the following two lines as appropriate, according to the FEC
 # codec in use: if LDPC is used, then add the libbdpc.a library.
-#alc_quantify: MCL_LIBRARY = ${BINDIR}/libmclalc.a
-alc_quantify:  MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
+alc_quantify:  MCL_LIBRARY = ${BINDIR}/libmclalc.a
+#alc_quantify: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
 alc_quantify:  TARGET_FLUTE = ${BINDIR}/flute
 alc_quantify:  quantify