summaryrefslogtreecommitdiff
path: root/net/mcl/files/patch-check-alc-Makefile
blob: 65fa325159840f8f77b7e313a6c4e53f1d02b5b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- check/alc/Makefile.orig	Wed Oct 15 18:02:27 2003
+++ check/alc/Makefile	Wed Oct 15 17:24:04 2003
@@ -35,6 +35,18 @@
 	LIBRARIES = -lc -lm -lsocket -lnsl -L/usr/ucblib -lucb -lposix4 -mt -lpthread ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
 endif
 
+ifeq (${OS},freebsd)
+	# Linux version
+	#
+	BINDIR = ../../bin/freebsd
+	LDPC_BINDIR = ../../../ldpc/bin/freebsd
+	# Edit the following two lines as appropriate, according to the FEC
+	# codec in use: if LDPC is used, then add the libbdpc.a library.
+	#
+	LIBRARIES = -lm -pthread ${BINDIR}/libmclalc.a
+	#LIBRARIES = -lm -pthread ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
+endif
+
 
 ###### Other variables ######