]> git.ipfire.org Git - thirdparty/squid.git/blob - src/repl/Makefile.am
Merged from trunk
[thirdparty/squid.git] / src / repl / Makefile.am
1 # Makefile for storage modules in the Squid Object Cache server
2 #
3 # $Id$
4 #
5
6 include $(top_srcdir)/src/Common.am
7
8 ## we need our local files too (but avoid -I. at all costs)
9 INCLUDES += -I$(srcdir)
10
11 AUTOMAKE_OPTIONS = subdir-objects
12
13 # No recursion is needed for the subdirs, we build from here. // @REPL_POLICIES@
14
15 EXTRA_LIBRARIES = liblru.a libheap.a
16 noinst_LIBRARIES = @REPL_LIBS@
17
18 liblru_a_SOURCES = lru/store_repl_lru.cc
19 libheap_a_SOURCES = heap/store_heap_replacement.h heap/store_heap_replacement.cc heap/store_repl_heap.cc
20
21
22 ## Until such time as we have a makefile in src/repl/heap etc.
23 TESTS += testHeaders
24
25 ## Special Universal .h dependency test script
26 ## aborts if error encountered
27 testHeaders: $(srcdir)/heap/*.h
28 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)/heap" || exit 1
29 ## ./ has no .h files.
30 ## ./lru/ has no .h files.
31
32 CLEANFILES += testHeaders
33 .PHONY: testHeaders