]> git.ipfire.org Git - thirdparty/squid.git/blob - src/repl/Makefile.am
Author: Francesco Chemolli <kinkie@squid-cache.org>
[thirdparty/squid.git] / src / repl / Makefile.am
1 # Makefile for storage modules in the Squid Object Cache server
2 #
3 # $Id$
4 #
5
6 AUTOMAKE_OPTIONS = subdir-objects
7 AM_CFLAGS = @SQUID_CFLAGS@
8 AM_CXXFLAGS = @SQUID_CXXFLAGS@
9 CLEANFILES =
10
11 # No recursion is needed for the subdirs, we build from here. // @REPL_POLICIES@
12
13 EXTRA_LIBRARIES = liblru.a libheap.a
14 noinst_LIBRARIES = @REPL_LIBS@
15
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
18
19 INCLUDES = -I. -I$(top_builddir)/include -I$(top_srcdir)/include \
20 -I$(top_srcdir)/src
21
22 check_PROGRAMS= testHeaders
23
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.
30
31 ## No such file...
32 testHeaders.c:
33 touch testHeaders.c
34 CLEANFILES += testHeaders.c