mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-15 12:32:37 -04:00
Added flag for coverage profiling to tests
updated services tests - added chat and forum test skeletons git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4286 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
cbb3b4587f
commit
6e633e419a
18 changed files with 295 additions and 435 deletions
|
@ -21,11 +21,13 @@ CC = g++
|
|||
RM = /bin/rm
|
||||
RANLIB = ranlib
|
||||
LIBDIR = $(RS_TOP_DIR)/lib
|
||||
BITDIR = $(DHT_TOP_DIR)/lib
|
||||
LIBRS = $(LIBDIR)/libretroshare.a
|
||||
|
||||
BITDHT = $(BITDIR)/libbitdht.a
|
||||
# Unix: Linux/Cygwin
|
||||
INCLUDE = -I $(RS_TOP_DIR)
|
||||
CFLAGS = -Wall -g $(INCLUDE)
|
||||
CFLAGS = -Wall -g $(INCLUDE)
|
||||
#CFLAGS += -fprofile-arcs -ftest-coverage
|
||||
CFLAGS += ${DEFINES}
|
||||
|
||||
#ifdef PQI_USE_XPGP
|
||||
|
@ -56,7 +58,8 @@ BIOCFLAGS = -I $(SSL_DIR)/include ${DEFINES} -DOPENSSL_THREADS -D_REENTRANT -DD
|
|||
# OS specific Linking.
|
||||
#########################################################################
|
||||
|
||||
LIBS = -L$(LIBDIR) -lretroshare
|
||||
LIBS = -lgpgme -L$(LIBDIR) -lretroshare
|
||||
LIBS += -L$(BITDIR) -lbitdht -lgnome-keyring
|
||||
ifdef PQI_USE_XPGP
|
||||
LIBS += -L$(SSL_DIR)
|
||||
endif
|
||||
|
@ -64,7 +67,7 @@ LIBS += -lssl -lcrypto -lpthread
|
|||
#LIBS += -L$(UPNPC_DIR) -lminiupnpc
|
||||
LIBS += $(XLIB) -ldl -lz
|
||||
LIBS += -lupnp
|
||||
LIBS += -lgpgme
|
||||
|
||||
|
||||
RSLIBS = $(LIBS)
|
||||
|
||||
|
|
|
@ -13,7 +13,8 @@ librs: $(RSOBJ)
|
|||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
clean:
|
||||
-/bin/rm $(RSOBJ) $(EXECOBJ) $(TESTOBJ)
|
||||
-/bin/rm -f $(RSOBJ) $(EXECOBJ) $(TESTOBJ) *.gcno *.gcda \
|
||||
*.gcov *.tstout $(TESTS)
|
||||
|
||||
clobber: clean retest
|
||||
-/bin/rm $(EXEC) $(TESTS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue