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
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@
88 bin_SCRIPTS = obdcontrol
89 EXTRA_DIST = $(bin_SCRIPTS)
92 modulefs_DATA = obdclass.o
93 EXTRA_PROGRAMS = obdclass
94 obdclass_SOURCES = genops.c proc_lustre.c class_obd.c sysctl.c
95 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
98 DEFS = @DEFS@ -I. -I$(srcdir)
102 obdclass_OBJECTS = genops.o proc_lustre.o class_obd.o sysctl.o
103 obdclass_LDADD = $(LDADD)
104 obdclass_DEPENDENCIES =
106 SCRIPTS = $(bin_SCRIPTS)
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 = Makefile.am Makefile.in
117 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
121 DEP_FILES = .deps/class_obd.P .deps/genops.P .deps/proc_lustre.P \
123 SOURCES = $(obdclass_SOURCES)
124 OBJECTS = $(obdclass_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 class/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 obdclass: $(obdclass_OBJECTS) $(obdclass_DEPENDENCIES)
155 $(LINK) $(obdclass_LDFLAGS) $(obdclass_OBJECTS) $(obdclass_LDADD) $(LIBS)
157 install-binSCRIPTS: $(bin_SCRIPTS)
159 $(mkinstalldirs) $(DESTDIR)$(bindir)
160 @list='$(bin_SCRIPTS)'; for p in $$list; do \
161 if test -f $$p; then \
162 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
163 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
164 else if test -f $(srcdir)/$$p; then \
165 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
166 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
170 uninstall-binSCRIPTS:
172 list='$(bin_SCRIPTS)'; for p in $$list; do \
173 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
176 install-modulefsDATA: $(modulefs_DATA)
178 $(mkinstalldirs) $(DESTDIR)$(modulefsdir)
179 @list='$(modulefs_DATA)'; for p in $$list; do \
180 if test -f $(srcdir)/$$p; then \
181 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modulefsdir)/$$p"; \
182 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modulefsdir)/$$p; \
183 else if test -f $$p; then \
184 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(modulefsdir)/$$p"; \
185 $(INSTALL_DATA) $$p $(DESTDIR)$(modulefsdir)/$$p; \
189 uninstall-modulefsDATA:
191 list='$(modulefs_DATA)'; for p in $$list; do \
192 rm -f $(DESTDIR)$(modulefsdir)/$$p; \
197 ID: $(HEADERS) $(SOURCES) $(LISP)
198 list='$(SOURCES) $(HEADERS)'; \
199 unique=`for i in $$list; do echo $$i; done | \
200 awk ' { files[$$0] = 1; } \
201 END { for (i in files) print i; }'`; \
202 here=`pwd` && cd $(srcdir) \
203 && mkid -f$$here/ID $$unique $(LISP)
205 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
208 list='$(SOURCES) $(HEADERS)'; \
209 unique=`for i in $$list; do echo $$i; done | \
210 awk ' { files[$$0] = 1; } \
211 END { for (i in files) print i; }'`; \
212 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
213 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
222 maintainer-clean-tags:
224 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
228 distdir: $(DISTFILES)
229 here=`cd $(top_builddir) && pwd`; \
230 top_distdir=`cd $(top_distdir) && pwd`; \
231 distdir=`cd $(distdir) && pwd`; \
233 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu class/Makefile
234 @for file in $(DISTFILES); do \
236 if test -d $$d/$$file; then \
237 cp -pr $$d/$$file $(distdir)/$$file; \
239 test -f $(distdir)/$$file \
240 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
241 || cp -p $$d/$$file $(distdir)/$$file || :; \
245 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
247 -include $(DEP_FILES)
256 maintainer-clean-depend:
259 @echo '$(COMPILE) -c $<'; \
260 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
261 @-cp .deps/$(*F).pp .deps/$(*F).P; \
262 tr ' ' '\012' < .deps/$(*F).pp \
263 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
268 @echo '$(LTCOMPILE) -c $<'; \
269 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
270 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
271 < .deps/$(*F).pp > .deps/$(*F).P; \
272 tr ' ' '\012' < .deps/$(*F).pp \
273 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
283 installcheck: installcheck-am
284 install-exec-am: install-binSCRIPTS
285 install-exec: install-exec-am
287 install-data-am: install-modulefsDATA
288 install-data: install-data-am
291 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
293 uninstall-am: uninstall-binSCRIPTS uninstall-modulefsDATA
294 uninstall: uninstall-am
295 all-am: Makefile $(SCRIPTS) $(DATA)
298 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
300 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(modulefsdir)
308 -rm -f Makefile $(CONFIG_CLEAN_FILES)
309 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
311 maintainer-clean-generic:
312 mostlyclean-am: mostlyclean-compile mostlyclean-tags mostlyclean-depend \
315 mostlyclean: mostlyclean-am
317 clean-am: clean-compile clean-tags clean-depend clean-generic \
322 distclean-am: distclean-compile distclean-tags distclean-depend \
323 distclean-generic clean-am
325 distclean: distclean-am
327 maintainer-clean-am: maintainer-clean-compile maintainer-clean-tags \
328 maintainer-clean-depend maintainer-clean-generic \
330 @echo "This command is intended for maintainers to use;"
331 @echo "it deletes files that may require special tools to rebuild."
333 maintainer-clean: maintainer-clean-am
335 .PHONY: mostlyclean-compile distclean-compile clean-compile \
336 maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS \
337 uninstall-modulefsDATA install-modulefsDATA tags mostlyclean-tags \
338 distclean-tags clean-tags maintainer-clean-tags distdir \
339 mostlyclean-depend distclean-depend clean-depend \
340 maintainer-clean-depend info-am info dvi-am dvi check check-am \
341 installcheck-am installcheck install-exec-am install-exec \
342 install-data-am install-data install-am install uninstall-am uninstall \
343 all-redirect all-am all installdirs mostlyclean-generic \
344 distclean-generic clean-generic maintainer-clean-generic clean \
345 mostlyclean distclean maintainer-clean
348 $(MODULE).o: $($(MODULE)_OBJECTS)
349 $(LD) -m "`$(LD) --help | awk '/supported emulations/ {print $$4}'`" -r -o $(MODULE).o $($(MODULE)_OBJECTS)
351 # Tell versions [3.59,3.63) of GNU make to not export all variables.
352 # Otherwise a system limit (for SysV at least) may be exceeded.