]> git.ipfire.org Git - thirdparty/squid.git/blob - src/repl/Makefile.am
Boilerplate: update copyright blurbs on src/
[thirdparty/squid.git] / src / repl / Makefile.am
1 ## Copyright (C) 1996-2014 The Squid Software Foundation and contributors
2 ##
3 ## Squid software is distributed under GPLv2+ license and includes
4 ## contributions from numerous individuals and organizations.
5 ## Please see the COPYING and CONTRIBUTORS files for details.
6 ##
7
8 include $(top_srcdir)/src/Common.am
9
10 ## we need our local files too (but avoid -I. at all costs)
11 AM_CPPFLAGS += -I$(srcdir)
12
13 AUTOMAKE_OPTIONS = subdir-objects
14
15 # No recursion is needed for the subdirs, we build from here.
16
17 EXTRA_LIBRARIES = liblru.a libheap.a
18 noinst_LIBRARIES = $(REPL_LIBS)
19
20 liblru_a_SOURCES = lru/store_repl_lru.cc
21 libheap_a_SOURCES = heap/store_heap_replacement.h heap/store_heap_replacement.cc heap/store_repl_heap.cc
22
23
24 ## Until such time as we have a makefile in src/repl/heap etc.
25 TESTS += testHeaders
26
27 ## Special Universal .h dependency test script
28 ## aborts if error encountered
29 testHeaders: $(srcdir)/heap/*.h
30 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
31 ## ./ has no .h files.
32 ## ./lru/ has no .h files.
33
34 CLEANFILES += testHeaders
35 .PHONY: testHeaders