]> git.ipfire.org Git - thirdparty/squid.git/blob - tools/squidclient/Makefile.am
4da06191b01edf0b3cc960596ab4f26552ee2c95
[thirdparty/squid.git] / tools / squidclient / Makefile.am
1 ## Copyright (C) 1996-2022 The Squid Software Foundation and contributors
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
8 include $(top_srcdir)/src/Common.am
9
10 SUBDIRS =
11 EXTRA_DIST = squidclient.1
12 man_MANS = squidclient.1
13 DISTCLEANFILES =
14
15 LDADD = \
16 $(top_builddir)/src/ip/libip.la \
17 $(top_builddir)/src/mem/libminimal.la \
18 $(top_builddir)/src/time/libtime.la \
19 $(top_builddir)/src/base/libbase.la \
20 $(top_builddir)/lib/libmiscencoding.la \
21 $(top_builddir)/lib/libmiscutil.la \
22 $(COMPAT_LIB) \
23 $(LIBGNUTLS_LIBS) \
24 $(LIBNETTLE_LIBS) \
25 $(KRB5LIBS) \
26 $(XTRA_LIBS)
27
28 include $(top_srcdir)/doc/manuals/Substitute.am
29
30 ## Several files need to be shared but we cannot depend on the other
31 ## directories to be built.
32 test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc
33 cp $(top_srcdir)/test-suite/test_tools.cc $@
34
35 tests/stub_debug.cc: $(top_srcdir)/src/tests/stub_debug.cc | tests
36 cp $(top_srcdir)/src/tests/stub_debug.cc $@
37
38 tests/STUB.h: $(top_srcdir)/src/tests/STUB.h | tests
39 cp $(top_srcdir)/src/tests/STUB.h $@
40
41 tests:
42 mkdir -p $@
43
44 # stock tools for unit tests - library independent versions of dlink_list
45 # etc.
46 # globals.cc is needed by test_tools.cc.
47 # Neither of these should be disted from here.
48 TESTSOURCES= test_tools.cc
49 CLEANFILES += test_tools.cc tests/stub_debug.cc tests/STUB.h
50
51 ## ##### squidclient #####
52
53 bin_PROGRAMS = squidclient
54
55 squidclient_SOURCES = \
56 Parameters.h \
57 Ping.cc \
58 Ping.h \
59 Transport.cc \
60 Transport.h \
61 gssapi_support.cc \
62 gssapi_support.h \
63 squidclient.cc \
64 test_tools.cc
65
66 nodist_squidclient_SOURCES = \
67 tests/stub_debug.cc \
68 tests/STUB.h