]> git.ipfire.org Git - thirdparty/squid.git/blob - tools/squidclient/Makefile.am
SourceFormat Enforcement
[thirdparty/squid.git] / tools / squidclient / Makefile.am
1 ## Copyright (C) 1996-2017 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)/lib/libmiscencoding.la \
18 $(top_builddir)/lib/libmiscutil.la \
19 $(COMPAT_LIB) \
20 $(LIBGNUTLS_LIBS) \
21 $(NETTLELIB) \
22 $(KRB5LIBS) \
23 $(XTRA_LIBS)
24
25 include $(top_srcdir)/doc/manuals/Substitute.am
26
27 ## Several files need to be shared but we cannot depend on the other
28 ## directories to be built.
29 test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc
30 cp $(top_srcdir)/test-suite/test_tools.cc $@
31
32 stub_debug.cc: $(top_srcdir)/src/tests/stub_debug.cc
33 cp $(top_srcdir)/src/tests/stub_debug.cc $@
34
35 time.cc: $(top_srcdir)/src/time.cc
36 cp $(top_srcdir)/src/time.cc $@
37
38 stub_libmem.cc: $(top_srcdir)/src/tests/stub_libmem.cc STUB.h
39 cp $(top_srcdir)/src/tests/stub_libmem.cc $@
40
41 STUB.h: $(top_srcdir)/src/tests/STUB.h
42 cp $(top_srcdir)/src/tests/STUB.h $@
43
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 stub_debug.cc time.cc stub_libmem.cc STUB.h
51
52 ## ##### squidclient #####
53
54 bin_PROGRAMS = squidclient
55
56 squidclient_SOURCES = \
57 gssapi_support.cc \
58 gssapi_support.h \
59 Parameters.h \
60 Ping.cc \
61 Ping.h \
62 squidclient.cc \
63 stub_debug.cc \
64 test_tools.cc \
65 stub_libmem.cc \
66 STUB.h \
67 time.cc \
68 Transport.cc \
69 Transport.h