summaryrefslogtreecommitdiff
path: root/src/libfirewall
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-27 15:32:35 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-27 15:32:35 -0400
commit658d4fefc78a50ad825f95f55f640a2a97134f80 (patch)
treea46e63faa481178532d2ebecb53d31b00e3654ca /src/libfirewall
parent3f88c40b91e52978fdb9efcf684a6a2b62afb509 (diff)
stuff
Diffstat (limited to 'src/libfirewall')
-rw-r--r--src/libfirewall/Makefile19
1 files changed, 5 insertions, 14 deletions
diff --git a/src/libfirewall/Makefile b/src/libfirewall/Makefile
index f0697f1513..c6519157c6 100644
--- a/src/libfirewall/Makefile
+++ b/src/libfirewall/Makefile
@@ -20,20 +20,11 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-ifneq ($(HAVE_LIBIPTC),)
-noinst_LTLIBRARIES += \
- libfirewall.la
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
+include $(topsrcdir)/automake.head.mk
-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
+am_out_files = libfirewall.la
+CPPFLAGS += $(libbasic.CPPFLAGS) $(libiptc.CPPFLAGS)
+$(outdir)/libfirewall.la: $(outdir)/firewall-util.lo $(libiptc.DEPENDS)
include $(topsrcdir)/automake.tail.mk