1 # Makefile for storage modules in the Squid Object Cache server
3 # $Id: Makefile.am,v 1.15 2008/01/08 11:10:48 amosjeffries Exp $
6 AUTOMAKE_OPTIONS = subdir-objects
7 AM_CFLAGS = @SQUID_CFLAGS@
8 AM_CXXFLAGS = @SQUID_CXXFLAGS@
11 EXTRA_LIBRARIES = libcoss.a libufs.a
12 noinst_LIBRARIES = @STORE_LIBS@
16 coss/store_io_coss.cc \
17 coss/store_dir_coss.cc \
20 libufs_a_SOURCES = ufs/store_dir_ufs.cc ufs/store_io_ufs.cc \
31 INCLUDES = -I. -I$(top_builddir)/include -I$(top_srcdir)/include \
34 check_PROGRAMS=testHeaders
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
48 CLEANFILES += testHeaders.c
50 ## targets below to emulate distributed makefiles