1 ## Copyright (C) 1996-2016 The Squid Software Foundation and contributors
3 ## Squid software is distributed under GPLv2+ license and includes
4 ## contributions from numerous individuals and organizations.
5 ## Please see the COPYING and CONTRIBUTORS files for details.
8 include $(top_srcdir)/src/Common.am
10 DIST_SUBDIRS = ntlmauth profiler rfcnb smblib libTrie snmplib
27 noinst_LTLIBRARIES = \
29 libmisccontainers.la \
33 # Some libraries are only available on Windows
34 # and others are unable to be built.
36 if ENABLE_WIN32SPECIFIC
37 noinst_LTLIBRARIES += libsspwin32.la
38 libsspwin32_la_SOURCES = sspwin32.cc
40 EXTRA_DIST += sspwin32.cc
43 # smblib is the only user of the rfcnb library
44 SUBDIRS += rfcnb smblib
51 # dirent.c, encrypt.c and getopt.c are needed for native Windows support.
53 EXTRA_libmiscutil_la_SOURCES = \
58 libmiscencoding_la_SOURCES = \
67 libmisccontainers_la_SOURCES = \
70 libmiscutil_la_SOURCES = \
82 TESTS += tests/testRFC1738
84 check_PROGRAMS += tests/testRFC1738
86 tests_testRFC1738_SOURCES= \
90 tests_testRFC1738_LDADD= \
91 $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS) \
92 $(top_builddir)/lib/libmiscencoding.la \
93 $(top_builddir)/lib/libmiscutil.la \
96 tests_testRFC1738_LDFLAGS = $(LIBADD_DL)
99 ## Special Universal .h dependency test script
100 ## aborts if error encountered
101 testHeaders: $(top_srcdir)/include/*.h
102 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
105 CLEANFILES += testHeaders