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
|
|
|
EXTRA_CFLAGS += -I$(UPNPC_DIR) -DMINIUPNP_EXPORTS
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
###############################################################
|
|
|
|
include $(RS_TOP_DIR)/scripts/config.mk
|
|
|
|
###############################################################
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
CFLAGS += $(EXTRA_CFLAGS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
RSOBJ = upnphandler.o upnputil.o
|
|
|
|
|
|
|
|
TESTOBJ = upnptest.o
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
TESTS = upnptest
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
all: librs tests
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
upnptest: $(OBJ) upnptest.o
|
2008-03-03 09:41:15 -05:00
|
|
|
$(CC) $(CFLAGS) -o upnptest $(OBJ) upnptest.o $(LIBS)
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2008-02-03 01:17:33 -05:00
|
|
|
###############################################################
|
|
|
|
include $(RS_TOP_DIR)/scripts/rules.mk
|
|
|
|
###############################################################
|
2007-11-14 22:18:48 -05:00
|
|
|
|