1 ## Copyright (C) 1996-2015 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 AUTOMAKE_OPTIONS = subdir-objects
12 DIST_SUBDIRS = ntlmauth profiler rfcnb smblib libTrie snmplib
29 noinst_LTLIBRARIES = \
31 libmisccontainers.la \
35 # Some libraries are only available on Windows
36 # and others are unable to be built.
38 if ENABLE_WIN32SPECIFIC
39 noinst_LTLIBRARIES += libsspwin32.la
40 libsspwin32_la_SOURCES = sspwin32.cc
42 SUBDIRS += rfcnb smblib
43 EXTRA_DIST += sspwin32.cc
50 # dirent.c, encrypt.c and getopt.c are needed for native Windows support.
52 EXTRA_libmiscutil_la_SOURCES = \
57 libmiscencoding_la_SOURCES = \
66 libmisccontainers_la_SOURCES = \
69 libmiscutil_la_SOURCES = \
81 TESTS += tests/testRFC1738
83 check_PROGRAMS += tests/testRFC1738
85 tests_testRFC1738_SOURCES= \
89 tests_testRFC1738_LDADD= \
90 $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS) \
91 $(top_builddir)/lib/libmiscencoding.la \
92 $(top_builddir)/lib/libmiscutil.la \
95 tests_testRFC1738_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