]> git.ipfire.org Git - thirdparty/squid.git/blame - lib/Makefile.am
Remove unnecessary C linkage and unused code (#1677)
[thirdparty/squid.git] / lib / Makefile.am
CommitLineData
b8ae064d 1## Copyright (C) 1996-2023 The Squid Software Foundation and contributors
0545caaa
AJ
2##
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.
6##
7
ee342e0b
AJ
8include $(top_srcdir)/src/Common.am
9
ae64d121 10SUBDIRS=
25f98340 11EXTRA_DIST=
87420606 12
8aafbbc1 13if ENABLE_ESI
c41d7e69
AR
14SUBDIRS += libTrie
15endif
ae64d121
AJ
16if ENABLE_SNMP
17SUBDIRS += snmplib
18endif
b9ce9676
AJ
19if ENABLE_SSPI
20SUBDIRS += sspi
21endif
c41d7e69 22
fa467ef0 23install: all
24install-strip: all
25
25f98340
AJ
26noinst_LTLIBRARIES = \
27 libmiscencoding.la \
28 libmisccontainers.la \
60bb8210
AJ
29 libmiscutil.la
30
8d06d869
AJ
31if ENABLE_SMBLIB
32# smblib is the only user of the rfcnb library
33SUBDIRS += rfcnb smblib
34endif
60bb8210
AJ
35if ENABLE_AUTH_NTLM
36SUBDIRS += ntlmauth
37endif
cc937513 38
63b81f13 39#
1dcf8e5d 40# dirent.c, encrypt.c and getopt.c are needed for native Windows support.
63b81f13 41#
25f98340 42EXTRA_libmiscutil_la_SOURCES = \
63b81f13
GS
43 dirent.c \
44 encrypt.c \
0a1238e7 45 getopt.c
2ccf2eb2 46
25f98340
AJ
47libmiscencoding_la_SOURCES = \
48 base64.c \
25f98340
AJ
49 md5.c \
50 rfc1738.c \
4cb75d28 51 rfc2617.c
25f98340
AJ
52
53libmisccontainers_la_SOURCES = \
209663bb 54 hash.cc
25f98340
AJ
55
56libmiscutil_la_SOURCES = \
aa5639dc 57 $(SNPRINTFSOURCE) \
58 Splay.cc \
3dff197f 59 heap.c \
3dff197f 60 radix.c \
ca919500 61 util.cc
c41d7e69 62
4a3b98d7 63TESTS += tests/testRFC1738
f5691f9c 64
4a3b98d7 65check_PROGRAMS += tests/testRFC1738
7f861c77 66
aa5639dc 67tests_testRFC1738_SOURCES = \
ae022809 68 tests/testRFC1738.cc
f5691f9c 69
7f861c77 70tests_testRFC1738_LDADD= \
25f98340
AJ
71 $(top_builddir)/lib/libmiscencoding.la \
72 $(top_builddir)/lib/libmiscutil.la \
d93bf055 73 $(LIBCPPUNIT_LIBS) \
25f98340 74 $(COMPAT_LIB)
f5691f9c 75
7f861c77 76tests_testRFC1738_LDFLAGS = $(LIBADD_DL)
e1f7507e 77
ee342e0b 78testHeaders: $(top_srcdir)/include/*.h