1 include $(top_srcdir)/src/Common.am
3 DIST_SUBDIRS = ntlmauth profiler rfcnb smblib libTrie snmplib
17 noinst_LTLIBRARIES = \
19 libmisccontainers.la \
23 # Some libraries are only available on Windows
24 # and others are unable to be built.
26 if ENABLE_WIN32SPECIFIC
27 noinst_LTLIBRARIES += libsspwin32.la
28 libsspwin32_la_SOURCES = sspwin32.cc
30 SUBDIRS += rfcnb smblib
31 EXTRA_DIST += sspwin32.cc
38 # dirent.c, encrypt.c and getopt.c are needed for native Windows support.
40 EXTRA_libmiscutil_la_SOURCES = \
45 libmiscencoding_la_SOURCES = \
54 libmisccontainers_la_SOURCES = \
57 libmiscutil_la_SOURCES = \
76 TESTS += tests/testAll
78 check_PROGRAMS += tests/testAll
80 tests_testAll_SOURCES= \
82 tests/testRFC1035.cc \
84 tests/testRFC1738.cc \
87 tests_testAll_LDADD= \
88 $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS) \
89 $(top_builddir)/lib/libmiscencoding.la \
90 $(top_builddir)/lib/libmiscutil.la \
93 tests_testAll_LDFLAGS = $(LIBADD_DL)
96 ## Special Universal .h dependency test script
97 ## aborts if error encountered
98 testHeaders: $(top_srcdir)/include/*.h
99 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
102 CLEANFILES += testHeaders