]> git.ipfire.org Git - thirdparty/squid.git/blame - src/fs/Makefile.am
Boilerplate: update copyright blurbs on src/
[thirdparty/squid.git] / src / fs / Makefile.am
CommitLineData
bbc27441
AJ
1## Copyright (C) 1996-2014 The Squid Software Foundation and contributors
2##
3## Squid software is distributed under GPLv2+ license and includes
4## contributions from numerous individuals and organizations.
5## Please see the COPYING and CONTRIBUTORS files for details.
6##
7
b66455ff 8include $(top_srcdir)/src/Common.am
a2794549 9
73656056 10EXTRA_LTLIBRARIES = libaufs.la libdiskd.la libufs.la librock.la
3ae8895c 11noinst_LTLIBRARIES = $(STORE_LIBS_TO_BUILD) libfs.la
b66455ff
AR
12
13# aufs is a "fake" legacy store
7b5b7ba8 14libaufs_la_SOURCES = \
b66455ff
AR
15 aufs/StoreFSaufs.cc
16
17# diskd is a "fake" legacy store
7b5b7ba8 18libdiskd_la_SOURCES = \
b66455ff 19 diskd/StoreFSdiskd.cc
a2794549 20
7b5b7ba8 21libufs_la_SOURCES = \
b66455ff
AR
22 ufs/StoreFSufs.h \
23 ufs/StoreFSufs.cc \
58373ff8
FC
24 ufs/UFSStoreState.cc \
25 ufs/UFSSwapDir.cc \
26 ufs/UFSSwapDir.h \
27 ufs/UFSStrategy.cc \
28 ufs/UFSStrategy.h \
29 ufs/UFSStoreState.h \
30 ufs/StoreSearchUFS.h \
31 ufs/StoreSearchUFS.cc \
32 ufs/UFSSwapLogParser.h \
33 ufs/UFSSwapLogParser.cc \
34 ufs/RebuildState.h \
35 ufs/RebuildState.cc
b9ae18aa 36
e2851fe7 37librock_la_SOURCES = \
93910d5c 38 rock/RockDbCell.cc \
fcd789da 39 rock/RockDbCell.h \
50dc81ec 40 rock/RockForward.h \
e2851fe7
AR
41 rock/RockIoState.cc \
42 rock/RockIoState.h \
43 rock/RockIoRequests.cc \
44 rock/RockIoRequests.h \
45 rock/RockRebuild.cc \
46 rock/RockRebuild.h \
47 rock/RockStoreFileSystem.cc \
48 rock/RockStoreFileSystem.h \
49 rock/RockSwapDir.cc \
50 rock/RockSwapDir.h
51
7b5b7ba8 52libfs_la_SOURCES = Module.cc Module.h
3ae8895c
A
53libfs_la_LIBADD = $(STORE_LIBS_TO_BUILD)
54libfs_la_DEPENDENCIES = $(STORE_LIBS_TO_BUILD)
a2794549 55
189f1e66 56## we need our local files too (but avoid -I. at all costs)
01a1acbc 57AM_CPPFLAGS += -I$(srcdir)
897c8073 58
a2794549 59
ee342e0b 60## targets below to emulate distributed makefiles
ee342e0b
AJ
61ufs/all: libufs.la
62ufs/clean: clean
e2851fe7
AR
63rock/all: librock.la
64rock/clean: clean
ee342e0b
AJ
65
66
67TESTS += testHeaders
e1f7507e
AJ
68
69## Special Universal .h dependency test script
70## aborts if error encountered
73656056 71testHeaders: $(srcdir)/ufs/*.h $(srcdir)/rock/*.h
a0fdc9bf 72 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
e1f7507e
AJ
73## diskd/ has no .h files
74## aufs/ has no .h files
75## ./ has no .h files
76
ee342e0b 77CLEANFILES += testHeaders
e1f7507e 78
ee342e0b 79.PHONY: testHeaders