]> git.ipfire.org Git - thirdparty/squid.git/blame - tools/squidclient/Makefile.am
Source Format Enforcement (#1234)
[thirdparty/squid.git] / tools / squidclient / Makefile.am
CommitLineData
b8ae064d 1## Copyright (C) 1996-2023 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 \
536a1f9c 17 $(top_builddir)/src/mem/libminimal.la \
98cacedb 18 $(top_builddir)/src/time/libtime.la \
ebaabe74 19 $(top_builddir)/src/base/libbase.la \
842cd45a
AJ
20 $(top_builddir)/lib/libmiscencoding.la \
21 $(top_builddir)/lib/libmiscutil.la \
22 $(COMPAT_LIB) \
b4f805f6 23 $(LIBGNUTLS_LIBS) \
b12b66cd 24 $(LIBNETTLE_LIBS) \
842cd45a
AJ
25 $(KRB5LIBS) \
26 $(XTRA_LIBS)
27
28include $(top_srcdir)/doc/manuals/Substitute.am
29
30## Several files need to be shared but we cannot depend on the other
31## directories to be built.
32test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc
598b2b0d 33 cp $(top_srcdir)/test-suite/test_tools.cc $@
842cd45a 34
1842f9ae 35tests/stub_debug.cc: $(top_srcdir)/src/tests/stub_debug.cc | tests
598b2b0d 36 cp $(top_srcdir)/src/tests/stub_debug.cc $@
842cd45a 37
1842f9ae 38tests/STUB.h: $(top_srcdir)/src/tests/STUB.h | tests
598b2b0d 39 cp $(top_srcdir)/src/tests/STUB.h $@
842cd45a 40
1842f9ae
FF
41tests:
42 mkdir -p $@
43
842cd45a
AJ
44# stock tools for unit tests - library independent versions of dlink_list
45# etc.
46# globals.cc is needed by test_tools.cc.
47# Neither of these should be disted from here.
48TESTSOURCES= test_tools.cc
98cacedb 49CLEANFILES += test_tools.cc tests/stub_debug.cc tests/STUB.h
842cd45a
AJ
50
51## ##### squidclient #####
52
53bin_PROGRAMS = squidclient
54
55squidclient_SOURCES = \
56 Parameters.h \
57 Ping.cc \
58 Ping.h \
aa5639dc 59 Transport.cc \
60 Transport.h \
61 gssapi_support.cc \
62 gssapi_support.h \
842cd45a 63 squidclient.cc \
98cacedb 64 test_tools.cc
44e802f4
AJ
65
66nodist_squidclient_SOURCES = \
67 tests/stub_debug.cc \
44e802f4 68 tests/STUB.h