2007-11-15 03:18:48 +00:00
|
|
|
|
|
|
|
RS_TOP_DIR = ..
|
2008-02-03 06:17:33 +00:00
|
|
|
##### Define any flags that are needed for this section #######
|
|
|
|
###############################################################
|
2007-11-15 03:18:48 +00:00
|
|
|
|
2008-02-03 06:17:33 +00:00
|
|
|
EXTRA_CFLAGS += -I$(UPNPC_DIR) -DMINIUPNP_EXPORTS
|
2007-11-15 03:18:48 +00:00
|
|
|
|
2008-02-03 06:17:33 +00:00
|
|
|
###############################################################
|
|
|
|
include $(RS_TOP_DIR)/scripts/config.mk
|
|
|
|
###############################################################
|
2007-11-15 03:18:48 +00:00
|
|
|
|
2008-02-03 06:17:33 +00:00
|
|
|
CFLAGS += $(EXTRA_CFLAGS)
|
2007-11-15 03:18:48 +00:00
|
|
|
|
2008-02-03 06:17:33 +00:00
|
|
|
RSOBJ = upnphandler.o upnputil.o
|
|
|
|
|
|
|
|
TESTOBJ = upnptest.o
|
2007-11-15 03:18:48 +00:00
|
|
|
|
2008-02-03 06:17:33 +00:00
|
|
|
TESTS = upnptest
|
2007-11-15 03:18:48 +00:00
|
|
|
|
2008-02-03 06:17:33 +00:00
|
|
|
all: librs tests
|
2007-11-15 03:18:48 +00:00
|
|
|
|
2008-02-03 06:17:33 +00:00
|
|
|
upnptest: $(OBJ) upnptest.o
|
2008-03-03 14:41:15 +00:00
|
|
|
$(CC) $(CFLAGS) -o upnptest $(OBJ) upnptest.o $(LIBS)
|
2007-11-15 03:18:48 +00:00
|
|
|
|
2008-02-03 06:17:33 +00:00
|
|
|
###############################################################
|
|
|
|
include $(RS_TOP_DIR)/scripts/rules.mk
|
|
|
|
###############################################################
|
2007-11-15 03:18:48 +00:00
|
|
|
|