2014-04-09 13:35:06 +00:00
|
|
|
|
# $Id: Makefile.linux,v 1.86 2014/04/09 07:22:28 nanard Exp $
|
2011-09-28 19:13:20 +00:00
|
|
|
|
# MiniUPnP project
|
2015-04-26 14:15:41 +00:00
|
|
|
|
# (c) 2006-2015 Thomas Bernard
|
2011-09-28 19:13:20 +00:00
|
|
|
|
# http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
|
|
|
|
# Author : Thomas Bernard
|
|
|
|
|
# for use with GNU Make
|
|
|
|
|
#
|
2012-04-14 22:35:31 +00:00
|
|
|
|
# options can be passed to genconfig.sh through CONFIG_OPTIONS :
|
|
|
|
|
# $ CONFIG_OPTIONS="--ipv6 --igd2" make -f Makefile.linux
|
|
|
|
|
#
|
2011-09-28 19:13:20 +00:00
|
|
|
|
# To install use :
|
2013-02-09 15:17:23 +00:00
|
|
|
|
# $ DESTDIR=/dummyinstalldir make -f Makefile.linux install
|
2011-09-28 19:13:20 +00:00
|
|
|
|
# or :
|
|
|
|
|
# $ INSTALLPREFIX=/usr/local make -f Makefile.linux install
|
|
|
|
|
# or :
|
|
|
|
|
# $ make -f Makefile.linux install
|
2013-02-09 15:17:23 +00:00
|
|
|
|
# (default INSTALLPREFIX is /usr)
|
2011-09-28 19:13:20 +00:00
|
|
|
|
#
|
|
|
|
|
# if your system hasn't iptables libiptc headers and binary correctly
|
|
|
|
|
# installed, you need to get iptables sources from http://netfilter.org/
|
|
|
|
|
# ./configure them and build them then miniupnpd will build using :
|
|
|
|
|
# $ IPTABLESPATH=/path/to/iptables-1.4.1 make -f Makefile.linux
|
|
|
|
|
#
|
2012-05-01 09:34:41 +00:00
|
|
|
|
#CFLAGS = -O -g -DDEBUG
|
|
|
|
|
CFLAGS ?= -Os
|
|
|
|
|
CFLAGS += -fno-strict-aliasing
|
|
|
|
|
CFLAGS += -fno-common
|
2014-04-29 20:56:24 +00:00
|
|
|
|
CPPFLAGS += -D_GNU_SOURCE
|
2012-05-01 09:34:41 +00:00
|
|
|
|
CFLAGS += -Wall
|
|
|
|
|
CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-after-statement
|
2012-05-24 16:24:55 +00:00
|
|
|
|
#CFLAGS += -Wno-missing-field-initializers
|
2012-06-08 18:17:35 +00:00
|
|
|
|
#CFLAGS += -ansi # iptables headers does use typeof which is a gcc extension
|
2011-09-28 19:13:20 +00:00
|
|
|
|
CC ?= gcc
|
|
|
|
|
RM = rm -f
|
|
|
|
|
INSTALL = install
|
|
|
|
|
STRIP ?= strip
|
2014-04-29 20:47:01 +00:00
|
|
|
|
PKG_CONFIG ?= pkg-config
|
2011-09-28 19:13:20 +00:00
|
|
|
|
CP = cp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INSTALLPREFIX ?= $(PREFIX)/usr
|
|
|
|
|
SBININSTALLDIR = $(INSTALLPREFIX)/sbin
|
|
|
|
|
ETCINSTALLDIR = $(PREFIX)/etc/miniupnpd
|
2012-08-24 18:13:15 +00:00
|
|
|
|
MANINSTALLDIR = $(INSTALLPREFIX)/share/man/man8
|
2011-09-28 19:13:20 +00:00
|
|
|
|
|
|
|
|
|
BASEOBJS = miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o \
|
2012-07-10 21:25:29 +00:00
|
|
|
|
upnpreplyparse.o minixml.o portinuse.o \
|
2012-05-01 20:25:30 +00:00
|
|
|
|
upnpredirect.o getifaddr.o daemonize.o upnpglobalvars.o \
|
2013-12-13 13:41:21 +00:00
|
|
|
|
options.o upnppermissions.o minissdp.o natpmp.o pcpserver.o \
|
2012-05-01 20:25:30 +00:00
|
|
|
|
upnpevents.o upnputils.o getconnstatus.o \
|
2014-02-25 10:10:05 +00:00
|
|
|
|
upnppinhole.o pcplearndscp.o asyncsendto.o
|
2011-09-28 19:13:20 +00:00
|
|
|
|
|
2012-06-23 23:41:47 +00:00
|
|
|
|
LNXOBJS = linux/getifstats.o linux/ifacewatcher.o linux/getroute.o
|
2013-07-09 13:36:53 +00:00
|
|
|
|
NETFILTEROBJS = netfilter/iptcrdr.o netfilter/iptpinhole.o netfilter/nfct_get.o
|
2011-09-28 19:13:20 +00:00
|
|
|
|
|
|
|
|
|
ALLOBJS = $(BASEOBJS) $(LNXOBJS) $(NETFILTEROBJS)
|
|
|
|
|
|
2014-04-29 20:47:01 +00:00
|
|
|
|
PCFILE_FOUND := $(shell $(PKG_CONFIG) --exists libiptc; echo $$?)
|
2013-05-03 09:33:36 +00:00
|
|
|
|
|
|
|
|
|
ifeq (${PCFILE_FOUND},0)
|
|
|
|
|
|
2014-04-29 20:47:01 +00:00
|
|
|
|
IPTABLESVERSION := $(shell $(PKG_CONFIG) --modversion libiptc)
|
2013-05-03 09:33:36 +00:00
|
|
|
|
IPTABLESVERSION1 := $(shell echo $(IPTABLESVERSION) | cut -d. -f1 )
|
|
|
|
|
IPTABLESVERSION2 := $(shell echo $(IPTABLESVERSION) | cut -d. -f2 )
|
|
|
|
|
IPTABLESVERSION3 := $(shell echo $(IPTABLESVERSION) | cut -d. -f3 )
|
|
|
|
|
# test if iptables version >= 1.4.3
|
|
|
|
|
TEST := $(shell [ \( \( $(IPTABLESVERSION1) -ge 1 \) -a \( $(IPTABLESVERSION2) -ge 4 \) \) -a \( $(IPTABLESVERSION3) -ge 3 \) ] && echo 1 )
|
|
|
|
|
ifeq ($(TEST), 1)
|
2014-04-29 20:56:24 +00:00
|
|
|
|
CPPFLAGS += -DIPTABLES_143
|
2013-05-03 09:33:36 +00:00
|
|
|
|
endif
|
|
|
|
|
|
2014-04-29 20:47:01 +00:00
|
|
|
|
CFLAGS += $(shell $(PKG_CONFIG) --cflags libiptc)
|
2014-04-29 20:53:29 +00:00
|
|
|
|
LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libiptc)
|
2014-04-29 20:47:01 +00:00
|
|
|
|
LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-L libiptc)
|
|
|
|
|
LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-other libiptc)
|
2013-05-03 09:33:36 +00:00
|
|
|
|
else
|
|
|
|
|
|
2011-09-28 19:13:20 +00:00
|
|
|
|
ifeq "$(wildcard /etc/gentoo-release )" ""
|
2014-04-29 20:53:29 +00:00
|
|
|
|
LDLIBS ?= -liptc
|
2011-09-28 19:13:20 +00:00
|
|
|
|
else # gentoo
|
|
|
|
|
# the following is better, at least on gentoo with iptables 1.4.6
|
|
|
|
|
# see http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=1618
|
|
|
|
|
# and http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=2183
|
2014-04-29 20:53:29 +00:00
|
|
|
|
LDLIBS ?= -lip4tc
|
2014-04-29 20:56:24 +00:00
|
|
|
|
CPPFLAGS := -DIPTABLES_143 $(CPPFLAGS)
|
2011-09-28 19:13:20 +00:00
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
ARCH ?= $(shell uname -m | grep -q "x86_64" && echo 64)
|
|
|
|
|
ifdef IPTABLESPATH
|
2014-04-29 20:56:24 +00:00
|
|
|
|
CPPFLAGS := $(CPPFLAGS) -I$(IPTABLESPATH)/include/
|
2011-09-28 19:13:20 +00:00
|
|
|
|
LDFLAGS := $(LDFLAFGS) -L$(IPTABLESPATH)/libiptc/
|
|
|
|
|
# get iptables version and set IPTABLES_143 macro if needed
|
|
|
|
|
ifeq ($(TARGET_OPENWRT),)
|
|
|
|
|
IPTABLESVERSION := $(shell grep "\#define VERSION" $(IPTABLESPATH)/config.h | tr -d \" |cut -d" " -f3 )
|
|
|
|
|
IPTABLESVERSION1 := $(shell echo $(IPTABLESVERSION) | cut -d. -f1 )
|
|
|
|
|
IPTABLESVERSION2 := $(shell echo $(IPTABLESVERSION) | cut -d. -f2 )
|
|
|
|
|
IPTABLESVERSION3 := $(shell echo $(IPTABLESVERSION) | cut -d. -f3 )
|
|
|
|
|
# test if iptables version >= 1.4.3
|
|
|
|
|
TEST := $(shell [ \( \( $(IPTABLESVERSION1) -ge 1 \) -a \( $(IPTABLESVERSION2) -ge 4 \) \) -a \( $(IPTABLESVERSION3) -ge 3 \) ] && echo 1 )
|
|
|
|
|
ifeq ($(TEST), 1)
|
2014-04-29 20:56:24 +00:00
|
|
|
|
CPPFLAGS := $(CPPFLAGS) -DIPTABLES_143
|
2011-09-28 19:13:20 +00:00
|
|
|
|
# the following sucks, but works
|
2014-04-29 20:53:29 +00:00
|
|
|
|
LDLIBS = $(IPTABLESPATH)/libiptc/.libs/libip4tc.o
|
|
|
|
|
#LDLIBS = $(IPTABLESPATH)/libiptc/.libs/libiptc.a
|
2011-09-28 19:13:20 +00:00
|
|
|
|
else # ifeq ($(TEST), 1)
|
2014-04-29 20:53:29 +00:00
|
|
|
|
LDLIBS = $(IPTABLESPATH)/libiptc/libiptc.a
|
2011-09-28 19:13:20 +00:00
|
|
|
|
endif # ifeq ($(TEST), 1)
|
|
|
|
|
else # ($(TARGET_OPENWRT),)
|
|
|
|
|
# openWRT :
|
|
|
|
|
# check for system-wide iptables files. Test if iptables version >= 1.4.3
|
|
|
|
|
# the following test has to be verified :
|
|
|
|
|
TEST := $(shell test -f /usr/include/iptables/internal.h && grep -q "\#define IPTABLES_VERSION" /usr/include/iptables/internal.h && echo 1)
|
|
|
|
|
ifeq ($(TEST), 1)
|
2014-04-29 20:56:24 +00:00
|
|
|
|
CPPFLAGS := $(CPPFLAGS) -DIPTABLES_143
|
2014-04-29 20:53:29 +00:00
|
|
|
|
LDLIBS = -liptc
|
2011-09-28 19:13:20 +00:00
|
|
|
|
endif # ($(TEST), 1)
|
|
|
|
|
TEST_LIB := $(shell test -f /usr/lib$(ARCH)/libiptc.a && echo 1)
|
|
|
|
|
ifeq ($(TEST_LIB), 1)
|
2014-04-29 20:53:29 +00:00
|
|
|
|
LDLIBS = -liptc /usr/lib$(ARCH)/libiptc.a
|
2011-09-28 19:13:20 +00:00
|
|
|
|
endif # ($(TEST_LIB), 1)
|
|
|
|
|
endif # ($(TARGET_OPENWRT),)
|
|
|
|
|
else # ifdef IPTABLESPATH
|
|
|
|
|
# IPTABLESPATH not defined
|
|
|
|
|
# the following test has to be verified :
|
|
|
|
|
TEST := $(shell test -f /usr/include/xtables.h && grep -q "XTABLES_VERSION_CODE" /usr/include/xtables.h && echo 1)
|
|
|
|
|
ifeq ($(TEST), 1)
|
2014-04-29 20:56:24 +00:00
|
|
|
|
CPPFLAGS := $(CPPFLAGS) -DIPTABLES_143
|
2014-04-29 20:53:29 +00:00
|
|
|
|
LDLIBS = -liptc
|
2012-02-03 15:12:22 +00:00
|
|
|
|
TESTIP4TC := $(shell test -f /lib/libip4tc.so && echo 1)
|
|
|
|
|
ifeq ($(TESTIP4TC), 1)
|
2014-04-29 20:53:29 +00:00
|
|
|
|
LDLIBS := $(LDLIBS) -lip4tc
|
2012-02-03 15:12:22 +00:00
|
|
|
|
endif # ($(TESTIP4TC), 1)
|
|
|
|
|
TESTIP6TC := $(shell test -f /lib/libip6tc.so && echo 1)
|
|
|
|
|
ifeq ($(TESTIP6TC), 1)
|
2014-04-29 20:53:29 +00:00
|
|
|
|
LDLIBS := $(LDLIBS) -lip6tc
|
2012-02-03 15:12:22 +00:00
|
|
|
|
endif # ($(TESTIP6TC), 1)
|
2011-09-28 19:13:20 +00:00
|
|
|
|
endif # ($(TEST), 1)
|
|
|
|
|
endif # ifdef IPTABLESPATH
|
2013-05-03 09:33:36 +00:00
|
|
|
|
endif # ifdef PCFILE_FOUND
|
2011-09-28 19:13:20 +00:00
|
|
|
|
|
2015-04-26 14:15:41 +00:00
|
|
|
|
#LDLIBS += -lnfnetlink
|
2012-06-23 23:41:47 +00:00
|
|
|
|
|
2014-04-29 20:47:01 +00:00
|
|
|
|
TEST := $(shell $(PKG_CONFIG) --atleast-version=1.0.2 libnetfilter_conntrack && $(PKG_CONFIG) --atleast-version=1.0.3 libmnl && echo 1)
|
2013-07-09 13:36:53 +00:00
|
|
|
|
ifeq ($(TEST),1)
|
2014-04-29 20:56:24 +00:00
|
|
|
|
CPPFLAGS += -DUSE_NFCT
|
2014-04-29 20:53:29 +00:00
|
|
|
|
LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libmnl)
|
|
|
|
|
LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libnetfilter_conntrack)
|
2013-07-09 13:36:53 +00:00
|
|
|
|
endif # ($(TEST),1)
|
|
|
|
|
|
2014-04-29 20:53:29 +00:00
|
|
|
|
LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libssl)
|
2014-04-09 13:35:06 +00:00
|
|
|
|
|
2011-09-28 19:13:20 +00:00
|
|
|
|
TESTUPNPDESCGENOBJS = testupnpdescgen.o upnpdescgen.o
|
|
|
|
|
|
|
|
|
|
EXECUTABLES = miniupnpd testupnpdescgen testgetifstats \
|
2012-06-23 23:41:47 +00:00
|
|
|
|
testupnppermissions miniupnpdctl testgetifaddr \
|
2014-03-14 11:07:03 +00:00
|
|
|
|
testgetroute testasyncsendto testportinuse
|
2011-09-28 19:13:20 +00:00
|
|
|
|
|
|
|
|
|
.PHONY: all clean install depend genuuid
|
|
|
|
|
|
|
|
|
|
all: $(EXECUTABLES)
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
$(RM) $(ALLOBJS)
|
|
|
|
|
$(RM) $(EXECUTABLES)
|
|
|
|
|
$(RM) testupnpdescgen.o testgetifstats.o
|
|
|
|
|
$(RM) testupnppermissions.o testgetifaddr.o
|
2014-02-18 08:34:42 +00:00
|
|
|
|
$(RM) testgetroute.o testasyncsendto.o
|
2014-12-15 10:59:17 +00:00
|
|
|
|
$(RM) testportinuse.o
|
2011-09-28 19:13:20 +00:00
|
|
|
|
$(RM) miniupnpdctl.o
|
2015-09-22 14:51:56 +00:00
|
|
|
|
$(RM) validateupnppermissions validategetifaddr
|
2011-09-28 19:13:20 +00:00
|
|
|
|
|
2012-08-24 18:13:15 +00:00
|
|
|
|
install: miniupnpd miniupnpd.8 miniupnpd.conf genuuid \
|
|
|
|
|
netfilter/iptables_init.sh netfilter/iptables_removeall.sh \
|
|
|
|
|
netfilter/ip6tables_init.sh netfilter/ip6tables_removeall.sh \
|
|
|
|
|
linux/miniupnpd.init.d.script
|
2011-09-28 19:13:20 +00:00
|
|
|
|
$(STRIP) miniupnpd
|
2013-02-09 15:17:23 +00:00
|
|
|
|
$(INSTALL) -d $(DESTDIR)$(SBININSTALLDIR)
|
|
|
|
|
$(INSTALL) miniupnpd $(DESTDIR)$(SBININSTALLDIR)
|
|
|
|
|
$(INSTALL) -d $(DESTDIR)$(ETCINSTALLDIR)
|
|
|
|
|
$(INSTALL) netfilter/iptables_init.sh $(DESTDIR)$(ETCINSTALLDIR)
|
|
|
|
|
$(INSTALL) netfilter/iptables_removeall.sh $(DESTDIR)$(ETCINSTALLDIR)
|
|
|
|
|
$(INSTALL) netfilter/ip6tables_init.sh $(DESTDIR)$(ETCINSTALLDIR)
|
|
|
|
|
$(INSTALL) netfilter/ip6tables_removeall.sh $(DESTDIR)$(ETCINSTALLDIR)
|
|
|
|
|
$(INSTALL) --mode=0644 -b miniupnpd.conf $(DESTDIR)$(ETCINSTALLDIR)
|
|
|
|
|
$(INSTALL) -d $(DESTDIR)$(PREFIX)/etc/init.d
|
|
|
|
|
$(INSTALL) linux/miniupnpd.init.d.script $(DESTDIR)$(PREFIX)/etc/init.d/miniupnpd
|
|
|
|
|
$(INSTALL) -d $(DESTDIR)$(MANINSTALLDIR)
|
|
|
|
|
$(INSTALL) --mode=0644 miniupnpd.8 $(DESTDIR)$(MANINSTALLDIR)
|
2014-10-08 11:24:01 +00:00
|
|
|
|
gzip -f $(DESTDIR)$(MANINSTALLDIR)/miniupnpd.8
|
2011-09-28 19:13:20 +00:00
|
|
|
|
|
|
|
|
|
# genuuid is using the uuidgen CLI tool which is part of libuuid
|
|
|
|
|
# from the e2fsprogs
|
2013-05-03 09:34:39 +00:00
|
|
|
|
# 'cat /proc/sys/kernel/random/uuid' could be also used
|
2011-09-28 19:13:20 +00:00
|
|
|
|
genuuid:
|
|
|
|
|
ifeq ($(TARGET_OPENWRT),)
|
|
|
|
|
sed -i -e "s/^uuid=[-0-9a-f]*/uuid=`(genuuid||uuidgen||uuid) 2>/dev/null`/" miniupnpd.conf
|
|
|
|
|
else
|
|
|
|
|
sed -i -e "s/^uuid=[-0-9a-f]*/uuid=`($(STAGING_DIR_HOST)/bin/genuuid||$(STAGING_DIR_HOST)/bin/uuidgen||$(STAGING_DIR_HOST)/bin/uuid) 2>/dev/null`/" miniupnpd.conf
|
|
|
|
|
endif
|
|
|
|
|
|
2015-09-22 14:51:56 +00:00
|
|
|
|
check: validateupnppermissions validategetifaddr
|
2015-09-22 14:02:19 +00:00
|
|
|
|
|
|
|
|
|
validateupnppermissions: testupnppermissions testupnppermissions.sh
|
|
|
|
|
./testupnppermissions.sh
|
|
|
|
|
touch $@
|
|
|
|
|
|
2015-09-22 14:51:56 +00:00
|
|
|
|
validategetifaddr: testgetifaddr testgetifaddr.sh
|
|
|
|
|
./testgetifaddr.sh
|
|
|
|
|
touch $@
|
|
|
|
|
|
2014-04-29 20:53:29 +00:00
|
|
|
|
miniupnpd: $(BASEOBJS) $(LNXOBJS) $(NETFILTEROBJS)
|
2011-09-28 19:13:20 +00:00
|
|
|
|
|
|
|
|
|
testupnpdescgen: $(TESTUPNPDESCGENOBJS)
|
|
|
|
|
|
|
|
|
|
testgetifstats: testgetifstats.o linux/getifstats.o
|
|
|
|
|
|
|
|
|
|
testupnppermissions: testupnppermissions.o upnppermissions.o
|
|
|
|
|
|
|
|
|
|
testgetifaddr: testgetifaddr.o getifaddr.o
|
|
|
|
|
|
2014-04-29 20:53:29 +00:00
|
|
|
|
testgetroute: testgetroute.o linux/getroute.o upnputils.o
|
2012-06-23 23:41:47 +00:00
|
|
|
|
|
2014-03-03 11:35:12 +00:00
|
|
|
|
testasyncsendto: testasyncsendto.o asyncsendto.o upnputils.o \
|
2014-04-29 20:53:29 +00:00
|
|
|
|
linux/getroute.o
|
2014-02-18 08:34:42 +00:00
|
|
|
|
|
2014-03-14 11:07:03 +00:00
|
|
|
|
testportinuse: testportinuse.o portinuse.o getifaddr.o \
|
2014-04-29 20:53:29 +00:00
|
|
|
|
netfilter/iptcrdr.o
|
2014-03-14 11:07:03 +00:00
|
|
|
|
|
2011-09-28 19:13:20 +00:00
|
|
|
|
miniupnpdctl: miniupnpdctl.o
|
|
|
|
|
|
2012-05-24 16:25:42 +00:00
|
|
|
|
config.h: genconfig.sh VERSION
|
2012-04-14 22:35:31 +00:00
|
|
|
|
./genconfig.sh $(CONFIG_OPTIONS)
|
2011-09-28 19:13:20 +00:00
|
|
|
|
|
|
|
|
|
depend: config.h
|
|
|
|
|
makedepend -f$(MAKEFILE_LIST) -Y \
|
|
|
|
|
$(ALLOBJS:.o=.c) $(TESTUPNPDESCGENOBJS:.o=.c) \
|
2013-02-07 15:56:51 +00:00
|
|
|
|
testgetifstats.c testupnppermissions.c testgetifaddr.c \
|
2014-03-14 11:07:03 +00:00
|
|
|
|
testgetroute.c testasyncsendto.c testportinuse.c \
|
|
|
|
|
miniupnpdctl.c 2>/dev/null
|
2011-09-28 19:13:20 +00:00
|
|
|
|
|
|
|
|
|
# DO NOT DELETE
|
|
|
|
|
|
2012-06-23 23:41:47 +00:00
|
|
|
|
miniupnpd.o: config.h macros.h upnpglobalvars.h upnppermissions.h
|
|
|
|
|
miniupnpd.o: miniupnpdtypes.h upnphttp.h upnpdescgen.h miniupnpdpath.h
|
|
|
|
|
miniupnpd.o: getifaddr.h upnpsoap.h options.h minissdp.h upnpredirect.h
|
2014-03-03 11:35:12 +00:00
|
|
|
|
miniupnpd.o: upnppinhole.h daemonize.h upnpevents.h asyncsendto.h natpmp.h
|
|
|
|
|
miniupnpd.o: pcpserver.h commonrdr.h upnputils.h ifacewatcher.h
|
2011-09-28 19:13:20 +00:00
|
|
|
|
upnphttp.o: config.h upnphttp.h upnpdescgen.h miniupnpdpath.h upnpsoap.h
|
2012-04-14 22:35:31 +00:00
|
|
|
|
upnphttp.o: upnpevents.h upnputils.h
|
2011-09-28 19:13:20 +00:00
|
|
|
|
upnpdescgen.o: config.h getifaddr.h upnpredirect.h upnpdescgen.h
|
|
|
|
|
upnpdescgen.o: miniupnpdpath.h upnpglobalvars.h upnppermissions.h
|
|
|
|
|
upnpdescgen.o: miniupnpdtypes.h upnpdescstrings.h upnpurns.h getconnstatus.h
|
2012-05-01 20:25:30 +00:00
|
|
|
|
upnpsoap.o: macros.h config.h upnpglobalvars.h upnppermissions.h
|
|
|
|
|
upnpsoap.o: miniupnpdtypes.h upnphttp.h upnpsoap.h upnpreplyparse.h
|
|
|
|
|
upnpsoap.o: upnpredirect.h upnppinhole.h getifaddr.h getifstats.h
|
|
|
|
|
upnpsoap.o: getconnstatus.h upnpurns.h
|
2011-09-28 19:13:20 +00:00
|
|
|
|
upnpreplyparse.o: upnpreplyparse.h minixml.h
|
|
|
|
|
minixml.o: minixml.h
|
2012-07-10 21:25:29 +00:00
|
|
|
|
portinuse.o: macros.h config.h upnpglobalvars.h upnppermissions.h
|
2013-12-13 11:29:01 +00:00
|
|
|
|
portinuse.o: miniupnpdtypes.h getifaddr.h portinuse.h netfilter/iptcrdr.h
|
|
|
|
|
portinuse.o: commonrdr.h
|
2012-05-01 20:25:30 +00:00
|
|
|
|
upnpredirect.o: macros.h config.h upnpredirect.h upnpglobalvars.h
|
2012-07-10 21:25:29 +00:00
|
|
|
|
upnpredirect.o: upnppermissions.h miniupnpdtypes.h upnpevents.h portinuse.h
|
2012-05-01 20:25:30 +00:00
|
|
|
|
upnpredirect.o: netfilter/iptcrdr.h commonrdr.h
|
2011-09-28 19:13:20 +00:00
|
|
|
|
getifaddr.o: config.h getifaddr.h
|
|
|
|
|
daemonize.o: daemonize.h config.h
|
|
|
|
|
upnpglobalvars.o: config.h upnpglobalvars.h upnppermissions.h
|
2013-12-13 11:35:36 +00:00
|
|
|
|
upnpglobalvars.o: miniupnpdtypes.h upnpdescstrings.h
|
2013-02-07 15:56:51 +00:00
|
|
|
|
options.o: config.h options.h upnppermissions.h upnpglobalvars.h
|
2013-12-13 11:35:36 +00:00
|
|
|
|
options.o: miniupnpdtypes.h
|
2011-09-28 19:13:20 +00:00
|
|
|
|
upnppermissions.o: config.h upnppermissions.h
|
|
|
|
|
minissdp.o: config.h upnpdescstrings.h miniupnpdpath.h upnphttp.h
|
|
|
|
|
minissdp.o: upnpglobalvars.h upnppermissions.h miniupnpdtypes.h minissdp.h
|
2014-03-03 11:35:12 +00:00
|
|
|
|
minissdp.o: upnputils.h getroute.h asyncsendto.h codelength.h
|
2012-05-01 20:25:30 +00:00
|
|
|
|
natpmp.o: macros.h config.h natpmp.h upnpglobalvars.h upnppermissions.h
|
2012-06-23 23:41:47 +00:00
|
|
|
|
natpmp.o: miniupnpdtypes.h getifaddr.h upnpredirect.h commonrdr.h upnputils.h
|
2014-03-13 13:19:44 +00:00
|
|
|
|
natpmp.o: portinuse.h asyncsendto.h
|
2014-01-27 10:09:30 +00:00
|
|
|
|
pcpserver.o: config.h pcpserver.h macros.h upnpglobalvars.h upnppermissions.h
|
|
|
|
|
pcpserver.o: miniupnpdtypes.h pcplearndscp.h upnpredirect.h commonrdr.h
|
2014-03-13 13:19:44 +00:00
|
|
|
|
pcpserver.o: getifaddr.h asyncsendto.h pcp_msg_struct.h netfilter/iptcrdr.h
|
|
|
|
|
pcpserver.o: commonrdr.h
|
2011-09-28 19:13:20 +00:00
|
|
|
|
upnpevents.o: config.h upnpevents.h miniupnpdpath.h upnpglobalvars.h
|
2012-04-14 22:35:31 +00:00
|
|
|
|
upnpevents.o: upnppermissions.h miniupnpdtypes.h upnpdescgen.h upnputils.h
|
2013-02-07 15:56:51 +00:00
|
|
|
|
upnputils.o: config.h upnputils.h upnpglobalvars.h upnppermissions.h
|
2014-01-27 10:09:30 +00:00
|
|
|
|
upnputils.o: miniupnpdtypes.h getroute.h
|
2011-09-28 19:13:20 +00:00
|
|
|
|
getconnstatus.o: getconnstatus.h getifaddr.h
|
2012-05-01 20:25:30 +00:00
|
|
|
|
upnppinhole.o: macros.h config.h upnpredirect.h upnpglobalvars.h
|
|
|
|
|
upnppinhole.o: upnppermissions.h miniupnpdtypes.h upnpevents.h
|
|
|
|
|
upnppinhole.o: netfilter/iptpinhole.h
|
2013-12-13 11:35:36 +00:00
|
|
|
|
pcplearndscp.o: config.h upnpglobalvars.h upnppermissions.h miniupnpdtypes.h
|
|
|
|
|
pcplearndscp.o: pcplearndscp.h
|
2014-03-03 11:35:12 +00:00
|
|
|
|
asyncsendto.o: asyncsendto.h
|
2011-09-28 19:13:20 +00:00
|
|
|
|
linux/getifstats.o: config.h getifstats.h
|
|
|
|
|
linux/ifacewatcher.o: config.h ifacewatcher.h config.h minissdp.h
|
|
|
|
|
linux/ifacewatcher.o: miniupnpdtypes.h getifaddr.h upnpglobalvars.h
|
|
|
|
|
linux/ifacewatcher.o: upnppermissions.h natpmp.h
|
2012-06-23 23:41:47 +00:00
|
|
|
|
linux/getroute.o: getroute.h upnputils.h
|
2012-05-01 20:25:30 +00:00
|
|
|
|
netfilter/iptcrdr.o: macros.h config.h netfilter/iptcrdr.h commonrdr.h
|
|
|
|
|
netfilter/iptcrdr.o: config.h upnpglobalvars.h upnppermissions.h
|
|
|
|
|
netfilter/iptcrdr.o: miniupnpdtypes.h
|
|
|
|
|
netfilter/iptpinhole.o: config.h netfilter/iptpinhole.h upnpglobalvars.h
|
|
|
|
|
netfilter/iptpinhole.o: upnppermissions.h config.h miniupnpdtypes.h
|
2013-12-13 11:35:36 +00:00
|
|
|
|
testupnpdescgen.o: macros.h config.h upnpdescgen.h upnpdescstrings.h
|
|
|
|
|
testupnpdescgen.o: getifaddr.h
|
2011-09-28 19:13:20 +00:00
|
|
|
|
upnpdescgen.o: config.h getifaddr.h upnpredirect.h upnpdescgen.h
|
|
|
|
|
upnpdescgen.o: miniupnpdpath.h upnpglobalvars.h upnppermissions.h
|
|
|
|
|
upnpdescgen.o: miniupnpdtypes.h upnpdescstrings.h upnpurns.h getconnstatus.h
|
|
|
|
|
testgetifstats.o: getifstats.h
|
2013-02-07 15:56:51 +00:00
|
|
|
|
testupnppermissions.o: upnppermissions.h config.h
|
2014-03-03 11:37:01 +00:00
|
|
|
|
testgetifaddr.o: config.h getifaddr.h
|
2013-02-07 15:56:51 +00:00
|
|
|
|
testgetroute.o: getroute.h upnputils.h upnpglobalvars.h upnppermissions.h
|
|
|
|
|
testgetroute.o: config.h miniupnpdtypes.h
|
2014-03-03 11:35:12 +00:00
|
|
|
|
testasyncsendto.o: miniupnpdtypes.h config.h upnputils.h asyncsendto.h
|
2014-03-14 11:07:03 +00:00
|
|
|
|
testportinuse.o: macros.h config.h portinuse.h
|
2013-02-07 15:56:51 +00:00
|
|
|
|
miniupnpdctl.o: macros.h
|