summaryrefslogtreecommitdiff
path: root/src/libfirewall
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 19:09:23 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 19:09:23 -0400
commit801404b19096c117c69c633d46feae35d360d306 (patch)
tree10993d45fb6b436b6913a4ffc11d558c06b32d06 /src/libfirewall
parentcb813af7b000ef29338ec39bd2d1029d4d5e04d1 (diff)
tidy libfirewall
Diffstat (limited to 'src/libfirewall')
-rw-r--r--src/libfirewall/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/libfirewall/Makefile b/src/libfirewall/Makefile
index 56b91d8197..145041baee 100644
--- a/src/libfirewall/Makefile
+++ b/src/libfirewall/Makefile
@@ -27,11 +27,19 @@ ifneq ($(HAVE_LIBIPTC),)
noinst_LTLIBRARIES += \
libfirewall.la
-std.out_files = libfirewall.la
-CPPFLAGS += $(libbasic.CPPFLAGS) $(libiptc.CPPFLAGS)
-$(outdir)/libfirewall.la: $(outdir)/firewall-util.lo $(libiptc.DEPENDS)
+libfirewall_la_SOURCES = \
+ src/shared/firewall-util.h \
+ src/shared/firewall-util.c
+libfirewall_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(LIBIPTC_CFLAGS)
+
+libfirewall_la_LIBADD = \
+ $(LIBIPTC_LIBS)
endif
$(eval $(value automake2autothing))
+AM_CPPFLAGS += $(libbasic.CPPFLAGS)
+
include $(topsrcdir)/build-aux/Makefile.tail.mk