]>
Commit | Line | Data |
---|---|---|
b66455ff | 1 | include $(top_srcdir)/src/Common.am |
a2794549 | 2 | |
7b5b7ba8 | 3 | EXTRA_LTLIBRARIES = libaufs.la libdiskd.la libcoss.la libufs.la |
3ae8895c | 4 | noinst_LTLIBRARIES = $(STORE_LIBS_TO_BUILD) libfs.la |
b66455ff AR |
5 | |
6 | # aufs is a "fake" legacy store | |
7b5b7ba8 | 7 | libaufs_la_SOURCES = \ |
b66455ff AR |
8 | aufs/StoreFSaufs.cc |
9 | ||
10 | # diskd is a "fake" legacy store | |
7b5b7ba8 | 11 | libdiskd_la_SOURCES = \ |
b66455ff | 12 | diskd/StoreFSdiskd.cc |
a2794549 | 13 | |
7b5b7ba8 | 14 | libcoss_la_SOURCES = \ |
b66455ff AR |
15 | coss/StoreFScoss.h \ |
16 | coss/StoreFScoss.cc \ | |
b9ae18aa | 17 | coss/store_coss.h \ |
18 | coss/store_io_coss.cc \ | |
19 | coss/store_dir_coss.cc \ | |
20 | coss/CossSwapDir.h | |
6b873fc6 | 21 | |
7b5b7ba8 | 22 | libufs_la_SOURCES = \ |
b66455ff AR |
23 | ufs/StoreFSufs.h \ |
24 | ufs/StoreFSufs.cc \ | |
25 | ufs/store_dir_ufs.cc \ | |
26 | ufs/store_io_ufs.cc \ | |
b9ae18aa | 27 | ufs/ufscommon.cci \ |
28 | ufs/ufscommon.cc \ | |
29 | ufs/ufscommon.h | |
30 | ||
7b5b7ba8 | 31 | libfs_la_SOURCES = Module.cc Module.h |
3ae8895c A |
32 | libfs_la_LIBADD = $(STORE_LIBS_TO_BUILD) |
33 | libfs_la_DEPENDENCIES = $(STORE_LIBS_TO_BUILD) | |
a2794549 | 34 | |
897c8073 | 35 | EXTRA_DIST = \ |
b66455ff AR |
36 | coss/coss-notes.txt |
37 | ||
189f1e66 AJ |
38 | ## we need our local files too (but avoid -I. at all costs) |
39 | INCLUDES += -I$(srcdir) | |
897c8073 | 40 | |
a2794549 | 41 | |
ee342e0b AJ |
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 | |
e1f7507e AJ |
50 | |
51 | ## Special Universal .h dependency test script | |
52 | ## aborts if error encountered | |
508e9b20 AJ |
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 | |
e1f7507e AJ |
56 | ## diskd/ has no .h files |
57 | ## aufs/ has no .h files | |
58 | ## ./ has no .h files | |
59 | ||
ee342e0b | 60 | CLEANFILES += testHeaders |
e1f7507e | 61 | |
ee342e0b | 62 | .PHONY: testHeaders |