2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
RS_TOP_DIR = ..
|
|
|
|
##### Define any flags that are needed for this section #######
|
|
|
|
###############################################################
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
###############################################################
|
|
|
|
include $(RS_TOP_DIR)/scripts/config.mk
|
|
|
|
###############################################################
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
BIOOBJ = bss_tou.o
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
RSOBJ = tou_net.o udplayer.o udpsorter.o udptestfn.o
|
|
|
|
RSOBJ += tcppacket.o tcpstream.o tou.o $(BIOOBJ)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
EXECS = librs udpsock_test udpsort_test udp_server
|
|
|
|
#test_tou pair_tou reset_tou internal_tou largefile_tou
|
2008-01-25 01:11:39 -05:00
|
|
|
|
2008-03-03 09:41:15 -05:00
|
|
|
#TESTOBJ = udpsock_test.o udpsort_test.o udp_server.o test_tou.o
|
|
|
|
#TESTOBJ += pair_tou.o reset_tou.o largefile_tou.o
|
2008-02-03 01:17:33 -05:00
|
|
|
#internal_tou.o
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-03-03 09:41:15 -05:00
|
|
|
#TESTS = udpsock_test udpsort_test udp_server test_tou
|
|
|
|
#TESTS += pair_tou reset_tou largefile_tou
|
2008-02-03 01:17:33 -05:00
|
|
|
#internal_tou
|
2008-01-25 01:11:39 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
all: librs tests
|
2008-01-25 01:11:39 -05:00
|
|
|
|
|
|
|
udpsock_test : $(OBJ) udpsock_test.o
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o udpsock_test udpsock_test.o $(OBJ) $(LIBS)
|
2008-01-25 01:11:39 -05:00
|
|
|
|
|
|
|
udpsort_test : $(OBJ) udpsort_test.o
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o udpsort_test udpsort_test.o $(OBJ) $(LIBS)
|
2008-01-25 01:11:39 -05:00
|
|
|
|
|
|
|
udp_server: $(OBJ) udp_server.o
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o udp_server udp_server.o $(OBJ) $(LIBS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
test_tou : $(OBJ) test_tou.o
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o test_tou test_tou.o $(OBJ) $(LIBS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
pair_tou : $(OBJ) pair_tou.o
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o pair_tou pair_tou.o $(OBJ) $(LIBS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
reset_tou : $(OBJ) reset_tou.o
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o reset_tou reset_tou.o $(OBJ) $(LIBS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
internal_tou : $(OBJ) internal_tou.o
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o internal_tou internal_tou.o $(OBJ) $(LIBS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
largefile_tou : $(OBJ) largefile_tou.o
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o largefile_tou largefile_tou.o $(OBJ) $(LIBS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
# Extra Rule for BIOFLAGS
|
2007-11-14 22:18:48 -05:00
|
|
|
.c.o:
|
|
|
|
$(BIOCC) $(BIOCFLAGS) -c $<
|
2008-02-03 01:17:33 -05:00
|
|
|
|
|
|
|
###############################################################
|
|
|
|
include $(RS_TOP_DIR)/scripts/rules.mk
|
|
|
|
###############################################################
|
|
|
|
|