Whamcloud - gitweb
- ext2_obd.c --- fix the bugs in read/write for Linux 2.4.3
[fs/lustre-release.git] / lustre / obdclass / Makefile.in
1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
2
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.
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 bin_SCRIPTS = obdcontrol
89 EXTRA_DIST = $(bin_SCRIPTS)
90
91 MODULE = obdclass
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
96 CONFIG_CLEAN_FILES = 
97
98 DEFS = @DEFS@ -I. -I$(srcdir) 
99 CPPFLAGS = @CPPFLAGS@
100 LDFLAGS = @LDFLAGS@
101 LIBS = @LIBS@
102 obdclass_OBJECTS =  genops.o proc_lustre.o class_obd.o sysctl.o
103 obdclass_LDADD = $(LDADD)
104 obdclass_DEPENDENCIES = 
105 obdclass_LDFLAGS = 
106 SCRIPTS =  $(bin_SCRIPTS)
107
108 CFLAGS = @CFLAGS@
109 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
110 CCLD = $(CC)
111 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
112 DATA =  $(modulefs_DATA)
113
114 DIST_COMMON =  Makefile.am Makefile.in
115
116
117 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
118
119 TAR = gtar
120 GZIP_ENV = --best
121 DEP_FILES =  .deps/class_obd.P .deps/genops.P .deps/proc_lustre.P \
122 .deps/sysctl.P
123 SOURCES = $(obdclass_SOURCES)
124 OBJECTS = $(obdclass_OBJECTS)
125
126 all: all-redirect
127 .SUFFIXES:
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
131
132 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
133         cd $(top_builddir) \
134           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
135
136
137 .s.o:
138         $(COMPILE) -c $<
139
140 .S.o:
141         $(COMPILE) -c $<
142
143 mostlyclean-compile:
144         -rm -f *.o core *.core
145
146 clean-compile:
147
148 distclean-compile:
149         -rm -f *.tab.c
150
151 maintainer-clean-compile:
152
153 obdclass: $(obdclass_OBJECTS) $(obdclass_DEPENDENCIES)
154         @rm -f obdclass
155         $(LINK) $(obdclass_LDFLAGS) $(obdclass_OBJECTS) $(obdclass_LDADD) $(LIBS)
156
157 install-binSCRIPTS: $(bin_SCRIPTS)
158         @$(NORMAL_INSTALL)
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)'`; \
167           else :; fi; fi; \
168         done
169
170 uninstall-binSCRIPTS:
171         @$(NORMAL_UNINSTALL)
172         list='$(bin_SCRIPTS)'; for p in $$list; do \
173           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
174         done
175
176 install-modulefsDATA: $(modulefs_DATA)
177         @$(NORMAL_INSTALL)
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; \
186           fi; fi; \
187         done
188
189 uninstall-modulefsDATA:
190         @$(NORMAL_UNINSTALL)
191         list='$(modulefs_DATA)'; for p in $$list; do \
192           rm -f $(DESTDIR)$(modulefsdir)/$$p; \
193         done
194
195 tags: TAGS
196
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)
204
205 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
206         tags=; \
207         here=`pwd`; \
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)
214
215 mostlyclean-tags:
216
217 clean-tags:
218
219 distclean-tags:
220         -rm -f TAGS ID
221
222 maintainer-clean-tags:
223
224 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
225
226 subdir = class
227
228 distdir: $(DISTFILES)
229         here=`cd $(top_builddir) && pwd`; \
230         top_distdir=`cd $(top_distdir) && pwd`; \
231         distdir=`cd $(distdir) && pwd`; \
232         cd $(top_srcdir) \
233           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu class/Makefile
234         @for file in $(DISTFILES); do \
235           d=$(srcdir); \
236           if test -d $$d/$$file; then \
237             cp -pr $$d/$$file $(distdir)/$$file; \
238           else \
239             test -f $(distdir)/$$file \
240             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
241             || cp -p $$d/$$file $(distdir)/$$file || :; \
242           fi; \
243         done
244
245 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
246
247 -include $(DEP_FILES)
248
249 mostlyclean-depend:
250
251 clean-depend:
252
253 distclean-depend:
254         -rm -rf .deps
255
256 maintainer-clean-depend:
257
258 %.o: %.c
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/$$/ :/' \
264             >> .deps/$(*F).P; \
265         rm .deps/$(*F).pp
266
267 %.lo: %.c
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/$$/ :/' \
274             >> .deps/$(*F).P; \
275         rm -f .deps/$(*F).pp
276 info-am:
277 info: info-am
278 dvi-am:
279 dvi: dvi-am
280 check-am: all-am
281 check: check-am
282 installcheck-am:
283 installcheck: installcheck-am
284 install-exec-am: install-binSCRIPTS
285 install-exec: install-exec-am
286
287 install-data-am: install-modulefsDATA
288 install-data: install-data-am
289
290 install-am: all-am
291         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
292 install: install-am
293 uninstall-am: uninstall-binSCRIPTS uninstall-modulefsDATA
294 uninstall: uninstall-am
295 all-am: Makefile $(SCRIPTS) $(DATA)
296 all-redirect: all-am
297 install-strip:
298         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
299 installdirs:
300         $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(modulefsdir)
301
302
303 mostlyclean-generic:
304
305 clean-generic:
306
307 distclean-generic:
308         -rm -f Makefile $(CONFIG_CLEAN_FILES)
309         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
310
311 maintainer-clean-generic:
312 mostlyclean-am:  mostlyclean-compile mostlyclean-tags mostlyclean-depend \
313                 mostlyclean-generic
314
315 mostlyclean: mostlyclean-am
316
317 clean-am:  clean-compile clean-tags clean-depend clean-generic \
318                 mostlyclean-am
319
320 clean: clean-am
321
322 distclean-am:  distclean-compile distclean-tags distclean-depend \
323                 distclean-generic clean-am
324
325 distclean: distclean-am
326
327 maintainer-clean-am:  maintainer-clean-compile maintainer-clean-tags \
328                 maintainer-clean-depend maintainer-clean-generic \
329                 distclean-am
330         @echo "This command is intended for maintainers to use;"
331         @echo "it deletes files that may require special tools to rebuild."
332
333 maintainer-clean: maintainer-clean-am
334
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
346
347
348 $(MODULE).o: $($(MODULE)_OBJECTS)
349         $(LD) -m "`$(LD) --help | awk '/supported emulations/ {print $$4}'`" -r -o $(MODULE).o $($(MODULE)_OBJECTS)
350
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.
353 .NOEXPORT: