]> git.ipfire.org Git - thirdparty/squid.git/blob - src/fs/Makefile.am
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / fs / Makefile.am
1 ## Copyright (C) 1996-2018 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
8 include $(top_srcdir)/src/Common.am
9
10 EXTRA_LTLIBRARIES = libaufs.la libdiskd.la libufs.la librock.la
11 noinst_LTLIBRARIES = $(STORE_LIBS_TO_BUILD) libfs.la
12
13 # aufs is a "fake" legacy store
14 libaufs_la_SOURCES = \
15 aufs/StoreFSaufs.cc
16
17 # diskd is a "fake" legacy store
18 libdiskd_la_SOURCES = \
19 diskd/StoreFSdiskd.cc
20
21 libufs_la_SOURCES = \
22 ufs/StoreFSufs.h \
23 ufs/StoreFSufs.cc \
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
36
37 librock_la_SOURCES = \
38 rock/forward.h \
39 rock/RockDbCell.cc \
40 rock/RockDbCell.h \
41 rock/RockHeaderUpdater.cc \
42 rock/RockHeaderUpdater.h \
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
54 libfs_la_SOURCES = Module.cc Module.h
55 libfs_la_LIBADD = $(STORE_LIBS_TO_BUILD)
56 libfs_la_DEPENDENCIES = $(STORE_LIBS_TO_BUILD)
57
58 ## we need our local files too (but avoid -I. at all costs)
59 AM_CPPFLAGS += -I$(srcdir)
60
61
62 ## targets below to emulate distributed makefiles
63 ufs/all: libufs.la
64 ufs/clean: clean
65 rock/all: librock.la
66 rock/clean: clean
67
68
69 TESTS += testHeaders
70
71 ## Special Universal .h dependency test script
72 ## aborts if error encountered
73 testHeaders: $(srcdir)/ufs/*.h $(srcdir)/rock/*.h
74 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
75 ## diskd/ has no .h files
76 ## aufs/ has no .h files
77 ## ./ has no .h files
78
79 CLEANFILES += testHeaders
80
81 .PHONY: testHeaders