mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
0a9382cea5
This is a bit of a hack, and should be fixed later. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@379 b45a01b8-16f6-495d-af2f-9b41ad6348cc
59 lines
1.4 KiB
Makefile
59 lines
1.4 KiB
Makefile
|
|
RS_TOP_DIR = ..
|
|
##### Define any flags that are needed for this section #######
|
|
###############################################################
|
|
|
|
###############################################################
|
|
include $(RS_TOP_DIR)/scripts/config.mk
|
|
###############################################################
|
|
|
|
BASE_OBJ = pqidebug.o pqisecurity.o pqinetwork.o
|
|
#pqi_base.o
|
|
|
|
LOOP_OBJ = pqiloopback.o
|
|
STREAM_OBJ = pqistreamer.o pqiarchive.o pqibin.o
|
|
MGR_OBJ = pqimonitor.o p3dhtmgr.o p3connmgr.o p3cfgmgr.o p3authmgr.o
|
|
GRP_OBJ = pqiperson.o pqihandler.o pqiservice.o pqipersongrp.o
|
|
|
|
ifdef PQI_USE_XPGP
|
|
SSL_OBJ = authxpgp.o
|
|
else
|
|
SSL_OBJ = sslcert.o
|
|
endif
|
|
|
|
SSL_OBJ += pqissl.o pqissllistener.o pqisslpersongrp.o
|
|
UDP_OBJ = pqissludp.o
|
|
|
|
OTHER_OBJ = p3notify.o
|
|
|
|
RSOBJ = $(BASE_OBJ) $(LOOP_OBJ) \
|
|
$(STREAM_OBJ) \
|
|
$(MGR_OBJ) \
|
|
$(SSL_OBJ) \
|
|
$(UDP_OBJ) \
|
|
$(GRP_OBJ) \
|
|
$(OTHER_OBJ)
|
|
|
|
TESTOBJ = net_test.o dht_test.o
|
|
#conn_test.o
|
|
|
|
TESTS = net_test dht_test
|
|
#conn_test
|
|
|
|
|
|
all: librs tests
|
|
|
|
dht_test: dht_test.o
|
|
$(CC) $(CFLAGS) -o dht_test dht_test.o $(LIBS)
|
|
|
|
conn_test: conn_test.o
|
|
$(CC) $(CFLAGS) -o conn_test conn_test.o $(LIBS)
|
|
|
|
net_test: net_test.o
|
|
$(CC) $(CFLAGS) -o net_test net_test.o $(LIBS)
|
|
|
|
###############################################################
|
|
include $(RS_TOP_DIR)/scripts/rules.mk
|
|
###############################################################
|
|
|