]> git.ipfire.org Git - thirdparty/squid.git/blame - src/fs/Makefile.am
Fixed build issue in purge tool.
[thirdparty/squid.git] / src / fs / Makefile.am
CommitLineData
b66455ff 1include $(top_srcdir)/src/Common.am
a2794549 2
7b5b7ba8 3EXTRA_LTLIBRARIES = libaufs.la libdiskd.la libcoss.la libufs.la
3ae8895c 4noinst_LTLIBRARIES = $(STORE_LIBS_TO_BUILD) libfs.la
b66455ff
AR
5
6# aufs is a "fake" legacy store
7b5b7ba8 7libaufs_la_SOURCES = \
b66455ff
AR
8 aufs/StoreFSaufs.cc
9
10# diskd is a "fake" legacy store
7b5b7ba8 11libdiskd_la_SOURCES = \
b66455ff 12 diskd/StoreFSdiskd.cc
a2794549 13
7b5b7ba8 14libcoss_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 22libufs_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 31libfs_la_SOURCES = Module.cc Module.h
3ae8895c
A
32libfs_la_LIBADD = $(STORE_LIBS_TO_BUILD)
33libfs_la_DEPENDENCIES = $(STORE_LIBS_TO_BUILD)
a2794549 34
897c8073 35EXTRA_DIST = \
b66455ff
AR
36 coss/coss-notes.txt
37
189f1e66
AJ
38## we need our local files too (but avoid -I. at all costs)
39INCLUDES += -I$(srcdir)
897c8073 40
a2794549 41
ee342e0b
AJ
42## targets below to emulate distributed makefiles
43coss/all: libcoss.la
44coss/clean: clean
45ufs/all: libufs.la
46ufs/clean: clean
47
48
49TESTS += testHeaders
e1f7507e
AJ
50
51## Special Universal .h dependency test script
52## aborts if error encountered
508e9b20
AJ
53testHeaders: $(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 60CLEANFILES += testHeaders
e1f7507e 61
ee342e0b 62.PHONY: testHeaders