1 ## Process this file with automake to produce Makefile.in
6 include $(top_srcdir)/src/Common.am
10 if USE_LOADABLE_MODULES
24 XPROF_STATS_SOURCE = Profiler.c
29 if ENABLE_WIN32SPECIFIC
30 LIBSSPWIN32=libsspwin32.a
45 # dirent.c, encrypt.c and getopt.c are needed for native Windows support.
47 EXTRA_libmiscutil_a_SOURCES = \
54 libmiscutil_a_SOURCES = \
77 $(XPROF_STATS_SOURCE) \
79 libmiscutil_a_LIBADD = $(LIBOBJS)
81 # $(top_srcdir)/include/version.h should be a dependency
82 libntlmauth_a_SOURCES = \
84 libntlmauth_a_LIBADD = \
86 libsspwin32_a_SOURCES = \
89 libsspwin32_a_LIBADD = \
93 TESTS += tests/testAll
95 check_PROGRAMS += tests/testAll
97 tests_testAll_SOURCES= \
100 tests/testRFC1035.h \
101 tests/testRFC1035.cc \
102 tests/testRFC1738.h \
103 tests/testRFC1738.cc \
105 $(XPROF_STATS_SOURCE) \
109 tests_testAll_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS)
111 tests_testAll_LDFLAGS = $(LIBADD_DL)
114 ## Special Universal .h dependency test script
115 ## aborts if error encountered
116 testHeaders: $(top_srcdir)/include/*.h
117 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(top_srcdir)/include" || exit 1
120 CLEANFILES += testHeaders