]> git.ipfire.org Git - thirdparty/squid.git/blob - tools/squidclient/Makefile.am
Source Format Enforcement (#763)
[thirdparty/squid.git] / tools / squidclient / Makefile.am
1 ## Copyright (C) 1996-2021 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/base/libbase.la \
18 $(top_builddir)/lib/libmiscencoding.la \
19 $(top_builddir)/lib/libmiscutil.la \
20 $(COMPAT_LIB) \
21 $(LIBGNUTLS_LIBS) \
22 $(NETTLELIB) \
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
31 cp $(top_srcdir)/test-suite/test_tools.cc $@
32
33 tests/stub_debug.cc: $(top_srcdir)/src/tests/stub_debug.cc
34 cp $(top_srcdir)/src/tests/stub_debug.cc $@
35
36 time.cc: $(top_srcdir)/src/time.cc
37 cp $(top_srcdir)/src/time.cc $@
38
39 tests/stub_libmem.cc: $(top_srcdir)/src/tests/stub_libmem.cc
40 cp $(top_srcdir)/src/tests/stub_libmem.cc $@
41
42 tests/STUB.h: $(top_srcdir)/src/tests/STUB.h
43 cp $(top_srcdir)/src/tests/STUB.h $@
44
45 # stock tools for unit tests - library independent versions of dlink_list
46 # etc.
47 # globals.cc is needed by test_tools.cc.
48 # Neither of these should be disted from here.
49 TESTSOURCES= test_tools.cc
50 CLEANFILES += test_tools.cc tests/stub_debug.cc time.cc tests/stub_libmem.cc tests/STUB.h
51
52 ## ##### squidclient #####
53
54 bin_PROGRAMS = squidclient
55
56 squidclient_SOURCES = \
57 Parameters.h \
58 Ping.cc \
59 Ping.h \
60 Transport.cc \
61 Transport.h \
62 gssapi_support.cc \
63 gssapi_support.h \
64 squidclient.cc \
65 test_tools.cc \
66 time.cc
67
68 nodist_squidclient_SOURCES = \
69 tests/stub_debug.cc \
70 tests/stub_libmem.cc \
71 tests/STUB.h