]> git.ipfire.org Git - thirdparty/squid.git/blob - tools/squidclient/Makefile.am
Source Format Enforcement (#532)
[thirdparty/squid.git] / tools / squidclient / Makefile.am
1 ## Copyright (C) 1996-2020 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 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 stub_libmem.cc: $(top_srcdir)/src/tests/stub_libmem.cc STUB.h
40 cp $(top_srcdir)/src/tests/stub_libmem.cc $@
41
42 STUB.h: $(top_srcdir)/src/tests/STUB.h
43 cp $(top_srcdir)/src/tests/STUB.h $@
44
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
51 CLEANFILES += test_tools.cc stub_debug.cc time.cc stub_libmem.cc STUB.h
52
53 ## ##### squidclient #####
54
55 bin_PROGRAMS = squidclient
56
57 squidclient_SOURCES = \
58 gssapi_support.cc \
59 gssapi_support.h \
60 Parameters.h \
61 Ping.cc \
62 Ping.h \
63 squidclient.cc \
64 stub_debug.cc \
65 test_tools.cc \
66 stub_libmem.cc \
67 STUB.h \
68 time.cc \
69 Transport.cc \
70 Transport.h