source: squid-ssl/trunk/fuentes/src/fs/Makefile.am @ 5495

Last change on this file since 5495 was 5495, checked in by Juanma, 2 years ago

Initial release

File size: 1.9 KB
Line 
1## Copyright (C) 1996-2015 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
8include $(top_srcdir)/src/Common.am
9
10EXTRA_LTLIBRARIES = libaufs.la libdiskd.la libufs.la librock.la
11noinst_LTLIBRARIES =  $(STORE_LIBS_TO_BUILD) libfs.la
12
13# aufs is a "fake" legacy store
14libaufs_la_SOURCES = \
15        aufs/StoreFSaufs.cc
16
17# diskd is a "fake" legacy store
18libdiskd_la_SOURCES = \
19        diskd/StoreFSdiskd.cc
20
21libufs_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
37librock_la_SOURCES = \
38        rock/forward.h \
39        rock/RockDbCell.cc \
40        rock/RockDbCell.h \
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
52libfs_la_SOURCES = Module.cc Module.h
53libfs_la_LIBADD =  $(STORE_LIBS_TO_BUILD)
54libfs_la_DEPENDENCIES = $(STORE_LIBS_TO_BUILD)
55
56## we need our local files too (but avoid -I. at all costs)
57AM_CPPFLAGS += -I$(srcdir)
58
59
60## targets below to emulate distributed makefiles
61ufs/all: libufs.la
62ufs/clean: clean
63rock/all: librock.la
64rock/clean: clean
65
66
67TESTS += testHeaders
68
69## Special Universal .h dependency test script
70## aborts if error encountered
71testHeaders: $(srcdir)/ufs/*.h $(srcdir)/rock/*.h
72        $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
73## diskd/ has no .h files
74## aufs/ has no .h files
75## ./ has no .h files
76
77CLEANFILES += testHeaders
78
79.PHONY: testHeaders
Note: See TracBrowser for help on using the repository browser.