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-01-25 01:36:40 -05:00
|
|
|
BASE_OBJ = pqi_base.o pqidebug.o pqisecurity.o pqinetwork.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-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) \
|
|
|
|
$(GRP_OBJ)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 07:07:59 -05:00
|
|
|
TESTOBJ = net_test.o dht_test.o conn_test.o
|
2007-12-11 20:29:14 -05:00
|
|
|
|
2008-02-03 07:07:59 -05:00
|
|
|
TESTS = net_test dht_test 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-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-02-03 01:17:33 -05:00
|
|
|
###############################################################
|
|
|
|
include $(RS_TOP_DIR)/scripts/rules.mk
|
|
|
|
###############################################################
|
2007-11-14 22:18:48 -05:00
|
|
|
|