]> git.ipfire.org Git - thirdparty/squid.git/blame - src/repl/Makefile.am
Source Format Enforcement (#665)
[thirdparty/squid.git] / src / repl / Makefile.am
CommitLineData
77b1029d 1## Copyright (C) 1996-2020 The Squid Software Foundation and contributors
bbc27441
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##
a2794549 7
189f1e66
AJ
8include $(top_srcdir)/src/Common.am
9
10## we need our local files too (but avoid -I. at all costs)
01a1acbc 11AM_CPPFLAGS += -I$(srcdir)
189f1e66 12
897e0ac7 13# No recursion is needed for the subdirs, we build from here.
a2794549 14
15EXTRA_LIBRARIES = liblru.a libheap.a
3ae8895c 16noinst_LIBRARIES = $(REPL_LIBS)
a2794549 17
e6ccf245 18liblru_a_SOURCES = lru/store_repl_lru.cc
aa5639dc 19libheap_a_SOURCES = \
20 heap/store_heap_replacement.cc \
21 heap/store_heap_replacement.h \
22 heap/store_repl_heap.cc
a2794549 23
ee342e0b 24
189f1e66 25## Until such time as we have a makefile in src/repl/heap etc.
ee342e0b 26TESTS += testHeaders
e1f7507e
AJ
27
28## Special Universal .h dependency test script
29## aborts if error encountered
508e9b20 30testHeaders: $(srcdir)/heap/*.h
a0fdc9bf 31 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
e1f7507e
AJ
32## ./ has no .h files.
33## ./lru/ has no .h files.
0e42cf18 34
189f1e66
AJ
35CLEANFILES += testHeaders
36.PHONY: testHeaders