1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999, 2001 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 = 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 = rw.o file.o dir.o sysctl.o super.o namei.o symlink.o
105 obdfs_LDADD = $(LDADD)
109 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
111 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
112 DATA = $(modulefs_DATA)
114 DIST_COMMON = README Makefile.am Makefile.in
117 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
121 DEP_FILES = .deps/dir.P .deps/file.P .deps/namei.P .deps/rw.P \
122 .deps/super.P .deps/symlink.P .deps/sysctl.P
123 SOURCES = $(obdfs_SOURCES)
124 OBJECTS = $(obdfs_OBJECTS)
128 .SUFFIXES: .S .c .o .s
129 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Rules
130 cd $(top_srcdir) && $(AUTOMAKE) --gnu obdfs/Makefile
132 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
134 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
144 -rm -f *.o core *.core
151 maintainer-clean-compile:
153 obdfs: $(obdfs_OBJECTS) $(obdfs_DEPENDENCIES)
155 $(LINK) $(obdfs_LDFLAGS) $(obdfs_OBJECTS) $(obdfs_LDADD) $(LIBS)
157 install-modulefsDATA: $(modulefs_DATA)
159 $(mkinstalldirs) $(DESTDIR)$(modulefsdir)
160 @list='$(modulefs_DATA)'; for p in $$list; do \
161 if test -f $(srcdir)/$$p; then \
162 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modulefsdir)/$$p"; \
163 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modulefsdir)/$$p; \
164 else if test -f $$p; then \
165 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(modulefsdir)/$$p"; \
166 $(INSTALL_DATA) $$p $(DESTDIR)$(modulefsdir)/$$p; \
170 uninstall-modulefsDATA:
172 list='$(modulefs_DATA)'; for p in $$list; do \
173 rm -f $(DESTDIR)$(modulefsdir)/$$p; \
178 ID: $(HEADERS) $(SOURCES) $(LISP)
179 list='$(SOURCES) $(HEADERS)'; \
180 unique=`for i in $$list; do echo $$i; done | \
181 awk ' { files[$$0] = 1; } \
182 END { for (i in files) print i; }'`; \
183 here=`pwd` && cd $(srcdir) \
184 && mkid -f$$here/ID $$unique $(LISP)
186 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
189 list='$(SOURCES) $(HEADERS)'; \
190 unique=`for i in $$list; do echo $$i; done | \
191 awk ' { files[$$0] = 1; } \
192 END { for (i in files) print i; }'`; \
193 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
194 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
203 maintainer-clean-tags:
205 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
209 distdir: $(DISTFILES)
210 here=`cd $(top_builddir) && pwd`; \
211 top_distdir=`cd $(top_distdir) && pwd`; \
212 distdir=`cd $(distdir) && pwd`; \
214 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu obdfs/Makefile
215 @for file in $(DISTFILES); do \
217 if test -d $$d/$$file; then \
218 cp -pr $$d/$$file $(distdir)/$$file; \
220 test -f $(distdir)/$$file \
221 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
222 || cp -p $$d/$$file $(distdir)/$$file || :; \
226 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
228 -include $(DEP_FILES)
237 maintainer-clean-depend:
240 @echo '$(COMPILE) -c $<'; \
241 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
242 @-cp .deps/$(*F).pp .deps/$(*F).P; \
243 tr ' ' '\012' < .deps/$(*F).pp \
244 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
249 @echo '$(LTCOMPILE) -c $<'; \
250 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
251 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
252 < .deps/$(*F).pp > .deps/$(*F).P; \
253 tr ' ' '\012' < .deps/$(*F).pp \
254 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
264 installcheck: installcheck-am
266 install-exec: install-exec-am
268 install-data-am: install-modulefsDATA
269 install-data: install-data-am
272 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
274 uninstall-am: uninstall-modulefsDATA
275 uninstall: uninstall-am
276 all-am: Makefile $(DATA)
279 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
281 $(mkinstalldirs) $(DESTDIR)$(modulefsdir)
289 -rm -f Makefile $(CONFIG_CLEAN_FILES)
290 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
292 maintainer-clean-generic:
293 mostlyclean-am: mostlyclean-compile mostlyclean-tags mostlyclean-depend \
296 mostlyclean: mostlyclean-am
298 clean-am: clean-compile clean-tags clean-depend clean-generic \
303 distclean-am: distclean-compile distclean-tags distclean-depend \
304 distclean-generic clean-am
306 distclean: distclean-am
308 maintainer-clean-am: maintainer-clean-compile maintainer-clean-tags \
309 maintainer-clean-depend maintainer-clean-generic \
311 @echo "This command is intended for maintainers to use;"
312 @echo "it deletes files that may require special tools to rebuild."
314 maintainer-clean: maintainer-clean-am
316 .PHONY: mostlyclean-compile distclean-compile clean-compile \
317 maintainer-clean-compile uninstall-modulefsDATA install-modulefsDATA \
318 tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
319 distdir mostlyclean-depend distclean-depend clean-depend \
320 maintainer-clean-depend info-am info dvi-am dvi check check-am \
321 installcheck-am installcheck install-exec-am install-exec \
322 install-data-am install-data install-am install uninstall-am uninstall \
323 all-redirect all-am all installdirs mostlyclean-generic \
324 distclean-generic clean-generic maintainer-clean-generic clean \
325 mostlyclean distclean maintainer-clean
328 $(MODULE).o: $($(MODULE)_OBJECTS)
329 $(LD) -m "`$(LD) --help | awk '/supported emulations/ {print $$4}'`" -r -o $(MODULE).o $($(MODULE)_OBJECTS)
331 # Tell versions [3.59,3.63) of GNU make to not export all variables.
332 # Otherwise a system limit (for SysV at least) may be exceeded.