Whamcloud - gitweb
81f1805e7d91fe69dad66a3c29236af24b234773
[fs/lustre-release.git] / lustre / obdfs / 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 # 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 = flushd.c rw.c file.c dir.c sysctl.c super.c namei.c symlink.c
97 obdfs_SOURCES = rw.c file.c dir.c sysctl.c super.c namei.c symlink.c
98 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
99 CONFIG_CLEAN_FILES = 
100
101 DEFS = @DEFS@ -I. -I$(srcdir) 
102 CPPFLAGS = @CPPFLAGS@
103 LDFLAGS = @LDFLAGS@
104 LIBS = @LIBS@
105 obdfs_OBJECTS =  rw.o file.o dir.o sysctl.o super.o namei.o symlink.o
106 obdfs_LDADD = $(LDADD)
107 obdfs_DEPENDENCIES = 
108 obdfs_LDFLAGS = 
109 CFLAGS = @CFLAGS@
110 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
111 CCLD = $(CC)
112 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
113 DATA =  $(modulefs_DATA)
114
115 DIST_COMMON =  README Makefile.am Makefile.in
116
117
118 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
119
120 TAR = gtar
121 GZIP_ENV = --best
122 DEP_FILES =  .deps/dir.P .deps/file.P .deps/namei.P .deps/rw.P \
123 .deps/super.P .deps/symlink.P .deps/sysctl.P
124 SOURCES = $(obdfs_SOURCES)
125 OBJECTS = $(obdfs_OBJECTS)
126
127 all: all-redirect
128 .SUFFIXES:
129 .SUFFIXES: .S .c .o .s
130 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Rules
131         cd $(top_srcdir) && $(AUTOMAKE) --gnu obdfs/Makefile
132
133 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
134         cd $(top_builddir) \
135           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
136
137
138 .s.o:
139         $(COMPILE) -c $<
140
141 .S.o:
142         $(COMPILE) -c $<
143
144 mostlyclean-compile:
145         -rm -f *.o core *.core
146
147 clean-compile:
148
149 distclean-compile:
150         -rm -f *.tab.c
151
152 maintainer-clean-compile:
153
154 obdfs: $(obdfs_OBJECTS) $(obdfs_DEPENDENCIES)
155         @rm -f obdfs
156         $(LINK) $(obdfs_LDFLAGS) $(obdfs_OBJECTS) $(obdfs_LDADD) $(LIBS)
157
158 install-modulefsDATA: $(modulefs_DATA)
159         @$(NORMAL_INSTALL)
160         $(mkinstalldirs) $(DESTDIR)$(modulefsdir)
161         @list='$(modulefs_DATA)'; for p in $$list; do \
162           if test -f $(srcdir)/$$p; then \
163             echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modulefsdir)/$$p"; \
164             $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modulefsdir)/$$p; \
165           else if test -f $$p; then \
166             echo " $(INSTALL_DATA) $$p $(DESTDIR)$(modulefsdir)/$$p"; \
167             $(INSTALL_DATA) $$p $(DESTDIR)$(modulefsdir)/$$p; \
168           fi; fi; \
169         done
170
171 uninstall-modulefsDATA:
172         @$(NORMAL_UNINSTALL)
173         list='$(modulefs_DATA)'; for p in $$list; do \
174           rm -f $(DESTDIR)$(modulefsdir)/$$p; \
175         done
176
177 tags: TAGS
178
179 ID: $(HEADERS) $(SOURCES) $(LISP)
180         list='$(SOURCES) $(HEADERS)'; \
181         unique=`for i in $$list; do echo $$i; done | \
182           awk '    { files[$$0] = 1; } \
183                END { for (i in files) print i; }'`; \
184         here=`pwd` && cd $(srcdir) \
185           && mkid -f$$here/ID $$unique $(LISP)
186
187 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
188         tags=; \
189         here=`pwd`; \
190         list='$(SOURCES) $(HEADERS)'; \
191         unique=`for i in $$list; do echo $$i; done | \
192           awk '    { files[$$0] = 1; } \
193                END { for (i in files) print i; }'`; \
194         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
195           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
196
197 mostlyclean-tags:
198
199 clean-tags:
200
201 distclean-tags:
202         -rm -f TAGS ID
203
204 maintainer-clean-tags:
205
206 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
207
208 subdir = obdfs
209
210 distdir: $(DISTFILES)
211         here=`cd $(top_builddir) && pwd`; \
212         top_distdir=`cd $(top_distdir) && pwd`; \
213         distdir=`cd $(distdir) && pwd`; \
214         cd $(top_srcdir) \
215           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu obdfs/Makefile
216         @for file in $(DISTFILES); do \
217           d=$(srcdir); \
218           if test -d $$d/$$file; then \
219             cp -pr $$d/$$file $(distdir)/$$file; \
220           else \
221             test -f $(distdir)/$$file \
222             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
223             || cp -p $$d/$$file $(distdir)/$$file || :; \
224           fi; \
225         done
226
227 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
228
229 -include $(DEP_FILES)
230
231 mostlyclean-depend:
232
233 clean-depend:
234
235 distclean-depend:
236         -rm -rf .deps
237
238 maintainer-clean-depend:
239
240 %.o: %.c
241         @echo '$(COMPILE) -c $<'; \
242         $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
243         @-cp .deps/$(*F).pp .deps/$(*F).P; \
244         tr ' ' '\012' < .deps/$(*F).pp \
245           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
246             >> .deps/$(*F).P; \
247         rm .deps/$(*F).pp
248
249 %.lo: %.c
250         @echo '$(LTCOMPILE) -c $<'; \
251         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
252         @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
253           < .deps/$(*F).pp > .deps/$(*F).P; \
254         tr ' ' '\012' < .deps/$(*F).pp \
255           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
256             >> .deps/$(*F).P; \
257         rm -f .deps/$(*F).pp
258 info-am:
259 info: info-am
260 dvi-am:
261 dvi: dvi-am
262 check-am: all-am
263 check: check-am
264 installcheck-am:
265 installcheck: installcheck-am
266 install-exec-am:
267 install-exec: install-exec-am
268
269 install-data-am: install-modulefsDATA
270 install-data: install-data-am
271
272 install-am: all-am
273         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
274 install: install-am
275 uninstall-am: uninstall-modulefsDATA
276 uninstall: uninstall-am
277 all-am: Makefile $(DATA)
278 all-redirect: all-am
279 install-strip:
280         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
281 installdirs:
282         $(mkinstalldirs)  $(DESTDIR)$(modulefsdir)
283
284
285 mostlyclean-generic:
286
287 clean-generic:
288
289 distclean-generic:
290         -rm -f Makefile $(CONFIG_CLEAN_FILES)
291         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
292
293 maintainer-clean-generic:
294 mostlyclean-am:  mostlyclean-compile mostlyclean-tags mostlyclean-depend \
295                 mostlyclean-generic
296
297 mostlyclean: mostlyclean-am
298
299 clean-am:  clean-compile clean-tags clean-depend clean-generic \
300                 mostlyclean-am
301
302 clean: clean-am
303
304 distclean-am:  distclean-compile distclean-tags distclean-depend \
305                 distclean-generic clean-am
306
307 distclean: distclean-am
308
309 maintainer-clean-am:  maintainer-clean-compile maintainer-clean-tags \
310                 maintainer-clean-depend maintainer-clean-generic \
311                 distclean-am
312         @echo "This command is intended for maintainers to use;"
313         @echo "it deletes files that may require special tools to rebuild."
314
315 maintainer-clean: maintainer-clean-am
316
317 .PHONY: mostlyclean-compile distclean-compile clean-compile \
318 maintainer-clean-compile uninstall-modulefsDATA install-modulefsDATA \
319 tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
320 distdir mostlyclean-depend distclean-depend clean-depend \
321 maintainer-clean-depend info-am info dvi-am dvi check check-am \
322 installcheck-am installcheck install-exec-am install-exec \
323 install-data-am install-data install-am install uninstall-am uninstall \
324 all-redirect all-am all installdirs mostlyclean-generic \
325 distclean-generic clean-generic maintainer-clean-generic clean \
326 mostlyclean distclean maintainer-clean
327
328
329 $(MODULE).o: $($(MODULE)_OBJECTS)
330         $(LD) -m "`$(LD) --help | awk '/supported emulations/ {print $$4}'`" -r -o $(MODULE).o $($(MODULE)_OBJECTS)
331
332 # Tell versions [3.59,3.63) of GNU make to not export all variables.
333 # Otherwise a system limit (for SysV at least) may be exceeded.
334 .NOEXPORT: