File: Makefile.am

package info (click to toggle)
squid3 3.0.PRE5-5%2Betch2
  • links: PTS
  • area: main
  • in suites: etch
  • size: 21,188 kB
  • ctags: 20,388
  • sloc: cpp: 119,851; ansic: 30,259; sh: 10,465; makefile: 3,289; perl: 1,267; awk: 84; xml: 58
file content (114 lines) | stat: -rw-r--r-- 2,059 bytes parent folder | download | duplicates (2)
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
106
107
108
109
110
111
112
113
114
## Process this file with automake to produce Makefile.in
#
#  $Id: Makefile.am,v 1.23 2006/09/02 13:48:53 serassio Exp $
#

DIST_SUBDIRS = libTrie cppunit-1.10.0
SUBDIRS= libTrie @SQUID_CPPUNIT_DIR@

install: all
install-strip: all

AM_CFLAGS = @SQUID_CFLAGS@
AM_CXXFLAGS = @SQUID_CXXFLAGS@

if ENABLE_XPROF_STATS
XPROF_STATS_SOURCE = Profiler.c
else
XPROF_STATS_SOURCE = 
endif

if NEED_OWN_SNPRINTF
SNPRINTFSOURCE=snprintf.c
else
SNPRINTFSOURCE=
endif
if NEED_OWN_STRSEP
STRSEPSOURCE=strsep.c
else
STRSEPSOURCE=
endif
if NEED_OWN_MD5
MD5SOURCE=md5.c
else
MD5SOURCE=
endif

if ENABLE_WIN32SPECIFIC
LIBSSPWIN32=libsspwin32.a
WIN32SRC = win32lib.c
else
LIBSSPWIN32=
WIN32SRC=
endif

EXTRA_LIBRARIES = \
	libdlmalloc.a \
	libregex.a \
	libsspwin32.a
noinst_LIBRARIES = \
	@LIBDLMALLOC@ \
	libmiscutil.a \
	libntlmauth.a \
	$(LIBSSPWIN32) \
	@LIBREGEX@
EXTRA_libmiscutil_a_SOURCES = \
	md5.c \
	Profiler.c \
	snprintf.c \
	strsep.c \
	win32lib.c
libmiscutil_a_SOURCES = \
	MemPool.cc \
	base64.c \
	getfullhostname.c \
	hash.c \
	heap.c \
	html_quote.c \
	iso3307.c \
	$(MD5SOURCE) \
	radix.c \
	rfc1035.c \
	rfc1123.c \
	rfc1738.c \
	rfc2617.c \
	safe_inet_addr.c \
	$(SNPRINTFSOURCE) \
	Splay.cc \
	$(STRSEPSOURCE) \
	stub_memaccount.c \
	util.c \
	uudecode.c \
	assert.c \
	$(XPROF_STATS_SOURCE) \
	$(WIN32SRC)
libmiscutil_a_LIBADD = \
	libTrie/src/Trie.o \
	libTrie/src/TrieNode.o \
	@LIBOBJS@
# $(top_srcdir)/include/version.h should be a dependency
libregex_a_SOURCES = \
	GNUregex.c
libdlmalloc_a_SOURCES = \
	dlmalloc.c
libntlmauth_a_SOURCES = \
	ntlmauth.c
libntlmauth_a_LIBADD = \
	@LIBOBJS@
libsspwin32_a_SOURCES = \
	sspwin32.c

INCLUDES	= -I$(top_builddir)/include -I$(top_srcdir)/include @SQUID_CPPUNIT_INC@
##FIXME - set these in configure.in and reuse

TESTS=$(check_PROGRAMS)
check_PROGRAMS=tests/testAll

tests_testAll_SOURCES= tests/testArray.cc tests/testMain.cc  tests/testArray.h \
	$(XPROF_STATS_SOURCE) \
	$(WIN32SRC) \
	util.c assert.c

tests_testAll_LDADD= @SQUID_CPPUNIT_LA@ @SQUID_CPPUNIT_LIBS@

tests_testAll_LDFLAGS = $(LIBADD_DL)