]> git.ipfire.org Git - thirdparty/squid.git/blame - lib/Makefile.am
Remove CPU profiler mechanism (#931)
[thirdparty/squid.git] / lib / Makefile.am
CommitLineData
f70aedc4 1## Copyright (C) 1996-2021 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
316fd866 10DIST_SUBDIRS = ntlmauth rfcnb smblib libTrie snmplib
ae64d121 11SUBDIRS=
25f98340 12EXTRA_DIST=
87420606 13
8aafbbc1 14if ENABLE_ESI
c41d7e69
AR
15SUBDIRS += libTrie
16endif
ae64d121
AJ
17if ENABLE_SNMP
18SUBDIRS += snmplib
19endif
c41d7e69 20
fa467ef0 21install: all
22install-strip: all
23
25f98340
AJ
24noinst_LTLIBRARIES = \
25 libmiscencoding.la \
26 libmisccontainers.la \
60bb8210
AJ
27 libmiscutil.la
28
29#
30# Some libraries are only available on Windows
31# and others are unable to be built.
32#
33if ENABLE_WIN32SPECIFIC
34noinst_LTLIBRARIES += libsspwin32.la
d6054896 35libsspwin32_la_SOURCES = sspwin32.cc
60bb8210 36else
d6054896 37EXTRA_DIST += sspwin32.cc
60bb8210 38endif
8d06d869
AJ
39if ENABLE_SMBLIB
40# smblib is the only user of the rfcnb library
41SUBDIRS += rfcnb smblib
42endif
60bb8210
AJ
43if ENABLE_AUTH_NTLM
44SUBDIRS += ntlmauth
45endif
cc937513 46
63b81f13 47#
1dcf8e5d 48# dirent.c, encrypt.c and getopt.c are needed for native Windows support.
63b81f13 49#
25f98340 50EXTRA_libmiscutil_la_SOURCES = \
63b81f13
GS
51 dirent.c \
52 encrypt.c \
0a1238e7 53 getopt.c
2ccf2eb2 54
25f98340
AJ
55libmiscencoding_la_SOURCES = \
56 base64.c \
25f98340
AJ
57 html_quote.c \
58 md5.c \
59 rfc1738.c \
4cb75d28 60 rfc2617.c
25f98340
AJ
61
62libmisccontainers_la_SOURCES = \
209663bb 63 hash.cc
25f98340
AJ
64
65libmiscutil_la_SOURCES = \
aa5639dc 66 $(SNPRINTFSOURCE) \
67 Splay.cc \
3dff197f 68 getfullhostname.c \
3dff197f 69 heap.c \
3dff197f 70 iso3307.c \
3dff197f 71 radix.c \
3dff197f 72 rfc1123.c \
3dff197f 73 stub_memaccount.c \
74 util.c \
0a1238e7 75 xusleep.c
c41d7e69 76
4a3b98d7 77TESTS += tests/testRFC1738
f5691f9c 78
4a3b98d7 79check_PROGRAMS += tests/testRFC1738
7f861c77 80
aa5639dc 81tests_testRFC1738_SOURCES = \
82 tests/testRFC1738.cc \
83 tests/testRFC1738.h
f5691f9c 84
7f861c77 85tests_testRFC1738_LDADD= \
25f98340
AJ
86 $(top_builddir)/lib/libmiscencoding.la \
87 $(top_builddir)/lib/libmiscutil.la \
d93bf055 88 $(LIBCPPUNIT_LIBS) \
25f98340 89 $(COMPAT_LIB)
f5691f9c 90
7f861c77 91tests_testRFC1738_LDFLAGS = $(LIBADD_DL)
e1f7507e 92
ee342e0b
AJ
93
94## Special Universal .h dependency test script
95## aborts if error encountered
96testHeaders: $(top_srcdir)/include/*.h
a0fdc9bf 97 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
ee342e0b
AJ
98
99TESTS += testHeaders
100CLEANFILES += testHeaders
101.PHONY: testHeaders