1 ## Copyright (C) 1996-2015 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 = \
24 ufs/UFSStoreState.cc \
30 ufs/StoreSearchUFS.h \
31 ufs/StoreSearchUFS.cc \
32 ufs/UFSSwapLogParser.h \
33 ufs/UFSSwapLogParser.cc \
37 librock_la_SOURCES = \
43 rock/RockIoRequests.cc \
44 rock/RockIoRequests.h \
47 rock/RockStoreFileSystem.cc \
48 rock/RockStoreFileSystem.h \
52 libfs_la_SOURCES = Module.cc Module.h
53 libfs_la_LIBADD = $(STORE_LIBS_TO_BUILD)
54 libfs_la_DEPENDENCIES = $(STORE_LIBS_TO_BUILD)
56 ## we need our local files too (but avoid -I. at all costs)
57 AM_CPPFLAGS += -I$(srcdir)
60 ## targets below to emulate distributed makefiles
69 ## Special Universal .h dependency test script
70 ## aborts if error encountered
71 testHeaders: $(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
77 CLEANFILES += testHeaders