-#
-# Makefile for the Squid IP layer API
-#
+## Copyright (C) 1996-2018 The Squid Software Foundation and contributors
+##
+## Squid software is distributed under GPLv2+ license and includes
+## contributions from numerous individuals and organizations.
+## Please see the COPYING and CONTRIBUTORS files for details.
+##
-# Housekeeping, shared by all Squid Makefiles.
-# TODO: make this set by configure?
-AM_CFLAGS = @SQUID_CFLAGS@
-AM_CXXFLAGS = @SQUID_CXXFLAGS@
-DEFS = @DEFS@
-CLEANFILES =
-
-INCLUDES = -I$(top_srcdir)/src @SQUID_CPPUNIT_INC@ -I$(top_srcdir)/include -I$(top_builddir)/lib
-$(OBJS): $(top_srcdir)/include/version.h $(top_srcdir)/include/autoconf.h
-
-
-# IP Specific Configurations
-
-#EXTRA_PROGRAMS = \
-# testIcmp
+include $(top_srcdir)/src/Common.am
+include $(top_srcdir)/src/TestHeaders.am
noinst_LTLIBRARIES = libip.la
libip_la_SOURCES = \
+ forward.h \
+ Address.h \
+ Address.cc \
+ Intercept.h \
+ Intercept.cc \
+ NfMarkConfig.h \
+ NfMarkConfig.cc \
QosConfig.h \
- QosConfig.cc
-
-
-check_PROGRAMS= testHeaders
-TESTS= $(check_PROGRAMS)
-
-## Special Universal .h dependency test script
-## aborts if error encountered
-testHeaders: $(top_srcdir)/src/icmp/*.h
- $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(top_srcdir)/src/icmp/" || exit 1
-
-## No such file...
-testHeaders.c:
- touch testHeaders.c
-CLEANFILES += testHeaders.c
+ QosConfig.cc \
+ tools.cc \
+ tools.h