1 ## Process this file with automake to produce Makefile.in
6 include $(top_srcdir)/src/Common.am
20 XPROF_STATS_SOURCE = Profiler.c
25 if ENABLE_WIN32SPECIFIC
26 LIBSSPWIN32=libsspwin32.a
41 # dirent.c, encrypt.c and getopt.c are needed for native Windows support.
43 EXTRA_libmiscutil_a_SOURCES = \
50 libmiscutil_a_SOURCES = \
73 $(XPROF_STATS_SOURCE) \
75 libmiscutil_a_LIBADD = $(LIBOBJS)
77 # $(top_srcdir)/include/version.h should be a dependency
78 libntlmauth_a_SOURCES = \
80 libntlmauth_a_LIBADD = \
82 libsspwin32_a_SOURCES = \
85 libsspwin32_a_LIBADD = \
89 TESTS += tests/testAll
91 check_PROGRAMS += tests/testAll
93 tests_testAll_SOURCES= \
97 tests/testRFC1035.cc \
99 tests/testRFC1738.cc \
101 $(XPROF_STATS_SOURCE) \
105 tests_testAll_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS)
107 tests_testAll_LDFLAGS = $(LIBADD_DL)
110 ## Special Universal .h dependency test script
111 ## aborts if error encountered
112 testHeaders: $(top_srcdir)/include/*.h
113 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(top_srcdir)/include" || exit 1
116 CLEANFILES += testHeaders