]> 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: Makefile.am,v 1.7 2005/08/20 21:08:38 serassio Exp $
4 #
5
6 AUTOMAKE_OPTIONS = subdir-objects
7 AM_CFLAGS = @SQUID_CFLAGS@
8 AM_CXXFLAGS = @SQUID_CXXFLAGS@
9
10 # No recursion is needed for the subdirs, we build from here. // @REPL_POLICIES@
11
12 EXTRA_LIBRARIES = liblru.a libheap.a
13 noinst_LIBRARIES = @REPL_LIBS@
14
15 liblru_a_SOURCES = lru/store_repl_lru.cc
16 libheap_a_SOURCES = heap/store_heap_replacement.h heap/store_heap_replacement.cc heap/store_repl_heap.cc
17
18 INCLUDES = -I. -I$(top_builddir)/include -I$(top_srcdir)/include \
19 -I$(top_srcdir)/src
20
21 check_PROGRAMS= testHeaders
22
23 ## Special Universal .h dependency test script
24 ## aborts if error encountered
25 testHeaders: heap/*.h
26 $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "heap" || exit 1
27 ## ./ has no .h files.
28 ## ./lru/ has no .h files.