From 49e6746b543be131f7bfd8d42b35c79ca4612c1c Mon Sep 17 00:00:00 2001 From: Ivan Shapovalov Date: Tue, 3 Sep 2024 16:23:21 +0200 Subject: [PATCH] miniupnpd: Makefile: build ssdp tests in both iptables and nft Makefiles I don't see a reason why they should not be built here; there is nothing iptables-specific in them. --- miniupnpd/Makefile.linux | 1 - miniupnpd/Makefile.linux_nft | 10 +++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/miniupnpd/Makefile.linux b/miniupnpd/Makefile.linux index 4f47849..3db8d38 100644 --- a/miniupnpd/Makefile.linux +++ b/miniupnpd/Makefile.linux @@ -144,7 +144,6 @@ testportinuse: testportinuse.o portinuse.o getifaddr.o \ testminissdp: testminissdp.o minissdp.o upnputils.o upnpglobalvars.o \ asyncsendto.o getroute.o - miniupnpdctl: miniupnpdctl.o config.mk config.h: $(SRCDIR)/configure $(SRCDIR)/VERSION diff --git a/miniupnpd/Makefile.linux_nft b/miniupnpd/Makefile.linux_nft index 333506f..321e42a 100644 --- a/miniupnpd/Makefile.linux_nft +++ b/miniupnpd/Makefile.linux_nft @@ -71,7 +71,8 @@ NFT_SCRIPTS = $(addprefix $(SRCDIR)/netfilter_nft/scripts/, \ EXECUTABLES = miniupnpd miniupnpdctl \ testupnpdescgen testgetifstats \ testupnppermissions testgetifaddr \ - testgetroute testasyncsendto testportinuse + testgetroute testasyncsendto testportinuse \ + testssdppktgen testminissdp .PHONY: all clean install dox @@ -86,6 +87,8 @@ clean: $(RM) testupnppermissions.o testgetifaddr.o $(RM) testgetroute.o testasyncsendto.o $(RM) testportinuse.o + $(RM) testminissdp.o + $(RM) testssdppktgen.o $(RM) miniupnpdctl.o $(RM) -r dox/ @@ -123,12 +126,17 @@ testgetifaddr: testgetifaddr.o getifaddr.o testgetroute: testgetroute.o getroute.o upnputils.o +testssdppktgen: testssdppktgen.o + testasyncsendto: testasyncsendto.o asyncsendto.o upnputils.o \ getroute.o testportinuse: testportinuse.o portinuse.o getifaddr.o \ nftnlrdr.o nftnlrdr_misc.o +testminissdp: testminissdp.o minissdp.o upnputils.o upnpglobalvars.o \ + asyncsendto.o getroute.o + miniupnpdctl: miniupnpdctl.o config.mk config.h: $(SRCDIR)/configure $(SRCDIR)/VERSION