]> git.ipfire.org Git - thirdparty/squid.git/blame - tools/squidclient/Makefile.am
Source Format Enforcement (#763)
[thirdparty/squid.git] / tools / squidclient / Makefile.am
CommitLineData
f70aedc4 1## Copyright (C) 1996-2021 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 \
ebaabe74 17 $(top_builddir)/src/base/libbase.la \
842cd45a
AJ
18 $(top_builddir)/lib/libmiscencoding.la \
19 $(top_builddir)/lib/libmiscutil.la \
20 $(COMPAT_LIB) \
b4f805f6 21 $(LIBGNUTLS_LIBS) \
09cd7204 22 $(NETTLELIB) \
842cd45a
AJ
23 $(KRB5LIBS) \
24 $(XTRA_LIBS)
25
26include $(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.
30test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc
598b2b0d 31 cp $(top_srcdir)/test-suite/test_tools.cc $@
842cd45a 32
44e802f4 33tests/stub_debug.cc: $(top_srcdir)/src/tests/stub_debug.cc
598b2b0d 34 cp $(top_srcdir)/src/tests/stub_debug.cc $@
842cd45a
AJ
35
36time.cc: $(top_srcdir)/src/time.cc
c7cdbf3c 37 cp $(top_srcdir)/src/time.cc $@
ae72213d 38
44e802f4 39tests/stub_libmem.cc: $(top_srcdir)/src/tests/stub_libmem.cc
598b2b0d 40 cp $(top_srcdir)/src/tests/stub_libmem.cc $@
44e802f4
AJ
41
42tests/STUB.h: $(top_srcdir)/src/tests/STUB.h
598b2b0d 43 cp $(top_srcdir)/src/tests/STUB.h $@
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
44e802f4 50CLEANFILES += test_tools.cc tests/stub_debug.cc time.cc tests/stub_libmem.cc tests/STUB.h
842cd45a
AJ
51
52## ##### squidclient #####
53
54bin_PROGRAMS = squidclient
55
56squidclient_SOURCES = \
57 Parameters.h \
58 Ping.cc \
59 Ping.h \
aa5639dc 60 Transport.cc \
61 Transport.h \
62 gssapi_support.cc \
63 gssapi_support.h \
842cd45a 64 squidclient.cc \
aa5639dc 65 test_tools.cc \
66 time.cc
44e802f4
AJ
67
68nodist_squidclient_SOURCES = \
69 tests/stub_debug.cc \
70 tests/stub_libmem.cc \
71 tests/STUB.h