1 ## Process this file with automake to produce Makefile.in
3 # $Id: Makefile.am,v 1.33 2007/12/14 23:11:44 amosjeffries Exp $
6 if USE_LOADABLE_MODULES
14 DIST_SUBDIRS += libTrie
20 AM_CFLAGS = @SQUID_CFLAGS@
21 AM_CXXFLAGS = @SQUID_CXXFLAGS@
24 XPROF_STATS_SOURCE = Profiler.c
35 STRTOLLSOURCE=strtoll.c
40 if ENABLE_WIN32SPECIFIC
41 LIBSSPWIN32=libsspwin32.a
57 # dirent.c, encrypt.c and getopt.c are needed for native Windows support.
59 EXTRA_libmiscutil_a_SOURCES = \
68 libmiscutil_a_SOURCES = \
95 $(XPROF_STATS_SOURCE) \
97 libmiscutil_a_LIBADD = \
99 libTrie/src/TrieNode.o \
101 # $(top_srcdir)/include/version.h should be a dependency
102 libregex_a_SOURCES = \
104 libntlmauth_a_SOURCES = \
106 libntlmauth_a_LIBADD = \
108 libsspwin32_a_SOURCES = \
111 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include @SQUID_CPPUNIT_INC@
112 ##FIXME - set these in configure.in and reuse
117 TESTS=$(check_PROGRAMS)
119 ## Special Universal .h dependency test script
120 ## aborts if error encountered
121 testHeaders: $(top_srcdir)/include/*.h
122 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(top_srcdir)/include" || exit 1
128 tests_testAll_SOURCES= \
131 tests/testIPAddress.h \
132 tests/testIPAddress.cc \
134 tests/testRFC1035.h \
135 tests/testRFC1035.cc \
137 $(XPROF_STATS_SOURCE) \
141 tests_testAll_LDADD= @SQUID_CPPUNIT_LA@ @SQUID_CPPUNIT_LIBS@
143 tests_testAll_LDFLAGS = $(LIBADD_DL)