]> git.ipfire.org Git - thirdparty/squid.git/blob - src/fs/Makefile.am
SMP Caching: Core changes, IPC primitives, Shared memory cache, and Rock Store
[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 librock.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 librock_la_SOURCES = \
32 rock/RockDbCell.h \
33 rock/RockIoState.cc \
34 rock/RockIoState.h \
35 rock/RockIoRequests.cc \
36 rock/RockIoRequests.h \
37 rock/RockRebuild.cc \
38 rock/RockRebuild.h \
39 rock/RockStoreFileSystem.cc \
40 rock/RockStoreFileSystem.h \
41 rock/RockSwapDir.cc \
42 rock/RockSwapDir.h
43
44 libfs_la_SOURCES = Module.cc Module.h
45 libfs_la_LIBADD = $(STORE_LIBS_TO_BUILD)
46 libfs_la_DEPENDENCIES = $(STORE_LIBS_TO_BUILD)
47
48 EXTRA_DIST = \
49 coss/coss-notes.txt
50
51 ## we need our local files too (but avoid -I. at all costs)
52 INCLUDES += -I$(srcdir)
53
54
55 ## targets below to emulate distributed makefiles
56 coss/all: libcoss.la
57 coss/clean: clean
58 ufs/all: libufs.la
59 ufs/clean: clean
60 rock/all: librock.la
61 rock/clean: clean
62
63
64 TESTS += testHeaders
65
66 ## Special Universal .h dependency test script
67 ## aborts if error encountered
68 testHeaders: $(srcdir)/ufs/*.h $(srcdir)/coss/*.h $(srcdir)/rock/*.h
69 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
70 ## diskd/ has no .h files
71 ## aufs/ has no .h files
72 ## ./ has no .h files
73
74 CLEANFILES += testHeaders
75
76 .PHONY: testHeaders