Whamcloud - gitweb
A solid part of the MDS request processing infrastructure.
[fs/lustre-release.git] / lustre / obdclass / Makefile.in
1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
2
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.
7
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
11 # PARTICULAR PURPOSE.
12
13
14 # Copyright (C) 2001  Cluster File Systems, Inc.
15 #
16 # This code is issued under the GNU General Public License.
17 # See the file COPYING in this distribution
18
19 # Build a kernel module, name.o, and install it in $(moduledir) by:
20 #  MODULE = name
21 #  module_DATA = name.o
22 #  EXTRA_PROGRAMS = name
23 #  name_SOURCES = my.c files.c
24 #  include $(top_srcdir)/Rules
25
26
27 SHELL = @SHELL@
28
29 srcdir = @srcdir@
30 top_srcdir = @top_srcdir@
31 VPATH = @srcdir@
32 prefix = @prefix@
33 exec_prefix = @exec_prefix@
34
35 bindir = @bindir@
36 sbindir = @sbindir@
37 libexecdir = @libexecdir@
38 datadir = @datadir@
39 sysconfdir = @sysconfdir@
40 sharedstatedir = @sharedstatedir@
41 localstatedir = @localstatedir@
42 libdir = @libdir@
43 infodir = @infodir@
44 mandir = @mandir@
45 includedir = @includedir@
46 oldincludedir = /usr/include
47
48 DESTDIR =
49
50 pkgdatadir = $(datadir)/@PACKAGE@
51 pkglibdir = $(libdir)/@PACKAGE@
52 pkgincludedir = $(includedir)/@PACKAGE@
53
54 top_builddir = ..
55
56 ACLOCAL = @ACLOCAL@
57 AUTOCONF = @AUTOCONF@
58 AUTOMAKE = @AUTOMAKE@
59 AUTOHEADER = @AUTOHEADER@
60
61 INSTALL = @INSTALL@
62 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
63 INSTALL_DATA = @INSTALL_DATA@
64 INSTALL_SCRIPT = @INSTALL_SCRIPT@
65 transform = @program_transform_name@
66
67 NORMAL_INSTALL = :
68 PRE_INSTALL = :
69 POST_INSTALL = :
70 NORMAL_UNINSTALL = :
71 PRE_UNINSTALL = :
72 POST_UNINSTALL = :
73 CC = @CC@
74 KFLAGS = @KFLAGS@
75 LINUX = @LINUX@
76 MAKEINFO = @MAKEINFO@
77 MFLAGS = @MFLAGS@
78 PACKAGE = @PACKAGE@
79 RANLIB = @RANLIB@
80 RELEASE = @RELEASE@
81 SMPFLAG = @SMPFLAG@
82 VERSION = @VERSION@
83 demodir = @demodir@
84 docdir = @docdir@
85 moduledir = @moduledir@
86 modulefsdir = @modulefsdir@
87
88 MODULE = obdclass
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
93 CONFIG_CLEAN_FILES = 
94
95 DEFS = @DEFS@ -I. -I$(srcdir) 
96 CPPFLAGS = @CPPFLAGS@
97 LDFLAGS = @LDFLAGS@
98 LIBS = @LIBS@
99 obdclass_OBJECTS =  genops.o proc_lustre.o class_obd.o sysctl.o
100 obdclass_LDADD = $(LDADD)
101 obdclass_DEPENDENCIES = 
102 obdclass_LDFLAGS = 
103 CFLAGS = @CFLAGS@
104 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
105 CCLD = $(CC)
106 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
107 DATA =  $(modulefs_DATA)
108
109 DIST_COMMON =  Makefile.am Makefile.in
110
111
112 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
113
114 TAR = gtar
115 GZIP_ENV = --best
116 DEP_FILES =  .deps/class_obd.P .deps/genops.P .deps/proc_lustre.P \
117 .deps/sysctl.P
118 SOURCES = $(obdclass_SOURCES)
119 OBJECTS = $(obdclass_OBJECTS)
120
121 all: all-redirect
122 .SUFFIXES:
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
126
127 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
128         cd $(top_builddir) \
129           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
130
131
132 .s.o:
133         $(COMPILE) -c $<
134
135 .S.o:
136         $(COMPILE) -c $<
137
138 mostlyclean-compile:
139         -rm -f *.o core *.core
140
141 clean-compile:
142
143 distclean-compile:
144         -rm -f *.tab.c
145
146 maintainer-clean-compile:
147
148 obdclass: $(obdclass_OBJECTS) $(obdclass_DEPENDENCIES)
149         @rm -f obdclass
150         $(LINK) $(obdclass_LDFLAGS) $(obdclass_OBJECTS) $(obdclass_LDADD) $(LIBS)
151
152 install-modulefsDATA: $(modulefs_DATA)
153         @$(NORMAL_INSTALL)
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; \
162           fi; fi; \
163         done
164
165 uninstall-modulefsDATA:
166         @$(NORMAL_UNINSTALL)
167         list='$(modulefs_DATA)'; for p in $$list; do \
168           rm -f $(DESTDIR)$(modulefsdir)/$$p; \
169         done
170
171 tags: TAGS
172
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)
180
181 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
182         tags=; \
183         here=`pwd`; \
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)
190
191 mostlyclean-tags:
192
193 clean-tags:
194
195 distclean-tags:
196         -rm -f TAGS ID
197
198 maintainer-clean-tags:
199
200 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
201
202 subdir = class
203
204 distdir: $(DISTFILES)
205         here=`cd $(top_builddir) && pwd`; \
206         top_distdir=`cd $(top_distdir) && pwd`; \
207         distdir=`cd $(distdir) && pwd`; \
208         cd $(top_srcdir) \
209           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu class/Makefile
210         @for file in $(DISTFILES); do \
211           d=$(srcdir); \
212           if test -d $$d/$$file; then \
213             cp -pr $$d/$$file $(distdir)/$$file; \
214           else \
215             test -f $(distdir)/$$file \
216             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
217             || cp -p $$d/$$file $(distdir)/$$file || :; \
218           fi; \
219         done
220
221 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
222
223 -include $(DEP_FILES)
224
225 mostlyclean-depend:
226
227 clean-depend:
228
229 distclean-depend:
230         -rm -rf .deps
231
232 maintainer-clean-depend:
233
234 %.o: %.c
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/$$/ :/' \
240             >> .deps/$(*F).P; \
241         rm .deps/$(*F).pp
242
243 %.lo: %.c
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/$$/ :/' \
250             >> .deps/$(*F).P; \
251         rm -f .deps/$(*F).pp
252 info-am:
253 info: info-am
254 dvi-am:
255 dvi: dvi-am
256 check-am: all-am
257 check: check-am
258 installcheck-am:
259 installcheck: installcheck-am
260 install-exec-am:
261 install-exec: install-exec-am
262
263 install-data-am: install-modulefsDATA
264 install-data: install-data-am
265
266 install-am: all-am
267         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
268 install: install-am
269 uninstall-am: uninstall-modulefsDATA
270 uninstall: uninstall-am
271 all-am: Makefile $(DATA)
272 all-redirect: all-am
273 install-strip:
274         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
275 installdirs:
276         $(mkinstalldirs)  $(DESTDIR)$(modulefsdir)
277
278
279 mostlyclean-generic:
280
281 clean-generic:
282
283 distclean-generic:
284         -rm -f Makefile $(CONFIG_CLEAN_FILES)
285         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
286
287 maintainer-clean-generic:
288 mostlyclean-am:  mostlyclean-compile mostlyclean-tags mostlyclean-depend \
289                 mostlyclean-generic
290
291 mostlyclean: mostlyclean-am
292
293 clean-am:  clean-compile clean-tags clean-depend clean-generic \
294                 mostlyclean-am
295
296 clean: clean-am
297
298 distclean-am:  distclean-compile distclean-tags distclean-depend \
299                 distclean-generic clean-am
300
301 distclean: distclean-am
302
303 maintainer-clean-am:  maintainer-clean-compile maintainer-clean-tags \
304                 maintainer-clean-depend maintainer-clean-generic \
305                 distclean-am
306         @echo "This command is intended for maintainers to use;"
307         @echo "it deletes files that may require special tools to rebuild."
308
309 maintainer-clean: maintainer-clean-am
310
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
321
322
323 $(MODULE).o: $($(MODULE)_OBJECTS)
324         $(LD) -m "`$(LD) --help | awk '/supported emulations/ {print $$4}'`" -r -o $(MODULE).o $($(MODULE)_OBJECTS)
325
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.
328 .NOEXPORT: