1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # Copyright (C) 2001 Cluster File Systems, Inc.
15 # This code is issued under the GNU General Public License.
16 # See the file COPYING in this distribution
19 # Copyright (C) 2001 Cluster File Systems, Inc.
21 # This code is issued under the GNU General Public License.
22 # See the file COPYING in this distribution
24 # Build a kernel module, name.o, and install it in $(moduledir) by:
26 # module_DATA = name.o
27 # EXTRA_PROGRAMS = name
28 # name_SOURCES = my.c files.c
29 # include $(top_srcdir)/Rules
35 top_srcdir = @top_srcdir@
38 exec_prefix = @exec_prefix@
42 libexecdir = @libexecdir@
44 sysconfdir = @sysconfdir@
45 sharedstatedir = @sharedstatedir@
46 localstatedir = @localstatedir@
50 includedir = @includedir@
51 oldincludedir = /usr/include
55 pkgdatadir = $(datadir)/@PACKAGE@
56 pkglibdir = $(libdir)/@PACKAGE@
57 pkgincludedir = $(includedir)/@PACKAGE@
64 AUTOHEADER = @AUTOHEADER@
67 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
68 INSTALL_DATA = @INSTALL_DATA@
69 INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 transform = @program_transform_name@
90 moduledir = @moduledir@
91 modulefsdir = @modulefsdir@
94 modulefs_DATA = obdfs.o
95 EXTRA_PROGRAMS = obdfs
96 obdfs_SOURCES = flushd.c rw.c file.c dir.c sysctl.c super.c namei.c symlink.c
97 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
100 DEFS = @DEFS@ -I. -I$(srcdir)
101 CPPFLAGS = @CPPFLAGS@
104 obdfs_OBJECTS = flushd.o rw.o file.o dir.o sysctl.o super.o namei.o \
106 obdfs_LDADD = $(LDADD)
110 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
112 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
113 DATA = $(modulefs_DATA)
115 DIST_COMMON = README Makefile.am Makefile.in
118 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
122 DEP_FILES = .deps/dir.P .deps/file.P .deps/flushd.P .deps/namei.P \
123 .deps/rw.P .deps/super.P .deps/symlink.P .deps/sysctl.P
124 SOURCES = $(obdfs_SOURCES)
125 OBJECTS = $(obdfs_OBJECTS)
129 .SUFFIXES: .S .c .o .s
130 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Rules
131 cd $(top_srcdir) && $(AUTOMAKE) --gnu obdfs/Makefile
133 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
135 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
145 -rm -f *.o core *.core
152 maintainer-clean-compile:
154 obdfs: $(obdfs_OBJECTS) $(obdfs_DEPENDENCIES)
156 $(LINK) $(obdfs_LDFLAGS) $(obdfs_OBJECTS) $(obdfs_LDADD) $(LIBS)
158 install-modulefsDATA: $(modulefs_DATA)
160 $(mkinstalldirs) $(DESTDIR)$(modulefsdir)
161 @list='$(modulefs_DATA)'; for p in $$list; do \
162 if test -f $(srcdir)/$$p; then \
163 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modulefsdir)/$$p"; \
164 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modulefsdir)/$$p; \
165 else if test -f $$p; then \
166 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(modulefsdir)/$$p"; \
167 $(INSTALL_DATA) $$p $(DESTDIR)$(modulefsdir)/$$p; \
171 uninstall-modulefsDATA:
173 list='$(modulefs_DATA)'; for p in $$list; do \
174 rm -f $(DESTDIR)$(modulefsdir)/$$p; \
179 ID: $(HEADERS) $(SOURCES) $(LISP)
180 list='$(SOURCES) $(HEADERS)'; \
181 unique=`for i in $$list; do echo $$i; done | \
182 awk ' { files[$$0] = 1; } \
183 END { for (i in files) print i; }'`; \
184 here=`pwd` && cd $(srcdir) \
185 && mkid -f$$here/ID $$unique $(LISP)
187 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
190 list='$(SOURCES) $(HEADERS)'; \
191 unique=`for i in $$list; do echo $$i; done | \
192 awk ' { files[$$0] = 1; } \
193 END { for (i in files) print i; }'`; \
194 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
195 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
204 maintainer-clean-tags:
206 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
210 distdir: $(DISTFILES)
211 here=`cd $(top_builddir) && pwd`; \
212 top_distdir=`cd $(top_distdir) && pwd`; \
213 distdir=`cd $(distdir) && pwd`; \
215 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu obdfs/Makefile
216 @for file in $(DISTFILES); do \
218 if test -d $$d/$$file; then \
219 cp -pr $$d/$$file $(distdir)/$$file; \
221 test -f $(distdir)/$$file \
222 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
223 || cp -p $$d/$$file $(distdir)/$$file || :; \
227 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
229 -include $(DEP_FILES)
238 maintainer-clean-depend:
241 @echo '$(COMPILE) -c $<'; \
242 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
243 @-cp .deps/$(*F).pp .deps/$(*F).P; \
244 tr ' ' '\012' < .deps/$(*F).pp \
245 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
250 @echo '$(LTCOMPILE) -c $<'; \
251 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
252 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
253 < .deps/$(*F).pp > .deps/$(*F).P; \
254 tr ' ' '\012' < .deps/$(*F).pp \
255 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
265 installcheck: installcheck-am
267 install-exec: install-exec-am
269 install-data-am: install-modulefsDATA
270 install-data: install-data-am
273 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
275 uninstall-am: uninstall-modulefsDATA
276 uninstall: uninstall-am
277 all-am: Makefile $(DATA)
280 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
282 $(mkinstalldirs) $(DESTDIR)$(modulefsdir)
290 -rm -f Makefile $(CONFIG_CLEAN_FILES)
291 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
293 maintainer-clean-generic:
294 mostlyclean-am: mostlyclean-compile mostlyclean-tags mostlyclean-depend \
297 mostlyclean: mostlyclean-am
299 clean-am: clean-compile clean-tags clean-depend clean-generic \
304 distclean-am: distclean-compile distclean-tags distclean-depend \
305 distclean-generic clean-am
307 distclean: distclean-am
309 maintainer-clean-am: maintainer-clean-compile maintainer-clean-tags \
310 maintainer-clean-depend maintainer-clean-generic \
312 @echo "This command is intended for maintainers to use;"
313 @echo "it deletes files that may require special tools to rebuild."
315 maintainer-clean: maintainer-clean-am
317 .PHONY: mostlyclean-compile distclean-compile clean-compile \
318 maintainer-clean-compile uninstall-modulefsDATA install-modulefsDATA \
319 tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
320 distdir mostlyclean-depend distclean-depend clean-depend \
321 maintainer-clean-depend info-am info dvi-am dvi check check-am \
322 installcheck-am installcheck install-exec-am install-exec \
323 install-data-am install-data install-am install uninstall-am uninstall \
324 all-redirect all-am all installdirs mostlyclean-generic \
325 distclean-generic clean-generic maintainer-clean-generic clean \
326 mostlyclean distclean maintainer-clean
329 $(MODULE).o: $($(MODULE)_OBJECTS)
330 $(LD) -m "`$(LD) --help | awk '/supported emulations/ {print $$4}'`" -r -o $(MODULE).o $($(MODULE)_OBJECTS)
332 # Tell versions [3.59,3.63) of GNU make to not export all variables.
333 # Otherwise a system limit (for SysV at least) may be exceeded.