2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
RS_TOP_DIR = ..
|
2008-02-03 01:17:33 -05:00
|
|
|
##### 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
|
|
|
|
###############################################################
|
|
|
|
|
|
|
|
RSOBJ = findex.o fimonitor.o cachestrapper.o fistore.o \
|
2007-11-14 22:18:48 -05:00
|
|
|
rsexpr.o
|
|
|
|
|
2008-02-09 07:47:45 -05:00
|
|
|
TESTOBJ = fitest2.o fisavetest.o searchtest.o
|
|
|
|
#ficachetest.o
|
2008-02-03 01:17:33 -05:00
|
|
|
|
2008-02-09 07:47:45 -05:00
|
|
|
TESTS = fitest2 fisavetest searchtest
|
|
|
|
#ficachetest
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
ifeq ($(OS),Linux)
|
2008-02-03 01:17:33 -05:00
|
|
|
TESTOBJ += fimontest.o
|
|
|
|
TESTS += fimontest
|
2007-11-14 22:18:48 -05:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
ifeq ($(OS),MacOSX)
|
|
|
|
TESTOBJ += fimontest.o
|
|
|
|
TESTS += fimontest
|
|
|
|
endif
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
all: librs tests
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
fitest2 : fitest2.o $(OBJ)
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o fitest2 fitest2.o $(OBJ) $(LIBS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
fisavetest : fisavetest.o $(OBJ)
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o fisavetest fisavetest.o $(OBJ) $(LIBS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
fimontest : fimontest.o $(OBJ)
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o fimontest fimontest.o $(OBJ) $(LIBS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
ficachetest : ficachetest.o $(OBJ)
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o ficachetest ficachetest.o $(OBJ) $(LIBS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
searchtest : searchtest.o $(OBJ)
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o searchtest searchtest.o $(OBJ) $(LIBS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
###############################################################
|
|
|
|
include $(RS_TOP_DIR)/scripts/rules.mk
|
|
|
|
###############################################################
|
2007-11-14 22:18:48 -05:00
|
|
|
|