Whamcloud - gitweb
Numerous changes:
[fs/lustre-release.git] / lustre / obdfs / 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 # Copyright (C) 2001  Cluster File Systems, Inc.
14 #
15 # This code is issued under the GNU General Public License.
16 # See the file COPYING in this distribution
17
18
19 # Copyright (C) 2001  Cluster File Systems, Inc.
20 #
21 # This code is issued under the GNU General Public License.
22 # See the file COPYING in this distribution
23
24 # Build a kernel module, name.o, and install it in $(moduledir) by:
25 #  MODULE = name
26 #  module_DATA = name.o
27 #  EXTRA_PROGRAMS = name
28 #  name_SOURCES = my.c files.c
29 #  include $(top_srcdir)/Rules
30
31
32 SHELL = @SHELL@
33
34 srcdir = @srcdir@
35 top_srcdir = @top_srcdir@
36 VPATH = @srcdir@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
39
40 bindir = @bindir@
41 sbindir = @sbindir@
42 libexecdir = @libexecdir@
43 datadir = @datadir@
44 sysconfdir = @sysconfdir@
45 sharedstatedir = @sharedstatedir@
46 localstatedir = @localstatedir@
47 libdir = @libdir@
48 infodir = @infodir@
49 mandir = @mandir@
50 includedir = @includedir@
51 oldincludedir = /usr/include
52
53 DESTDIR =
54
55 pkgdatadir = $(datadir)/@PACKAGE@
56 pkglibdir = $(libdir)/@PACKAGE@
57 pkgincludedir = $(includedir)/@PACKAGE@
58
59 top_builddir = ..
60
61 ACLOCAL = @ACLOCAL@
62 AUTOCONF = @AUTOCONF@
63 AUTOMAKE = @AUTOMAKE@
64 AUTOHEADER = @AUTOHEADER@
65
66 INSTALL = @INSTALL@
67 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
68 INSTALL_DATA = @INSTALL_DATA@
69 INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 transform = @program_transform_name@
71
72 NORMAL_INSTALL = :
73 PRE_INSTALL = :
74 POST_INSTALL = :
75 NORMAL_UNINSTALL = :
76 PRE_UNINSTALL = :
77 POST_UNINSTALL = :
78 CC = @CC@
79 KFLAGS = @KFLAGS@
80 LINUX = @LINUX@
81 MAKEINFO = @MAKEINFO@
82 MFLAGS = @MFLAGS@
83 PACKAGE = @PACKAGE@
84 RANLIB = @RANLIB@
85 RELEASE = @RELEASE@
86 SMPFLAG = @SMPFLAG@
87 VERSION = @VERSION@
88 demodir = @demodir@
89 docdir = @docdir@
90 moduledir = @moduledir@
91 modulefsdir = @modulefsdir@
92
93 MODULE = obdfs
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
98 CONFIG_CLEAN_FILES = 
99
100 DEFS = @DEFS@ -I. -I$(srcdir) 
101 CPPFLAGS = @CPPFLAGS@
102 LDFLAGS = @LDFLAGS@
103 LIBS = @LIBS@
104 obdfs_OBJECTS =  rw.o file.o dir.o sysctl.o super.o namei.o symlink.o
105 obdfs_LDADD = $(LDADD)
106 obdfs_DEPENDENCIES = 
107 obdfs_LDFLAGS = 
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 =  README 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/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)
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 obdfs/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 obdfs: $(obdfs_OBJECTS) $(obdfs_DEPENDENCIES)
154         @rm -f obdfs
155         $(LINK) $(obdfs_LDFLAGS) $(obdfs_OBJECTS) $(obdfs_LDADD) $(LIBS)
156
157 install-modulefsDATA: $(modulefs_DATA)
158         @$(NORMAL_INSTALL)
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; \
167           fi; fi; \
168         done
169
170 uninstall-modulefsDATA:
171         @$(NORMAL_UNINSTALL)
172         list='$(modulefs_DATA)'; for p in $$list; do \
173           rm -f $(DESTDIR)$(modulefsdir)/$$p; \
174         done
175
176 tags: TAGS
177
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)
185
186 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
187         tags=; \
188         here=`pwd`; \
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)
195
196 mostlyclean-tags:
197
198 clean-tags:
199
200 distclean-tags:
201         -rm -f TAGS ID
202
203 maintainer-clean-tags:
204
205 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
206
207 subdir = obdfs
208
209 distdir: $(DISTFILES)
210         here=`cd $(top_builddir) && pwd`; \
211         top_distdir=`cd $(top_distdir) && pwd`; \
212         distdir=`cd $(distdir) && pwd`; \
213         cd $(top_srcdir) \
214           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu obdfs/Makefile
215         @for file in $(DISTFILES); do \
216           d=$(srcdir); \
217           if test -d $$d/$$file; then \
218             cp -pr $$d/$$file $(distdir)/$$file; \
219           else \
220             test -f $(distdir)/$$file \
221             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
222             || cp -p $$d/$$file $(distdir)/$$file || :; \
223           fi; \
224         done
225
226 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
227
228 -include $(DEP_FILES)
229
230 mostlyclean-depend:
231
232 clean-depend:
233
234 distclean-depend:
235         -rm -rf .deps
236
237 maintainer-clean-depend:
238
239 %.o: %.c
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/$$/ :/' \
245             >> .deps/$(*F).P; \
246         rm .deps/$(*F).pp
247
248 %.lo: %.c
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/$$/ :/' \
255             >> .deps/$(*F).P; \
256         rm -f .deps/$(*F).pp
257 info-am:
258 info: info-am
259 dvi-am:
260 dvi: dvi-am
261 check-am: all-am
262 check: check-am
263 installcheck-am:
264 installcheck: installcheck-am
265 install-exec-am:
266 install-exec: install-exec-am
267
268 install-data-am: install-modulefsDATA
269 install-data: install-data-am
270
271 install-am: all-am
272         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
273 install: install-am
274 uninstall-am: uninstall-modulefsDATA
275 uninstall: uninstall-am
276 all-am: Makefile $(DATA)
277 all-redirect: all-am
278 install-strip:
279         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
280 installdirs:
281         $(mkinstalldirs)  $(DESTDIR)$(modulefsdir)
282
283
284 mostlyclean-generic:
285
286 clean-generic:
287
288 distclean-generic:
289         -rm -f Makefile $(CONFIG_CLEAN_FILES)
290         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
291
292 maintainer-clean-generic:
293 mostlyclean-am:  mostlyclean-compile mostlyclean-tags mostlyclean-depend \
294                 mostlyclean-generic
295
296 mostlyclean: mostlyclean-am
297
298 clean-am:  clean-compile clean-tags clean-depend clean-generic \
299                 mostlyclean-am
300
301 clean: clean-am
302
303 distclean-am:  distclean-compile distclean-tags distclean-depend \
304                 distclean-generic clean-am
305
306 distclean: distclean-am
307
308 maintainer-clean-am:  maintainer-clean-compile maintainer-clean-tags \
309                 maintainer-clean-depend maintainer-clean-generic \
310                 distclean-am
311         @echo "This command is intended for maintainers to use;"
312         @echo "it deletes files that may require special tools to rebuild."
313
314 maintainer-clean: maintainer-clean-am
315
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
326
327
328 $(MODULE).o: $($(MODULE)_OBJECTS)
329         $(LD) -m "`$(LD) --help | awk '/supported emulations/ {print $$4}'`" -r -o $(MODULE).o $($(MODULE)_OBJECTS)
330
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.
333 .NOEXPORT: