source: packages/net/miniupnpd/patches/001-makefile-tweaks.patch @ 8829

Last change on this file since 8829 was 8829, checked in by pavlov, 9 years ago

miniupnpd updated to RC8

  • Property svn:eol-style set to native
File size: 1.1 KB
  • Makefile.openwrt

    old new  
    22# http://miniupnp.free.fr/ 
    33# Author : Thomas Bernard 
    44# for use with GNU Make 
    5 include $(TOPDIR)/rules.mk 
     5 
    66#CFLAGS = -Wall -O -D_GNU_SOURCE -g 
    77#CFLAGS = -Wall -Os -D_GNU_SOURCE 
    88#CC = mipsel-linux-gcc 
     
    1111CFLAGS += -D_GNU_SOURCE 
    1212RM = rm -f 
    1313INSTALL = install 
    14 IPTABLESINC=$(BUILD_DIR)/iptables-1.3.3/include 
     14IPTABLESINC=$(STAGING_DIR)/usr/include 
    1515 
    1616BASEOBJS = miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o \ 
    1717           upnpreplyparse.o minixml.o \ 
     
    2020 
    2121LNXOBJS = linux/getifstats.o linux/iptcrdr.o 
    2222 
    23 LIBS = $(BUILD_DIR)/iptables-1.3.3/libiptc/libiptc.a 
    24  
    2523TESTUPNPDESCGENOBJS = testupnpdescgen.o upnpdescgen.o 
    2624 
    2725EXECUTABLES = miniupnpd testupnpdescgen 
     
    3836        @echo no install for now... 
    3937 
    4038miniupnpd:      $(BASEOBJS) $(LNXOBJS) $(LIBS) 
     39        $(CC) $(CFLAGS) -o $@ $(BASEOBJS) $(LNXOBJS) $(LIBS) 
    4140 
    4241testupnpdescgen:        $(TESTUPNPDESCGENOBJS) 
    4342 
Note: See TracBrowser for help on using the repository browser.