1 include $(top_srcdir)/src/Common.am
3 DIST_SUBDIRS = ntlmauth profiler rfcnb smblib libTrie snmplib
20 noinst_LTLIBRARIES = \
22 libmisccontainers.la \
26 # Some libraries are only available on Windows
27 # and others are unable to be built.
29 if ENABLE_WIN32SPECIFIC
30 noinst_LTLIBRARIES += libsspwin32.la
31 libsspwin32_la_SOURCES = sspwin32.cc
33 SUBDIRS += rfcnb smblib
34 EXTRA_DIST += sspwin32.cc
41 # dirent.c, encrypt.c and getopt.c are needed for native Windows support.
43 EXTRA_libmiscutil_la_SOURCES = \
48 libmiscencoding_la_SOURCES = \
57 libmisccontainers_la_SOURCES = \
60 libmiscutil_la_SOURCES = \
78 TESTS += tests/testAll
80 check_PROGRAMS += tests/testAll
82 tests_testAll_SOURCES= \
84 tests/testRFC1035.cc \
86 tests/testRFC1738.cc \
89 tests_testAll_LDADD= \
90 $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS) \
91 $(top_builddir)/lib/libmiscencoding.la \
92 $(top_builddir)/lib/libmiscutil.la \
95 tests_testAll_LDFLAGS = $(LIBADD_DL)
98 ## Special Universal .h dependency test script
99 ## aborts if error encountered
100 testHeaders: $(top_srcdir)/include/*.h
101 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
104 CLEANFILES += testHeaders