@@ -10,16 +10,6 @@ include $(top_srcdir)/src/Common.am
10
10
# # we need our local files too (but avoid -I. at all costs)
11
11
AM_CPPFLAGS += -I$(srcdir )
12
12
13
- LDADD = \
14
- $(top_builddir ) /src/base/libbase.la \
15
- $(top_builddir ) /src/globals.o \
16
- $(top_builddir ) /src/time/libtime.la \
17
- $(top_builddir ) /lib/libmiscutil.la \
18
- $(COMPAT_LIB ) \
19
- $(XTRA_LIBS )
20
-
21
- EXTRA_PROGRAMS = mem_node_test splay
22
-
23
13
EXTRA_DIST = \
24
14
$(srcdir ) /squidconf/* \
25
15
test-functionality.sh \
@@ -51,6 +41,7 @@ STUBS = \
51
41
stub_SBuf.cc \
52
42
stub_tools.cc \
53
43
stub_fatal.cc \
44
+ stub_libtime.cc \
54
45
STUB.h
55
46
DEBUG_SOURCE = test_tools.cc $(STUBS )
56
47
CLEANFILES += $(STUBS ) stub_libmem.cc
@@ -73,6 +64,9 @@ stub_fatal.cc: $(top_srcdir)/src/tests/stub_fatal.cc
73
64
stub_libmem.cc : $(top_srcdir ) /src/tests/stub_libmem.cc STUB.h
74
65
cp $(top_srcdir ) /src/tests/stub_libmem.cc $@
75
66
67
+ stub_libtime.cc : $(top_srcdir ) /src/tests/stub_libtime.cc STUB.h
68
+ cp $(top_srcdir ) /src/tests/stub_libtime.cc $@
69
+
76
70
STUB.h : $(top_srcdir ) /src/tests/STUB.h
77
71
cp $(top_srcdir ) /src/tests/STUB.h $@
78
72
@@ -84,7 +78,10 @@ mem_node_test_LDADD = \
84
78
$(top_builddir ) /src/mem/libmem.la \
85
79
$(top_builddir ) /src/debug/libdebug.la \
86
80
$(top_builddir ) /src/comm/libminimal.la \
87
- $(LDADD )
81
+ $(top_builddir ) /src/base/libbase.la \
82
+ $(top_builddir ) /lib/libmiscutil.la \
83
+ $(COMPAT_LIB ) \
84
+ $(XTRA_LIBS )
88
85
89
86
mem_hdr_test_SOURCES = \
90
87
$(DEBUG_SOURCE ) \
@@ -95,22 +92,35 @@ mem_hdr_test_LDADD = \
95
92
$(top_builddir ) /src/mem/libmem.la \
96
93
$(top_builddir ) /src/debug/libdebug.la \
97
94
$(top_builddir ) /src/comm/libminimal.la \
98
- $(LDADD )
95
+ $(top_builddir ) /src/base/libbase.la \
96
+ $(top_builddir ) /lib/libmiscutil.la \
97
+ $(COMPAT_LIB ) \
98
+ $(XTRA_LIBS )
99
99
100
100
splay_SOURCES = \
101
101
$(DEBUG_SOURCE ) \
102
102
splay.cc \
103
103
stub_libmem.cc
104
+ splay_LDADD = \
105
+ $(top_builddir ) /lib/libmiscutil.la \
106
+ $(COMPAT_LIB ) \
107
+ $(XTRA_LIBS )
104
108
105
109
syntheticoperators_SOURCES = \
106
110
$(DEBUG_SOURCE ) \
107
111
stub_libmem.cc \
108
112
syntheticoperators.cc
113
+ syntheticoperators_LDADD = \
114
+ $(COMPAT_LIB ) \
115
+ $(XTRA_LIBS )
109
116
110
117
VirtualDeleteOperator_SOURCES = \
111
118
$(DEBUG_SOURCE ) \
112
119
VirtualDeleteOperator.cc \
113
120
stub_libmem.cc
121
+ VirtualDeleteOperator_LDADD = \
122
+ $(COMPAT_LIB ) \
123
+ $(XTRA_LIBS )
114
124
115
125
installcheck-local : squid-conf-tests
116
126
0 commit comments