]> git.ipfire.org Git - thirdparty/squid.git/blob - src/fs/Makefile.am
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
[thirdparty/squid.git] / src / fs / Makefile.am
1 include $(top_srcdir)/src/Common.am
2
3 EXTRA_LTLIBRARIES = libaufs.la libdiskd.la libcoss.la libufs.la
4 noinst_LTLIBRARIES = @STORE_LIBS_TO_BUILD@ libfs.la
5
6 # aufs is a "fake" legacy store
7 libaufs_la_SOURCES = \
8 aufs/StoreFSaufs.cc
9
10 # diskd is a "fake" legacy store
11 libdiskd_la_SOURCES = \
12 diskd/StoreFSdiskd.cc
13
14 libcoss_la_SOURCES = \
15 coss/StoreFScoss.h \
16 coss/StoreFScoss.cc \
17 coss/store_coss.h \
18 coss/store_io_coss.cc \
19 coss/store_dir_coss.cc \
20 coss/CossSwapDir.h
21
22 libufs_la_SOURCES = \
23 ufs/StoreFSufs.h \
24 ufs/StoreFSufs.cc \
25 ufs/store_dir_ufs.cc \
26 ufs/store_io_ufs.cc \
27 ufs/ufscommon.cci \
28 ufs/ufscommon.cc \
29 ufs/ufscommon.h
30
31 libfs_la_SOURCES = Module.cc Module.h
32 libfs_la_LIBADD = @STORE_LIBS_TO_BUILD@
33 libfs_la_DEPENDENCIES = @STORE_LIBS_TO_BUILD@
34
35 EXTRA_DIST = \
36 coss/coss-notes.txt
37
38 ## we need our local files too (but avoid -I. at all costs)
39 INCLUDES += -I$(srcdir)
40
41
42 ## targets below to emulate distributed makefiles
43 coss/all: libcoss.la
44 coss/clean: clean
45 ufs/all: libufs.la
46 ufs/clean: clean
47
48
49 TESTS += testHeaders
50
51 ## Special Universal .h dependency test script
52 ## aborts if error encountered
53 testHeaders: $(srcdir)/ufs/*.h $(srcdir)/coss/*.h
54 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)/ufs" || exit 1
55 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)/coss" || exit 1
56 ## diskd/ has no .h files
57 ## aufs/ has no .h files
58 ## ./ has no .h files
59
60 CLEANFILES += testHeaders
61
62 .PHONY: testHeaders