1 ## Copyright (C) 1996-2022 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 rfcnb smblib libTrie snmplib
24 noinst_LTLIBRARIES = \
26 libmisccontainers.la \
30 # Some libraries are only available on Windows
31 # and others are unable to be built.
33 if ENABLE_WIN32SPECIFIC
34 noinst_LTLIBRARIES += libsspwin32.la
35 libsspwin32_la_SOURCES = sspwin32.cc
37 EXTRA_DIST += sspwin32.cc
40 # smblib is the only user of the rfcnb library
41 SUBDIRS += rfcnb smblib
48 # dirent.c, encrypt.c and getopt.c are needed for native Windows support.
50 EXTRA_libmiscutil_la_SOURCES = \
55 libmiscencoding_la_SOURCES = \
62 libmisccontainers_la_SOURCES = \
65 libmiscutil_la_SOURCES = \
74 TESTS += tests/testRFC1738
76 check_PROGRAMS += tests/testRFC1738
78 tests_testRFC1738_SOURCES = \
79 tests/testRFC1738.cc \
82 tests_testRFC1738_LDADD= \
83 $(top_builddir)/lib/libmiscencoding.la \
84 $(top_builddir)/lib/libmiscutil.la \
88 tests_testRFC1738_LDFLAGS = $(LIBADD_DL)
91 ## Special Universal .h dependency test script
92 ## aborts if error encountered
93 testHeaders: $(top_srcdir)/include/*.h
94 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
97 CLEANFILES += testHeaders