]> git.ipfire.org Git - thirdparty/squid.git/blob - src/fs/Makefile.am
Merge from trunk
[thirdparty/squid.git] / src / fs / Makefile.am
1 # Makefile for storage modules in the Squid Object Cache server
2 #
3 # $Id: Makefile.am,v 1.15 2008/01/08 11:10:48 amosjeffries Exp $
4 #
5
6 AUTOMAKE_OPTIONS = subdir-objects
7 AM_CFLAGS = @SQUID_CFLAGS@
8 AM_CXXFLAGS = @SQUID_CXXFLAGS@
9 CLEANFILES =
10
11 EXTRA_LIBRARIES = libcoss.a libufs.a
12 noinst_LIBRARIES = @STORE_LIBS@
13
14 libcoss_a_SOURCES = \
15 coss/store_coss.h \
16 coss/store_io_coss.cc \
17 coss/store_dir_coss.cc \
18 coss/CossSwapDir.h
19
20 libufs_a_SOURCES = ufs/store_dir_ufs.cc ufs/store_io_ufs.cc \
21 ufs/ufscommon.cci \
22 ufs/ufscommon.cc \
23 ufs/ufscommon.h
24
25
26 EXTRA_DIST = \
27 coss/coss-notes.txt \
28 coss/StoreFScoss.h \
29 ufs/StoreFSufs.h
30
31 INCLUDES = -I. -I$(top_builddir)/include -I$(top_srcdir)/include \
32 -I$(top_srcdir)/src
33
34 check_PROGRAMS=testHeaders
35
36 ## Special Universal .h dependency test script
37 ## aborts if error encountered
38 testHeaders: $(top_srcdir)/src/fs/ufs/*.h $(top_srcdir)/src/fs/coss/*.h
39 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "ufs" || exit 1
40 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "coss" || exit 1
41 ## diskd/ has no .h files
42 ## aufs/ has no .h files
43 ## ./ has no .h files
44
45 ## No such file...
46 testHeaders.c:
47 touch testHeaders.c
48 CLEANFILES += testHeaders.c
49
50 ## targets below to emulate distributed makefiles
51 coss/all: libcoss.a
52 coss/clean: clean
53 ufs/all: libufs.a
54 ufs/clean: clean