]>
Commit | Line | Data |
---|---|---|
77b1029d | 1 | ## Copyright (C) 1996-2020 The Squid Software Foundation and contributors |
5f623035 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 | ||
842cd45a AJ |
8 | include $(top_srcdir)/src/Common.am |
9 | ||
f4405bd3 | 10 | SUBDIRS = |
842cd45a AJ |
11 | EXTRA_DIST = squidclient.1 |
12 | man_MANS = squidclient.1 | |
f4405bd3 | 13 | DISTCLEANFILES = |
842cd45a AJ |
14 | |
15 | LDADD = \ | |
16 | $(top_builddir)/src/ip/libip.la \ | |
ebaabe74 | 17 | $(top_builddir)/src/base/libbase.la \ |
842cd45a AJ |
18 | $(top_builddir)/lib/libmiscencoding.la \ |
19 | $(top_builddir)/lib/libmiscutil.la \ | |
20 | $(COMPAT_LIB) \ | |
b4f805f6 | 21 | $(LIBGNUTLS_LIBS) \ |
09cd7204 | 22 | $(NETTLELIB) \ |
842cd45a AJ |
23 | $(KRB5LIBS) \ |
24 | $(XTRA_LIBS) | |
25 | ||
26 | include $(top_srcdir)/doc/manuals/Substitute.am | |
27 | ||
28 | ## Several files need to be shared but we cannot depend on the other | |
29 | ## directories to be built. | |
30 | test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc | |
598b2b0d | 31 | cp $(top_srcdir)/test-suite/test_tools.cc $@ |
842cd45a AJ |
32 | |
33 | stub_debug.cc: $(top_srcdir)/src/tests/stub_debug.cc | |
598b2b0d | 34 | cp $(top_srcdir)/src/tests/stub_debug.cc $@ |
842cd45a AJ |
35 | |
36 | time.cc: $(top_srcdir)/src/time.cc | |
c7cdbf3c | 37 | cp $(top_srcdir)/src/time.cc $@ |
ae72213d | 38 | |
598b2b0d FC |
39 | stub_libmem.cc: $(top_srcdir)/src/tests/stub_libmem.cc STUB.h |
40 | cp $(top_srcdir)/src/tests/stub_libmem.cc $@ | |
ae72213d | 41 | |
598b2b0d FC |
42 | STUB.h: $(top_srcdir)/src/tests/STUB.h |
43 | cp $(top_srcdir)/src/tests/STUB.h $@ | |
ae72213d | 44 | |
842cd45a AJ |
45 | |
46 | # stock tools for unit tests - library independent versions of dlink_list | |
47 | # etc. | |
48 | # globals.cc is needed by test_tools.cc. | |
49 | # Neither of these should be disted from here. | |
50 | TESTSOURCES= test_tools.cc | |
ae72213d | 51 | CLEANFILES += test_tools.cc stub_debug.cc time.cc stub_libmem.cc STUB.h |
842cd45a AJ |
52 | |
53 | ## ##### squidclient ##### | |
54 | ||
55 | bin_PROGRAMS = squidclient | |
56 | ||
57 | squidclient_SOURCES = \ | |
b2050d4d AJ |
58 | gssapi_support.cc \ |
59 | gssapi_support.h \ | |
842cd45a AJ |
60 | Parameters.h \ |
61 | Ping.cc \ | |
62 | Ping.h \ | |
63 | squidclient.cc \ | |
64 | stub_debug.cc \ | |
65 | test_tools.cc \ | |
ae72213d FC |
66 | stub_libmem.cc \ |
67 | STUB.h \ | |
b4f805f6 AJ |
68 | time.cc \ |
69 | Transport.cc \ | |
70 | Transport.h |