1 # Makefile for storage modules in the Squid Object Cache server
6 AUTOMAKE_OPTIONS = subdir-objects
7 AM_CFLAGS = @SQUID_CFLAGS@
8 AM_CXXFLAGS = @SQUID_CXXFLAGS@
11 # No recursion is needed for the subdirs, we build from here. // @REPL_POLICIES@
13 EXTRA_LIBRARIES = liblru.a libheap.a
14 noinst_LIBRARIES = @REPL_LIBS@
16 liblru_a_SOURCES = lru/store_repl_lru.cc
17 libheap_a_SOURCES = heap/store_heap_replacement.h heap/store_heap_replacement.cc heap/store_repl_heap.cc
19 INCLUDES = -I. -I$(top_builddir)/include -I$(top_srcdir)/include \
22 check_PROGRAMS= testHeaders
24 ## Special Universal .h dependency test script
25 ## aborts if error encountered
26 testHeaders: $(top_srcdir)/src/repl/heap/*.h
27 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "heap" || exit 1
28 ## ./ has no .h files.
29 ## ./lru/ has no .h files.
34 CLEANFILES += testHeaders.c