mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
c415bb6158
============================================================ This is intended to be a completely independent library from RS, (hosted at sf.net/projects/bitdht) hence is being commited at the top level. As initial further development / testing will be driven by RS integration it is being added to the RS repository. Equally important is ensuring that RS can compile without requiring aux libraries. Once libbitdht is further developed, this section of the repository is expected to be removed... But that will not be for a while, I expect. drbob. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3276 b45a01b8-16f6-495d-af2f-9b41ad6348cc
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
CPPFLAGS += -g -Wall -D BE_DEBUG -lpthread
|
|
LDFLAGS += -g -Wall -D BE_DEBUG -lpthread
|
|
CFLAGS += -g -Wall -D BE_DEBUG
|
|
CC = g++
|
|
LIB = -lpthread
|
|
CPPLIB = -lpthread
|
|
|
|
EXEC = bdmsgs_test bdmetric_test bdquery_test bdspace_test bdspace_test2 bdnode_test bdnode_test2 bdstore_test
|
|
EXEC += bdnode_multitest1 bdmidids_test
|
|
EXEC += udpbitdht_nettest bencode_test
|
|
EXEC += bdmgr_multitest
|
|
#EXEC += bdudp_test
|
|
|
|
all: $(EXEC)
|
|
|
|
OBJ = bencode.o bdmsgs.o bdobj.o
|
|
OBJ += bdpeer.o bdquery.o bdnode.o bdstore.o bdhash.o
|
|
OBJ += bdmanager.o bdstddht.o
|
|
|
|
# udp base objs
|
|
OBJ += bdthreads.o udplayer.o udpstack.o
|
|
OBJ += udpbitdht.o
|
|
|
|
bdmsgs_test: $(OBJ) bdmsgs_test.o
|
|
bdmetric_test: $(OBJ) bdmetric_test.o
|
|
bdquery_test: $(OBJ) bdquery_test.o
|
|
bdspace_test: $(OBJ) bdspace_test.o
|
|
bdspace_test2: $(OBJ) bdspace_test2.o
|
|
bdnode_test: $(OBJ) bdnode_test.o
|
|
bdnode_test2: $(OBJ) bdnode_test2.o
|
|
bdmidids_test: $(OBJ) bdmidids_test.o
|
|
|
|
bdnode_multitest1: $(OBJ) bdnode_multitest1.o
|
|
bdmgr_multitest: $(OBJ) bdmgr_multitest.o
|
|
|
|
bdstore_test: $(OBJ) bdstore_test.o
|
|
bdudp_test: $(OBJ) bdudp_test.o
|
|
udpbitdht_nettest: $(OBJ) udpbitdht_nettest.o
|
|
bencode_test: $(OBJ) bencode_test.o
|
|
|
|
clean:
|
|
rm -f *.o core $(EXEC)
|
|
|
|
.PHONY: all clean
|