mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 19:04:25 -05:00
276a6bbd99
* Completed CacheConfig serialisation. * Switched to Push Cache Mode (faster and more efficient). * Added CancelCacheTransfer() if we have duplicate HASH / CACHEID. * Store remote and local caches. * cleanup all cache directories. * Broke Cache tests :( - because of dependency of mAuthMgr/mConnMgr. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@343 b45a01b8-16f6-495d-af2f-9b41ad6348cc
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
|
|
RS_TOP_DIR = ..
|
|
##### Define any flags that are needed for this section #######
|
|
###############################################################
|
|
|
|
###############################################################
|
|
include $(RS_TOP_DIR)/scripts/config.mk
|
|
###############################################################
|
|
|
|
RSOBJ = findex.o fimonitor.o cachestrapper.o fistore.o \
|
|
rsexpr.o
|
|
|
|
TESTOBJ = fitest2.o fisavetest.o searchtest.o
|
|
#ficachetest.o
|
|
|
|
TESTS = fitest2 fisavetest searchtest
|
|
#ficachetest
|
|
|
|
ifeq ($(OS),Linux)
|
|
TESTOBJ += fimontest.o
|
|
TESTS += fimontest
|
|
endif
|
|
|
|
|
|
ifeq ($(OS),MacOSX)
|
|
TESTOBJ += fimontest.o
|
|
TESTS += fimontest
|
|
endif
|
|
|
|
|
|
all: librs tests
|
|
|
|
fitest2 : fitest2.o $(OBJ)
|
|
$(CC) $(CFLAGS) -o fitest2 fitest2.o $(OBJ) $(LIBS)
|
|
|
|
fisavetest : fisavetest.o $(OBJ)
|
|
$(CC) $(CFLAGS) -o fisavetest fisavetest.o $(OBJ) $(LIBS)
|
|
|
|
fimontest : fimontest.o $(OBJ)
|
|
$(CC) $(CFLAGS) -o fimontest fimontest.o $(OBJ) $(LIBS)
|
|
|
|
ficachetest : ficachetest.o $(OBJ)
|
|
$(CC) $(CFLAGS) -o ficachetest ficachetest.o $(OBJ) $(LIBS)
|
|
|
|
searchtest : searchtest.o $(OBJ)
|
|
$(CC) $(CFLAGS) -o searchtest searchtest.o $(OBJ) $(LIBS)
|
|
|
|
###############################################################
|
|
include $(RS_TOP_DIR)/scripts/rules.mk
|
|
###############################################################
|
|
|