]> git.ipfire.org Git - thirdparty/squid.git/blame - src/repl/Makefile.am
Fixed build issue in purge tool.
[thirdparty/squid.git] / src / repl / Makefile.am
CommitLineData
a2794549 1# Makefile for storage modules in the Squid Object Cache server
2#
cc937513 3# $Id$
a2794549 4#
5
189f1e66
AJ
6include $(top_srcdir)/src/Common.am
7
8## we need our local files too (but avoid -I. at all costs)
9INCLUDES += -I$(srcdir)
10
a2794549 11AUTOMAKE_OPTIONS = subdir-objects
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
19libheap_a_SOURCES = heap/store_heap_replacement.h heap/store_heap_replacement.cc heap/store_repl_heap.cc
a2794549 20
ee342e0b 21
189f1e66 22## Until such time as we have a makefile in src/repl/heap etc.
ee342e0b 23TESTS += testHeaders
e1f7507e
AJ
24
25## Special Universal .h dependency test script
26## aborts if error encountered
508e9b20
AJ
27testHeaders: $(srcdir)/heap/*.h
28 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)/heap" || exit 1
e1f7507e
AJ
29## ./ has no .h files.
30## ./lru/ has no .h files.
0e42cf18 31
189f1e66
AJ
32CLEANFILES += testHeaders
33.PHONY: testHeaders