File: Makefile.am

package info (click to toggle)
squid 4.6-1%2Bdeb10u7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 36,944 kB
  • sloc: cpp: 187,349; ansic: 20,249; makefile: 6,193; sh: 5,290; perl: 2,191; sql: 326; python: 258; awk: 141; sed: 1
file content (105 lines) | stat: -rw-r--r-- 2,063 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
## Copyright (C) 1996-2019 The Squid Software Foundation and contributors
##
## Squid software is distributed under GPLv2+ license and includes
## contributions from numerous individuals and organizations.
## Please see the COPYING and CONTRIBUTORS files for details.
##

include $(top_srcdir)/src/Common.am

DIST_SUBDIRS = ntlmauth profiler rfcnb smblib libTrie snmplib
SUBDIRS=
EXTRA_DIST=

if ENABLE_ESI
SUBDIRS += libTrie
endif
if ENABLE_SNMP
SUBDIRS += snmplib
endif
if ENABLE_XPROF_STATS
SUBDIRS += profiler
endif

install: all
install-strip: all

noinst_LTLIBRARIES = \
	libmiscencoding.la \
	libmisccontainers.la \
	libmiscutil.la

#
# Some libraries are only available on Windows
# and others are unable to be built.
#
if ENABLE_WIN32SPECIFIC
noinst_LTLIBRARIES += libsspwin32.la
libsspwin32_la_SOURCES = sspwin32.cc
else
EXTRA_DIST += sspwin32.cc
endif
if ENABLE_SMBLIB
# smblib is the only user of the rfcnb library
SUBDIRS += rfcnb smblib
endif
if ENABLE_AUTH_NTLM
SUBDIRS += ntlmauth
endif

#
# dirent.c, encrypt.c and getopt.c are needed for native Windows support.
#
EXTRA_libmiscutil_la_SOURCES = \
	dirent.c \
	encrypt.c \
	getopt.c

libmiscencoding_la_SOURCES = \
	base64.c \
	charset.c \
	html_quote.c \
	md5.c \
	rfc1738.c \
	rfc2617.c

libmisccontainers_la_SOURCES = \
	hash.cc

libmiscutil_la_SOURCES = \
	getfullhostname.c \
	heap.c \
	iso3307.c \
	radix.c \
	rfc1123.c \
	$(SNPRINTFSOURCE) \
	Splay.cc \
	stub_memaccount.c \
	util.c \
	xusleep.c

TESTS += tests/testRFC1738

check_PROGRAMS += tests/testRFC1738

tests_testRFC1738_SOURCES= \
	tests/testRFC1738.h \
	tests/testRFC1738.cc

tests_testRFC1738_LDADD= \
	$(top_builddir)/lib/libmiscencoding.la \
	$(top_builddir)/lib/libmiscutil.la \
	$(LIBCPPUNIT_LIBS) \
	$(COMPAT_LIB)

tests_testRFC1738_LDFLAGS = $(LIBADD_DL)


## Special Universal .h dependency test script
## aborts if error encountered
testHeaders: $(top_srcdir)/include/*.h
	$(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1

TESTS += testHeaders
CLEANFILES += testHeaders
.PHONY: testHeaders