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
14 # Copyright (C) 2001 Cluster File Systems, Inc.
16 # This code is issued under the GNU General Public License.
17 # See the file COPYING in this distribution
19 # Build a kernel module, name.o, and install it in $(moduledir) by:
21 # module_DATA = name.o
22 # EXTRA_PROGRAMS = name
23 # name_SOURCES = my.c files.c
24 # include $(top_srcdir)/Rules
30 top_srcdir = @top_srcdir@
33 exec_prefix = @exec_prefix@
37 libexecdir = @libexecdir@
39 sysconfdir = @sysconfdir@
40 sharedstatedir = @sharedstatedir@
41 localstatedir = @localstatedir@
45 includedir = @includedir@
46 oldincludedir = /usr/include
50 pkgdatadir = $(datadir)/@PACKAGE@
51 pkglibdir = $(libdir)/@PACKAGE@
52 pkgincludedir = $(includedir)/@PACKAGE@
59 AUTOHEADER = @AUTOHEADER@
62 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
63 INSTALL_DATA = @INSTALL_DATA@
64 INSTALL_SCRIPT = @INSTALL_SCRIPT@
65 transform = @program_transform_name@
85 moduledir = @moduledir@
86 modulefsdir = @modulefsdir@
89 modulefs_DATA = obdclass.o
90 EXTRA_PROGRAMS = obdclass
91 obdclass_SOURCES = genops.c proc_lustre.c class_obd.c sysctl.c
92 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
95 DEFS = @DEFS@ -I. -I$(srcdir)
99 obdclass_OBJECTS = genops.o proc_lustre.o class_obd.o sysctl.o
100 obdclass_LDADD = $(LDADD)
101 obdclass_DEPENDENCIES =
104 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
106 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
107 DATA = $(modulefs_DATA)
109 DIST_COMMON = Makefile.am Makefile.in
112 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
116 DEP_FILES = .deps/class_obd.P .deps/genops.P .deps/proc_lustre.P \
118 SOURCES = $(obdclass_SOURCES)
119 OBJECTS = $(obdclass_OBJECTS)
123 .SUFFIXES: .S .c .o .s
124 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Rules
125 cd $(top_srcdir) && $(AUTOMAKE) --gnu class/Makefile
127 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
129 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
139 -rm -f *.o core *.core
146 maintainer-clean-compile:
148 obdclass: $(obdclass_OBJECTS) $(obdclass_DEPENDENCIES)
150 $(LINK) $(obdclass_LDFLAGS) $(obdclass_OBJECTS) $(obdclass_LDADD) $(LIBS)
152 install-modulefsDATA: $(modulefs_DATA)
154 $(mkinstalldirs) $(DESTDIR)$(modulefsdir)
155 @list='$(modulefs_DATA)'; for p in $$list; do \
156 if test -f $(srcdir)/$$p; then \
157 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modulefsdir)/$$p"; \
158 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modulefsdir)/$$p; \
159 else if test -f $$p; then \
160 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(modulefsdir)/$$p"; \
161 $(INSTALL_DATA) $$p $(DESTDIR)$(modulefsdir)/$$p; \
165 uninstall-modulefsDATA:
167 list='$(modulefs_DATA)'; for p in $$list; do \
168 rm -f $(DESTDIR)$(modulefsdir)/$$p; \
173 ID: $(HEADERS) $(SOURCES) $(LISP)
174 list='$(SOURCES) $(HEADERS)'; \
175 unique=`for i in $$list; do echo $$i; done | \
176 awk ' { files[$$0] = 1; } \
177 END { for (i in files) print i; }'`; \
178 here=`pwd` && cd $(srcdir) \
179 && mkid -f$$here/ID $$unique $(LISP)
181 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
184 list='$(SOURCES) $(HEADERS)'; \
185 unique=`for i in $$list; do echo $$i; done | \
186 awk ' { files[$$0] = 1; } \
187 END { for (i in files) print i; }'`; \
188 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
189 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
198 maintainer-clean-tags:
200 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
204 distdir: $(DISTFILES)
205 here=`cd $(top_builddir) && pwd`; \
206 top_distdir=`cd $(top_distdir) && pwd`; \
207 distdir=`cd $(distdir) && pwd`; \
209 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu class/Makefile
210 @for file in $(DISTFILES); do \
212 if test -d $$d/$$file; then \
213 cp -pr $$d/$$file $(distdir)/$$file; \
215 test -f $(distdir)/$$file \
216 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
217 || cp -p $$d/$$file $(distdir)/$$file || :; \
221 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
223 -include $(DEP_FILES)
232 maintainer-clean-depend:
235 @echo '$(COMPILE) -c $<'; \
236 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
237 @-cp .deps/$(*F).pp .deps/$(*F).P; \
238 tr ' ' '\012' < .deps/$(*F).pp \
239 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
244 @echo '$(LTCOMPILE) -c $<'; \
245 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
246 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
247 < .deps/$(*F).pp > .deps/$(*F).P; \
248 tr ' ' '\012' < .deps/$(*F).pp \
249 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
259 installcheck: installcheck-am
261 install-exec: install-exec-am
263 install-data-am: install-modulefsDATA
264 install-data: install-data-am
267 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
269 uninstall-am: uninstall-modulefsDATA
270 uninstall: uninstall-am
271 all-am: Makefile $(DATA)
274 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
276 $(mkinstalldirs) $(DESTDIR)$(modulefsdir)
284 -rm -f Makefile $(CONFIG_CLEAN_FILES)
285 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
287 maintainer-clean-generic:
288 mostlyclean-am: mostlyclean-compile mostlyclean-tags mostlyclean-depend \
291 mostlyclean: mostlyclean-am
293 clean-am: clean-compile clean-tags clean-depend clean-generic \
298 distclean-am: distclean-compile distclean-tags distclean-depend \
299 distclean-generic clean-am
301 distclean: distclean-am
303 maintainer-clean-am: maintainer-clean-compile maintainer-clean-tags \
304 maintainer-clean-depend maintainer-clean-generic \
306 @echo "This command is intended for maintainers to use;"
307 @echo "it deletes files that may require special tools to rebuild."
309 maintainer-clean: maintainer-clean-am
311 .PHONY: mostlyclean-compile distclean-compile clean-compile \
312 maintainer-clean-compile uninstall-modulefsDATA install-modulefsDATA \
313 tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
314 distdir mostlyclean-depend distclean-depend clean-depend \
315 maintainer-clean-depend info-am info dvi-am dvi check check-am \
316 installcheck-am installcheck install-exec-am install-exec \
317 install-data-am install-data install-am install uninstall-am uninstall \
318 all-redirect all-am all installdirs mostlyclean-generic \
319 distclean-generic clean-generic maintainer-clean-generic clean \
320 mostlyclean distclean maintainer-clean
323 $(MODULE).o: $($(MODULE)_OBJECTS)
324 $(LD) -m "`$(LD) --help | awk '/supported emulations/ {print $$4}'`" -r -o $(MODULE).o $($(MODULE)_OBJECTS)
326 # Tell versions [3.59,3.63) of GNU make to not export all variables.
327 # Otherwise a system limit (for SysV at least) may be exceeded.