1af76c5f23bd308f75cf5d22b3590e86e6475e77
[openwrt/svn-archive/archive.git] / net / miniupnpd / patches / 001-makefile-tweaks.patch
1 Index: Makefile.openwrt
2 ===================================================================
3 RCS file: /usr/local/cvsroot/miniupnp/miniupnpd/Makefile.openwrt,v
4 retrieving revision 1.11
5 diff -u -r1.11 miniupnpd-1.1/Makefile.openwrt
6 --- miniupnpd-1.1.orig/Makefile.openwrt 29 Jan 2008 12:52:03 -0000 1.11
7 +++ miniupnpd-1.1/Makefile.openwrt 1 May 2008 22:34:28 -0000
8 @@ -6,7 +6,7 @@
9 # your openwrt SDK/etc...
10 # http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=713
11
12 -include $(TOPDIR)/rules.mk
13 +#include $(TOPDIR)/rules.mk
14 #CFLAGS = -Wall -O -D_GNU_SOURCE -g
15 #CFLAGS = -Wall -Os -D_GNU_SOURCE
16 #CC = mipsel-linux-gcc
17 @@ -16,7 +16,8 @@
18 CP = cp
19 RM = rm -f
20 INSTALL = install
21 -IPTABLESINC=$(BUILD_DIR)/iptables-1.3.3/include
22 +IPTABLESINC=$(STAGING_DIR)/usr/include
23 +#IPTABLESINC=$(BUILD_DIR)/iptables-1.3.3/include
24 #IPTABLESINC=$(TOPDIR)/../iptables-1.3.3/include
25
26 BASEOBJS = miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o \
27 @@ -28,7 +29,7 @@
28 NETFILTEROBJS = netfilter/iptcrdr.o
29 ALLOBJS = $(BASEOBJS) $(LNXOBJS) $(NETFILTEROBJS)
30
31 -LIBS = $(BUILD_DIR)/iptables-1.3.3/libiptc/libiptc.a
32 +#LIBS = $(BUILD_DIR)/iptables-1.3.3/libiptc/libiptc.a
33 #LIBS = $(TOPDIR)/../iptables-1.3.3/libiptc/libiptc.a
34
35 TESTUPNPDESCGENOBJS = testupnpdescgen.o upnpdescgen.o