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 AUTOMAKE_OPTIONS = subdir-objects
12 EXTRA_LTLIBRARIES = libaufs.la libdiskd.la libufs.la librock.la
13 noinst_LTLIBRARIES = $(STORE_LIBS_TO_BUILD) libfs.la
15 # aufs is a "fake" legacy store
16 libaufs_la_SOURCES = \
19 # diskd is a "fake" legacy store
20 libdiskd_la_SOURCES = \
26 ufs/UFSStoreState.cc \
32 ufs/StoreSearchUFS.h \
33 ufs/StoreSearchUFS.cc \
34 ufs/UFSSwapLogParser.h \
35 ufs/UFSSwapLogParser.cc \
39 librock_la_SOURCES = \
45 rock/RockIoRequests.cc \
46 rock/RockIoRequests.h \
49 rock/RockStoreFileSystem.cc \
50 rock/RockStoreFileSystem.h \
54 libfs_la_SOURCES = Module.cc Module.h
55 libfs_la_LIBADD = $(STORE_LIBS_TO_BUILD)
56 libfs_la_DEPENDENCIES = $(STORE_LIBS_TO_BUILD)
58 ## we need our local files too (but avoid -I. at all costs)
59 AM_CPPFLAGS += -I$(srcdir)
62 ## targets below to emulate distributed makefiles
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
79 CLEANFILES += testHeaders