]> git.ipfire.org Git - thirdparty/squid.git/blame - tools/squidclient/Makefile.am
SourceFormat Enforcement
[thirdparty/squid.git] / tools / squidclient / Makefile.am
CommitLineData
4ac4a490 1## Copyright (C) 1996-2017 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
8include $(top_srcdir)/src/Common.am
9
f4405bd3 10SUBDIRS =
842cd45a
AJ
11EXTRA_DIST = squidclient.1
12man_MANS = squidclient.1
f4405bd3 13DISTCLEANFILES =
842cd45a
AJ
14
15LDADD = \
16 $(top_builddir)/src/ip/libip.la \
17 $(top_builddir)/lib/libmiscencoding.la \
18 $(top_builddir)/lib/libmiscutil.la \
19 $(COMPAT_LIB) \
b4f805f6 20 $(LIBGNUTLS_LIBS) \
09cd7204 21 $(NETTLELIB) \
842cd45a
AJ
22 $(KRB5LIBS) \
23 $(XTRA_LIBS)
24
25include $(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.
29test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc
598b2b0d 30 cp $(top_srcdir)/test-suite/test_tools.cc $@
842cd45a
AJ
31
32stub_debug.cc: $(top_srcdir)/src/tests/stub_debug.cc
598b2b0d 33 cp $(top_srcdir)/src/tests/stub_debug.cc $@
842cd45a
AJ
34
35time.cc: $(top_srcdir)/src/time.cc
c7cdbf3c 36 cp $(top_srcdir)/src/time.cc $@
ae72213d 37
598b2b0d
FC
38stub_libmem.cc: $(top_srcdir)/src/tests/stub_libmem.cc STUB.h
39 cp $(top_srcdir)/src/tests/stub_libmem.cc $@
ae72213d 40
598b2b0d
FC
41STUB.h: $(top_srcdir)/src/tests/STUB.h
42 cp $(top_srcdir)/src/tests/STUB.h $@
ae72213d 43
842cd45a
AJ
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.
49TESTSOURCES= test_tools.cc
ae72213d 50CLEANFILES += test_tools.cc stub_debug.cc time.cc stub_libmem.cc STUB.h
842cd45a
AJ
51
52## ##### squidclient #####
53
54bin_PROGRAMS = squidclient
55
56squidclient_SOURCES = \
b2050d4d
AJ
57 gssapi_support.cc \
58 gssapi_support.h \
842cd45a
AJ
59 Parameters.h \
60 Ping.cc \
61 Ping.h \
62 squidclient.cc \
63 stub_debug.cc \
64 test_tools.cc \
ae72213d
FC
65 stub_libmem.cc \
66 STUB.h \
b4f805f6
AJ
67 time.cc \
68 Transport.cc \
69 Transport.h