summaryrefslogtreecommitdiff
path: root/net/mcl/files/patch-robcast-Makefile
blob: f6f4a21f0e42c0171bdcd8d7f8df1086d80e923e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- robcast/Makefile.orig	Wed Oct 15 18:03:36 2003
+++ robcast/Makefile	Wed Oct 15 17:33:36 2003
@@ -29,6 +29,16 @@
 	LIBRARIES = -lc -lm -lsocket -lnsl -L/usr/ucblib -lucb -lposix4 -lpthread ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
 endif
 
+ifeq (${OS},freebsd)
+	# FreeBSD version
+	# MCL library requires -pthread
+	#
+	BINDIR = ../bin/freebsd
+	LDPC_BINDIR = ../../ldpc/bin/freebsd
+	LIBRARIES = -lm -pthread ${BINDIR}/libmclalc.a
+	#LIBRARIES = -lm -pthread ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
+endif
+
 
 ###### Other variables ######