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-02-07 11:18:34 -05:00
|
|
|
BASE_OBJ = pqidebug.o pqisecurity.o pqinetwork.o
|
|
|
|
#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
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
ifdef PQI_USE_XPGP
|
2008-01-25 01:36:40 -05:00
|
|
|
SSL_OBJ = authxpgp.o
|
2007-11-14 22:18:48 -05:00
|
|
|
else
|
|
|
|
SSL_OBJ = sslcert.o
|
|
|
|
endif
|
|
|
|
|
2008-01-25 01:36:40 -05:00
|
|
|
SSL_OBJ += pqissl.o pqissllistener.o pqisslpersongrp.o
|
|
|
|
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-04-09 11:13:05 -04:00
|
|
|
TESTOBJ = xpgp_id.o 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-04-09 11:13:05 -04:00
|
|
|
TESTS = xpgp_id 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-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
|
|
|
|