--- 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 ######
 
