--- flute/Makefile.orig	Wed May 19 15:19:36 2004
+++ flute/Makefile	Wed May 19 15:21:25 2004
@@ -1,9 +1,7 @@
 #CC = ccmalloc gcc-2.95
 CC = gcc
-CFLAGS += -Wall -g -I/usr/local/expat-1.95.6/lib/ -I/usr/local/ssl/include/ -I/usr/java/j2sdk1.4.2/include/ \
-	-I/usr/local/include/ -I/usr/java/j2sdk1.4.2/include/linux/ -DLINUX -D__VXWORKS_OS__
-LFLAGS += -DLINUX -D__VXWORKS_OS__ -L../lib -L/usr/local/expat-1.95.6/.libs/ -L/usr/local/ssl/lib/ \
-	-L/usr/local/lib/ -lz -lalc -lsdp -lnullfec -lrsfec -lrlc -lexpat -lpthread -lm -lssl -lcrypto # -lmpatrol -lelf
+CFLAGS += -Wall -g -I$(PREFIX)/include -DDARWIN -DHAVE_STDARG_H -DHAVE_UNISTD_H -DHAVE_SYSLOG_H
+LFLAGS += -DDARWIN -L../lib -L$(PREFIX)/lib -lz -lalc -lsdp -lnullfec -lrsfec -lrlc -lexpat -lpthread -lm -lssl -lcrypto # -lmpatrol -lelf
 
 SOURCES = main.c flute.c sender.c receiver.c fdt.c fdt_gen.c mad_md5.c uri.c getdnsname.c mad_zlib.c
 
