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
|
|
|
|
###############################################################
|
2007-12-11 20:29:14 -05:00
|
|
|
|
2008-07-10 12:29:18 -04:00
|
|
|
BASE_OBJ = pqisecurity.o pqinetwork.o
|
2008-02-07 11:18:34 -05:00
|
|
|
#pqi_base.o
|
|
|
|
|
2007-12-11 20:29:14 -05:00
|
|
|
LOOP_OBJ = pqiloopback.o
|
2008-01-25 01:36:40 -05:00
|
|
|
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
|
2008-11-09 11:52:14 -05:00
|
|
|
SSL_OBJ = pqissl.o pqissllistener.o pqisslpersongrp.o
|
2008-01-25 01:36:40 -05:00
|
|
|
UDP_OBJ = pqissludp.o
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-03-06 07:07:54 -05:00
|
|
|
OTHER_OBJ = p3notify.o
|
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
RSOBJ = $(BASE_OBJ) $(LOOP_OBJ) \
|
2008-01-25 01:36:40 -05:00
|
|
|
$(STREAM_OBJ) \
|
|
|
|
$(MGR_OBJ) \
|
|
|
|
$(SSL_OBJ) \
|
|
|
|
$(UDP_OBJ) \
|
2008-03-06 07:07:54 -05:00
|
|
|
$(GRP_OBJ) \
|
|
|
|
$(OTHER_OBJ)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-11-09 11:52:14 -05:00
|
|
|
TESTOBJ = net_test.o dht_test.o net_test1.o
|
2008-03-03 09:41:15 -05:00
|
|
|
#conn_test.o
|
2007-12-11 20:29:14 -05:00
|
|
|
|
2008-11-09 11:52:14 -05:00
|
|
|
TESTS = net_test dht_test net_test1
|
2008-03-03 09:41:15 -05:00
|
|
|
#conn_test
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-11-09 11:52:14 -05:00
|
|
|
ifdef PQI_USE_XPGP
|
|
|
|
SSL_OBJ += authxpgp.o cleanupxpgp.o
|
|
|
|
TESTOBJ += xpgp_id.o
|
|
|
|
TESTS += xpgp_id
|
|
|
|
else
|
2009-04-22 19:29:16 -04:00
|
|
|
SSL_OBJ = authssl.o
|
2008-11-09 11:52:14 -05:00
|
|
|
endif
|
|
|
|
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
all: librs tests
|
2008-01-25 01:36:40 -05:00
|
|
|
|
2008-03-20 22:02:58 -04:00
|
|
|
xpgp_id: xpgp_id.o
|
|
|
|
$(CC) $(CFLAGS) -o xpgp_id xpgp_id.o $(LIBS)
|
|
|
|
|
2008-02-03 07:07:59 -05:00
|
|
|
dht_test: dht_test.o
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o dht_test dht_test.o $(LIBS)
|
2008-01-25 01:36:40 -05:00
|
|
|
|
2008-02-03 07:07:59 -05:00
|
|
|
conn_test: conn_test.o
|
2008-02-03 01:17:33 -05:00
|
|
|
$(CC) $(CFLAGS) -o conn_test conn_test.o $(LIBS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 07:07:59 -05:00
|
|
|
net_test: net_test.o
|
|
|
|
$(CC) $(CFLAGS) -o net_test net_test.o $(LIBS)
|
|
|
|
|
2008-04-09 08:54:15 -04:00
|
|
|
net_test1: net_test1.o
|
|
|
|
$(CC) $(CFLAGS) -o net_test1 net_test1.o $(LIBS)
|
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
###############################################################
|
|
|
|
include $(RS_TOP_DIR)/scripts/rules.mk
|
|
|
|
###############################################################
|
2007-11-14 22:18:48 -05:00
|
|
|
|