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