1 ## Copyright (C) 1996-2021 The Squid Software Foundation and contributors
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.
8 include $(top_srcdir)/src/Common.am
10 EXTRA_LTLIBRARIES = libaufs.la libdiskd.la libufs.la librock.la
11 noinst_LTLIBRARIES = $(STORE_LIBS_TO_BUILD) libfs.la
13 # aufs is a "fake" legacy store
14 libaufs_la_SOURCES = \
17 # diskd is a "fake" legacy store
18 libdiskd_la_SOURCES = \
26 ufs/StoreSearchUFS.cc \
27 ufs/StoreSearchUFS.h \
28 ufs/UFSStoreState.cc \
34 ufs/UFSSwapLogParser.cc \
35 ufs/UFSSwapLogParser.h
37 librock_la_SOURCES = \
40 rock/RockHeaderUpdater.cc \
41 rock/RockHeaderUpdater.h \
42 rock/RockIoRequests.cc \
43 rock/RockIoRequests.h \
48 rock/RockStoreFileSystem.cc \
49 rock/RockStoreFileSystem.h \
57 libfs_la_LIBADD = $(STORE_LIBS_TO_BUILD)
58 libfs_la_DEPENDENCIES = $(STORE_LIBS_TO_BUILD)
60 ## we need our local files too (but avoid -I. at all costs)
61 AM_CPPFLAGS += -I$(srcdir)
64 ## targets below to emulate distributed makefiles
73 ## Special Universal .h dependency test script
74 ## aborts if error encountered
75 testHeaders: $(srcdir)/ufs/*.h $(srcdir)/rock/*.h
76 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
77 ## diskd/ has no .h files
78 ## aufs/ has no .h files
81 CLEANFILES += testHeaders