]> git.ipfire.org Git - thirdparty/squid.git/blob - src/repl/Makefile.am
SourceLayout: setup libcompat.la for portability primitives
[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 = \
20 -I$(top_srcdir) \
21 -I. \
22 -I$(top_builddir)/include \
23 -I$(top_srcdir)/include \
24 -I$(top_srcdir)/src
25
26 check_PROGRAMS= testHeaders
27
28 ## Special Universal .h dependency test script
29 ## aborts if error encountered
30 testHeaders: $(top_srcdir)/src/repl/heap/*.h
31 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "heap" || exit 1
32 ## ./ has no .h files.
33 ## ./lru/ has no .h files.
34
35 ## No such file...
36 testHeaders.c:
37 touch testHeaders.c
38 CLEANFILES += testHeaders.c