]> git.ipfire.org Git - thirdparty/squid.git/blob - src/ip/Makefile.am
Merge from trunk
[thirdparty/squid.git] / src / ip / Makefile.am
1 #
2 # Makefile for the Squid IP layer API
3 #
4
5 # Housekeeping, shared by all Squid Makefiles.
6 # TODO: make this set by configure?
7 AM_CFLAGS = @SQUID_CFLAGS@
8 AM_CXXFLAGS = @SQUID_CXXFLAGS@
9 DEFS = @DEFS@
10 CLEANFILES =
11
12 INCLUDES = -I$(top_srcdir)/src @SQUID_CPPUNIT_INC@ -I$(top_srcdir)/include -I$(top_builddir)/lib
13 $(OBJS): $(top_srcdir)/include/version.h $(top_srcdir)/include/autoconf.h
14
15
16 # IP Specific Configurations
17
18 #EXTRA_PROGRAMS = \
19 # testIcmp
20
21 noinst_LTLIBRARIES = libip.la
22
23 libip_la_SOURCES = \
24 IpIntercept.h \
25 IpIntercept.cc \
26 QosConfig.h \
27 QosConfig.cc
28
29
30 check_PROGRAMS= testHeaders
31 TESTS= $(check_PROGRAMS)
32
33 ## Special Universal .h dependency test script
34 ## aborts if error encountered
35 testHeaders: $(top_srcdir)/src/ip/*.h
36 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(top_srcdir)/src/ip/" || exit 1
37
38 ## No such file...
39 testHeaders.c:
40 touch testHeaders.c
41 CLEANFILES += testHeaders.c