]> git.proxmox.com Git - mirror_spl.git/blame - Makefile.in
Build system cleanup
[mirror_spl.git] / Makefile.in
CommitLineData
bf9f3bac 1# Makefile.in generated by automake 1.9.6 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005 Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
c5f70460 16
bf9f3bac 17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@
23top_builddir = .
24am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25INSTALL = @INSTALL@
26install_sh_DATA = $(install_sh) -c -m 644
27install_sh_PROGRAM = $(install_sh) -c
28install_sh_SCRIPT = $(install_sh) -c
29INSTALL_HEADER = $(INSTALL_DATA)
30transform = $(program_transform_name)
31NORMAL_INSTALL = :
32PRE_INSTALL = :
33POST_INSTALL = :
34NORMAL_UNINSTALL = :
35PRE_UNINSTALL = :
36POST_UNINSTALL = :
37build_triplet = @build@
38host_triplet = @host@
39target_triplet = @target@
0c617c9a 40DIST_COMMON = $(am__configure_deps) $(noinst_HEADERS) \
c5f70460
BB
41 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
42 $(srcdir)/spl.spec.in $(srcdir)/spl_config.h.in \
617d5a67
BB
43 $(top_srcdir)/configure $(top_srcdir)/module/Makefile.in \
44 $(top_srcdir)/module/spl/Makefile.in \
45 $(top_srcdir)/module/splat/Makefile.in AUTHORS COPYING \
bf9f3bac 46 ChangeLog INSTALL config/config.guess config/config.sub \
47 config/depcomp config/install-sh config/ltmain.sh \
48 config/missing
49subdir = .
50ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
51am__aclocal_m4_deps = $(top_srcdir)/config/spl-build.m4 \
dd529a30 52 $(top_srcdir)/config/spl-meta.m4 $(top_srcdir)/configure.ac
bf9f3bac 53am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
54 $(ACLOCAL_M4)
55am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
56 configure.lineno configure.status.lineno
57mkinstalldirs = $(install_sh) -d
58CONFIG_HEADER = spl_config.h
c5f70460
BB
59CONFIG_CLEAN_FILES = module/Makefile module/spl/Makefile \
60 module/splat/Makefile spl.spec
bf9f3bac 61SOURCES =
62DIST_SOURCES =
63RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
64 html-recursive info-recursive install-data-recursive \
65 install-exec-recursive install-info-recursive \
66 install-recursive installcheck-recursive installdirs-recursive \
67 pdf-recursive ps-recursive uninstall-info-recursive \
68 uninstall-recursive
0c617c9a 69HEADERS = $(noinst_HEADERS)
bf9f3bac 70ETAGS = etags
71CTAGS = ctags
72DIST_SUBDIRS = $(SUBDIRS)
73DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
74distdir = $(PACKAGE)-$(VERSION)
75top_distdir = $(distdir)
76am__remove_distdir = \
77 { test ! -d $(distdir) \
78 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
79 && rm -fr $(distdir); }; }
80DIST_ARCHIVES = $(distdir).tar.gz $(distdir).zip
81GZIP_ENV = --best
82distuninstallcheck_listfiles = find . -type f -print
83distcleancheck_listfiles = find . -type f -print
84ACLOCAL = @ACLOCAL@
85AMDEP_FALSE = @AMDEP_FALSE@
86AMDEP_TRUE = @AMDEP_TRUE@
87AMTAR = @AMTAR@
88AR = @AR@
89AUTOCONF = @AUTOCONF@
90AUTOHEADER = @AUTOHEADER@
91AUTOMAKE = @AUTOMAKE@
92AWK = @AWK@
93CC = @CC@
94CCDEPMODE = @CCDEPMODE@
95CFLAGS = @CFLAGS@
96CPP = @CPP@
97CPPFLAGS = @CPPFLAGS@
98CXX = @CXX@
99CXXCPP = @CXXCPP@
100CXXDEPMODE = @CXXDEPMODE@
101CXXFLAGS = @CXXFLAGS@
102CYGPATH_W = @CYGPATH_W@
103DEFS = @DEFS@
104DEPDIR = @DEPDIR@
105ECHO = @ECHO@
106ECHO_C = @ECHO_C@
107ECHO_N = @ECHO_N@
108ECHO_T = @ECHO_T@
109EGREP = @EGREP@
110EXEEXT = @EXEEXT@
111F77 = @F77@
112FFLAGS = @FFLAGS@
113INSTALL_DATA = @INSTALL_DATA@
114INSTALL_PROGRAM = @INSTALL_PROGRAM@
115INSTALL_SCRIPT = @INSTALL_SCRIPT@
116INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
117KERNELCFLAGS = @KERNELCFLAGS@
118KERNELCPPFLAGS = @KERNELCPPFLAGS@
119KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
120LDFLAGS = @LDFLAGS@
121LIBOBJS = @LIBOBJS@
122LIBS = @LIBS@
123LIBTOOL = @LIBTOOL@
124LINUX = @LINUX@
125LINUX_OBJ = @LINUX_OBJ@
c5f70460 126LINUX_VERSION = @LINUX_VERSION@
bf9f3bac 127LN_S = @LN_S@
128LTLIBOBJS = @LTLIBOBJS@
129MAINT = @MAINT@
130MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
131MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
132MAKEINFO = @MAKEINFO@
133OBJEXT = @OBJEXT@
134PACKAGE = @PACKAGE@
135PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
136PACKAGE_NAME = @PACKAGE_NAME@
137PACKAGE_STRING = @PACKAGE_STRING@
138PACKAGE_TARNAME = @PACKAGE_TARNAME@
139PACKAGE_VERSION = @PACKAGE_VERSION@
140PATH_SEPARATOR = @PATH_SEPARATOR@
141RANLIB = @RANLIB@
142SED = @SED@
143SET_MAKE = @SET_MAKE@
144SHELL = @SHELL@
72e7de60 145SPL_META_ALIAS = @SPL_META_ALIAS@
abc3ca14
BB
146SPL_META_AUTHOR = @SPL_META_AUTHOR@
147SPL_META_DATA = @SPL_META_DATA@
148SPL_META_LT_AGE = @SPL_META_LT_AGE@
149SPL_META_LT_CURRENT = @SPL_META_LT_CURRENT@
150SPL_META_LT_REVISION = @SPL_META_LT_REVISION@
151SPL_META_NAME = @SPL_META_NAME@
152SPL_META_RELEASE = @SPL_META_RELEASE@
153SPL_META_VERSION = @SPL_META_VERSION@
bf9f3bac 154STRIP = @STRIP@
155VERSION = @VERSION@
156ac_ct_AR = @ac_ct_AR@
157ac_ct_CC = @ac_ct_CC@
158ac_ct_CXX = @ac_ct_CXX@
159ac_ct_F77 = @ac_ct_F77@
160ac_ct_RANLIB = @ac_ct_RANLIB@
161ac_ct_STRIP = @ac_ct_STRIP@
162am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
163am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
164am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
165am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
166am__include = @am__include@
167am__leading_dot = @am__leading_dot@
168am__quote = @am__quote@
169am__tar = @am__tar@
170am__untar = @am__untar@
171bindir = @bindir@
172build = @build@
173build_alias = @build_alias@
174build_cpu = @build_cpu@
175build_os = @build_os@
176build_vendor = @build_vendor@
177datadir = @datadir@
178exec_prefix = @exec_prefix@
179host = @host@
180host_alias = @host_alias@
181host_cpu = @host_cpu@
182host_os = @host_os@
183host_vendor = @host_vendor@
184includedir = @includedir@
185infodir = @infodir@
186install_sh = @install_sh@
bf9f3bac 187libdir = @libdir@
188libexecdir = @libexecdir@
189localstatedir = @localstatedir@
190mandir = @mandir@
191mkdir_p = @mkdir_p@
192oldincludedir = @oldincludedir@
193prefix = @prefix@
194program_transform_name = @program_transform_name@
195sbindir = @sbindir@
196sharedstatedir = @sharedstatedir@
197sysconfdir = @sysconfdir@
198target = @target@
199target_alias = @target_alias@
200target_cpu = @target_cpu@
201target_os = @target_os@
202target_vendor = @target_vendor@
617d5a67 203SUBDIRS = lib cmd module include scripts
c5f70460 204AUTOMAKE_OPTIONS = foreign dist-zip
0c617c9a
BB
205EXTRA_DIST = autogen.sh spl.spec.in META DISCLAIMER
206noinst_HEADERS = spl_config.h
bf9f3bac 207all: spl_config.h
208 $(MAKE) $(AM_MAKEFLAGS) all-recursive
209
210.SUFFIXES:
211am--refresh:
212 @:
213$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
214 @for dep in $?; do \
215 case '$(am__configure_deps)' in \
216 *$$dep*) \
217 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
218 cd $(srcdir) && $(AUTOMAKE) --foreign \
219 && exit 0; \
220 exit 1;; \
221 esac; \
222 done; \
223 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
224 cd $(top_srcdir) && \
225 $(AUTOMAKE) --foreign Makefile
226.PRECIOUS: Makefile
227Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
228 @case '$?' in \
229 *config.status*) \
230 echo ' $(SHELL) ./config.status'; \
231 $(SHELL) ./config.status;; \
232 *) \
233 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
234 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
235 esac;
236
237$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
238 $(SHELL) ./config.status --recheck
239
240$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
241 cd $(srcdir) && $(AUTOCONF)
242$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
243 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
244
245spl_config.h: stamp-h1
246 @if test ! -f $@; then \
247 rm -f stamp-h1; \
248 $(MAKE) stamp-h1; \
249 else :; fi
250
251stamp-h1: $(srcdir)/spl_config.h.in $(top_builddir)/config.status
252 @rm -f stamp-h1
253 cd $(top_builddir) && $(SHELL) ./config.status spl_config.h
254$(srcdir)/spl_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
255 cd $(top_srcdir) && $(AUTOHEADER)
256 rm -f stamp-h1
257 touch $@
258
259distclean-hdr:
260 -rm -f spl_config.h stamp-h1
617d5a67 261module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
bf9f3bac 262 cd $(top_builddir) && $(SHELL) ./config.status $@
617d5a67 263module/spl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/spl/Makefile.in
bf9f3bac 264 cd $(top_builddir) && $(SHELL) ./config.status $@
617d5a67 265module/splat/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/splat/Makefile.in
bf9f3bac 266 cd $(top_builddir) && $(SHELL) ./config.status $@
c5f70460
BB
267spl.spec: $(top_builddir)/config.status $(srcdir)/spl.spec.in
268 cd $(top_builddir) && $(SHELL) ./config.status $@
bf9f3bac 269
270mostlyclean-libtool:
271 -rm -f *.lo
272
273clean-libtool:
274 -rm -rf .libs _libs
275
276distclean-libtool:
277 -rm -f libtool
278uninstall-info-am:
279
280# This directory's subdirectories are mostly independent; you can cd
281# into them and run `make' without going through this Makefile.
282# To change the values of `make' variables: instead of editing Makefiles,
283# (1) if the variable is set in `config.status', edit `config.status'
284# (which will cause the Makefiles to be regenerated when you run `make');
285# (2) otherwise, pass the desired values on the `make' command line.
286$(RECURSIVE_TARGETS):
287 @failcom='exit 1'; \
288 for f in x $$MAKEFLAGS; do \
289 case $$f in \
290 *=* | --[!k]*);; \
291 *k*) failcom='fail=yes';; \
292 esac; \
293 done; \
294 dot_seen=no; \
295 target=`echo $@ | sed s/-recursive//`; \
296 list='$(SUBDIRS)'; for subdir in $$list; do \
297 echo "Making $$target in $$subdir"; \
298 if test "$$subdir" = "."; then \
299 dot_seen=yes; \
300 local_target="$$target-am"; \
301 else \
302 local_target="$$target"; \
303 fi; \
304 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
305 || eval $$failcom; \
306 done; \
307 if test "$$dot_seen" = "no"; then \
308 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
309 fi; test -z "$$fail"
310
311mostlyclean-recursive clean-recursive distclean-recursive \
312maintainer-clean-recursive:
313 @failcom='exit 1'; \
314 for f in x $$MAKEFLAGS; do \
315 case $$f in \
316 *=* | --[!k]*);; \
317 *k*) failcom='fail=yes';; \
318 esac; \
319 done; \
320 dot_seen=no; \
321 case "$@" in \
322 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
323 *) list='$(SUBDIRS)' ;; \
324 esac; \
325 rev=''; for subdir in $$list; do \
326 if test "$$subdir" = "."; then :; else \
327 rev="$$subdir $$rev"; \
328 fi; \
329 done; \
330 rev="$$rev ."; \
331 target=`echo $@ | sed s/-recursive//`; \
332 for subdir in $$rev; do \
333 echo "Making $$target in $$subdir"; \
334 if test "$$subdir" = "."; then \
335 local_target="$$target-am"; \
336 else \
337 local_target="$$target"; \
338 fi; \
339 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
340 || eval $$failcom; \
341 done && test -z "$$fail"
342tags-recursive:
343 list='$(SUBDIRS)'; for subdir in $$list; do \
344 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
345 done
346ctags-recursive:
347 list='$(SUBDIRS)'; for subdir in $$list; do \
348 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
349 done
350
351ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
352 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
353 unique=`for i in $$list; do \
354 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
355 done | \
356 $(AWK) ' { files[$$0] = 1; } \
357 END { for (i in files) print i; }'`; \
358 mkid -fID $$unique
bf9f3bac 359
360TAGS: tags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \
361 $(TAGS_FILES) $(LISP)
362 tags=; \
363 here=`pwd`; \
364 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
365 include_option=--etags-include; \
366 empty_fix=.; \
367 else \
368 include_option=--include; \
369 empty_fix=; \
370 fi; \
371 list='$(SUBDIRS)'; for subdir in $$list; do \
372 if test "$$subdir" = .; then :; else \
373 test ! -f $$subdir/TAGS || \
374 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
375 fi; \
376 done; \
377 list='$(SOURCES) $(HEADERS) spl_config.h.in $(LISP) $(TAGS_FILES)'; \
378 unique=`for i in $$list; do \
379 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
380 done | \
381 $(AWK) ' { files[$$0] = 1; } \
382 END { for (i in files) print i; }'`; \
383 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
384 test -n "$$unique" || unique=$$empty_fix; \
385 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
386 $$tags $$unique; \
387 fi
bf9f3bac 388CTAGS: ctags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \
389 $(TAGS_FILES) $(LISP)
390 tags=; \
391 here=`pwd`; \
392 list='$(SOURCES) $(HEADERS) spl_config.h.in $(LISP) $(TAGS_FILES)'; \
393 unique=`for i in $$list; do \
394 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
395 done | \
396 $(AWK) ' { files[$$0] = 1; } \
397 END { for (i in files) print i; }'`; \
398 test -z "$(CTAGS_ARGS)$$tags$$unique" \
399 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
400 $$tags $$unique
401
402GTAGS:
403 here=`$(am__cd) $(top_builddir) && pwd` \
404 && cd $(top_srcdir) \
405 && gtags -i $(GTAGS_ARGS) $$here
406
407distclean-tags:
408 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
409
410distdir: $(DISTFILES)
411 $(am__remove_distdir)
412 mkdir $(distdir)
c5f70460 413 $(mkdir_p) $(distdir)/. $(distdir)/config $(distdir)/module $(distdir)/module/spl $(distdir)/module/splat
bf9f3bac 414 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
415 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
416 list='$(DISTFILES)'; for file in $$list; do \
417 case $$file in \
418 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
419 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
420 esac; \
421 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
422 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
423 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
424 dir="/$$dir"; \
425 $(mkdir_p) "$(distdir)$$dir"; \
426 else \
427 dir=''; \
428 fi; \
429 if test -d $$d/$$file; then \
430 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
431 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
432 fi; \
433 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
434 else \
435 test -f $(distdir)/$$file \
436 || cp -p $$d/$$file $(distdir)/$$file \
437 || exit 1; \
438 fi; \
439 done
440 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
441 if test "$$subdir" = .; then :; else \
442 test -d "$(distdir)/$$subdir" \
443 || $(mkdir_p) "$(distdir)/$$subdir" \
444 || exit 1; \
445 distdir=`$(am__cd) $(distdir) && pwd`; \
446 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
447 (cd $$subdir && \
448 $(MAKE) $(AM_MAKEFLAGS) \
449 top_distdir="$$top_distdir" \
450 distdir="$$distdir/$$subdir" \
451 distdir) \
452 || exit 1; \
453 fi; \
454 done
455 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
456 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
457 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
458 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
459 || chmod -R a+r $(distdir)
460dist-gzip: distdir
461 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
462 $(am__remove_distdir)
463
464dist-bzip2: distdir
465 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
466 $(am__remove_distdir)
467
468dist-tarZ: distdir
469 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
470 $(am__remove_distdir)
471
472dist-shar: distdir
473 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
474 $(am__remove_distdir)
475dist-zip: distdir
476 -rm -f $(distdir).zip
477 zip -rq $(distdir).zip $(distdir)
478 $(am__remove_distdir)
479
480dist dist-all: distdir
481 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
482 -rm -f $(distdir).zip
483 zip -rq $(distdir).zip $(distdir)
484 $(am__remove_distdir)
485
486# This target untars the dist file and tries a VPATH configuration. Then
487# it guarantees that the distribution is self-contained by making another
488# tarfile.
489distcheck: dist
490 case '$(DIST_ARCHIVES)' in \
491 *.tar.gz*) \
492 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
493 *.tar.bz2*) \
494 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
495 *.tar.Z*) \
496 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
497 *.shar.gz*) \
498 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
499 *.zip*) \
500 unzip $(distdir).zip ;;\
501 esac
502 chmod -R a-w $(distdir); chmod a+w $(distdir)
503 mkdir $(distdir)/_build
504 mkdir $(distdir)/_inst
505 chmod a-w $(distdir)
506 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
507 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
508 && cd $(distdir)/_build \
509 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
510 $(DISTCHECK_CONFIGURE_FLAGS) \
511 && $(MAKE) $(AM_MAKEFLAGS) \
512 && $(MAKE) $(AM_MAKEFLAGS) dvi \
513 && $(MAKE) $(AM_MAKEFLAGS) check \
514 && $(MAKE) $(AM_MAKEFLAGS) install \
515 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
516 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
517 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
518 distuninstallcheck \
519 && chmod -R a-w "$$dc_install_base" \
520 && ({ \
521 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
522 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
523 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
524 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
525 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
526 } || { rm -rf "$$dc_destdir"; exit 1; }) \
527 && rm -rf "$$dc_destdir" \
528 && $(MAKE) $(AM_MAKEFLAGS) dist \
529 && rm -rf $(DIST_ARCHIVES) \
530 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
531 $(am__remove_distdir)
532 @(echo "$(distdir) archives ready for distribution: "; \
533 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
534 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
535distuninstallcheck:
536 @cd $(distuninstallcheck_dir) \
537 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
538 || { echo "ERROR: files left after uninstall:" ; \
539 if test -n "$(DESTDIR)"; then \
540 echo " (check DESTDIR support)"; \
541 fi ; \
542 $(distuninstallcheck_listfiles) ; \
543 exit 1; } >&2
544distcleancheck: distclean
545 @if test '$(srcdir)' = . ; then \
546 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
547 exit 1 ; \
548 fi
549 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
550 || { echo "ERROR: files left in build directory after distclean:" ; \
551 $(distcleancheck_listfiles) ; \
552 exit 1; } >&2
553check-am: all-am
554check: check-recursive
c5f70460 555all-am: Makefile $(HEADERS) spl_config.h
bf9f3bac 556installdirs: installdirs-recursive
557installdirs-am:
558install: install-recursive
559install-exec: install-exec-recursive
560install-data: install-data-recursive
561uninstall: uninstall-recursive
562
563install-am: all-am
564 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
565
566installcheck: installcheck-recursive
567install-strip:
568 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
569 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
570 `test -z '$(STRIP)' || \
571 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
572mostlyclean-generic:
573
574clean-generic:
575
576distclean-generic:
577 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
578
579maintainer-clean-generic:
580 @echo "This command is intended for maintainers to use"
581 @echo "it deletes files that may require special tools to rebuild."
582clean: clean-recursive
583
584clean-am: clean-generic clean-libtool mostlyclean-am
585
586distclean: distclean-recursive
587 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
588 -rm -f Makefile
589distclean-am: clean-am distclean-generic distclean-hdr \
c5f70460 590 distclean-libtool distclean-local distclean-tags
bf9f3bac 591
592dvi: dvi-recursive
593
594dvi-am:
595
596html: html-recursive
597
598info: info-recursive
599
600info-am:
601
0c617c9a 602install-data-am: install-data-local
bf9f3bac 603
604install-exec-am:
605
606install-info: install-info-recursive
607
608install-man:
609
610installcheck-am:
611
612maintainer-clean: maintainer-clean-recursive
613 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
614 -rm -rf $(top_srcdir)/autom4te.cache
615 -rm -f Makefile
616maintainer-clean-am: distclean-am maintainer-clean-generic
617
618mostlyclean: mostlyclean-recursive
619
620mostlyclean-am: mostlyclean-generic mostlyclean-libtool
621
622pdf: pdf-recursive
623
624pdf-am:
625
626ps: ps-recursive
627
628ps-am:
629
0c617c9a 630uninstall-am: uninstall-info-am
bf9f3bac 631
632uninstall-info: uninstall-info-recursive
633
634.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
635 check-am clean clean-generic clean-libtool clean-recursive \
636 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
637 dist-shar dist-tarZ dist-zip distcheck distclean \
638 distclean-generic distclean-hdr distclean-libtool \
c5f70460
BB
639 distclean-local distclean-recursive distclean-tags \
640 distcleancheck distdir distuninstallcheck dvi dvi-am html \
641 html-am info info-am install install-am install-data \
642 install-data-am install-data-local install-exec \
0c617c9a
BB
643 install-exec-am install-info install-info-am install-man \
644 install-strip installcheck installcheck-am installdirs \
645 installdirs-am maintainer-clean maintainer-clean-generic \
646 maintainer-clean-recursive mostlyclean mostlyclean-generic \
647 mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
648 tags tags-recursive uninstall uninstall-am uninstall-info-am
c5f70460
BB
649
650
651distclean-local::
652 -$(RM) -R autom4te*.cache
653 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
654 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
655 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
656 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
657 -o -name '.*.rej' -o -name 'aclocal.m4' -o -size 0 \
658 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
659 -o -name 'Makefile' -o -name 'Module.symvers' \) \
660 -type f -print | xargs $(RM)
661
662install-data-local:
0c617c9a 663 $(INSTALL) -D spl_config.h $(DESTDIR)/$(LINUX)/include/spl/spl_config.h
c5f70460
BB
664
665ctags:
666 $(RM) $(top_srcdir)/tags
667 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
668
669etags:
670 $(RM) $(top_srcdir)/TAGS
671 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
672
673tags: ctags etags
674
675rpm-local:
676 mkdir -p $(rpmbuild)/TMP && \
677 mkdir -p $(rpmbuild)/BUILD && \
678 mkdir -p $(rpmbuild)/RPMS && \
679 mkdir -p $(rpmbuild)/SRPMS && \
680 mkdir -p $(rpmbuild)/SPECS && cp $(PACKAGE).spec $(rpmbuild)/SPECS && \
681 mkdir -p $(rpmbuild)/SOURCES && cp $(distdir).tar.gz $(rpmbuild)/SOURCES
682
683srpm: dist
684 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
685 $(MAKE) $(AM_MAKEFLAGS) rpmbuild="$$rpmbuild" rpm-local || exit 1; \
686 /usr/bin/rpmbuild --define "_tmppath $$rpmbuild/TMP" --define "_topdir $$rpmbuild" --define "build_src_rpm 1" --define "dist %{nil}" --nodeps -bs $$rpmbuild/SPECS/$(PACKAGE).spec || exit 1; \
687 cp $$rpmbuild/SRPMS/$(distdir)-$(SPL_META_RELEASE).src.rpm . || exit 1;\
688 $(RM) -R $$rpmbuild
689
690# Use 'make rpm LINUX_VERSION=2.x.y-z' to rebuild the source RPM
691# against any installed kernel-devel-2.x.y-z package. This will
692# override the LINUX_VERSION detected at configure time.
693rpm: srpm
694 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
695 $(MAKE) $(AM_MAKEFLAGS) rpmbuild="$$rpmbuild" rpm-local || exit 1; \
696 /usr/bin/rpmbuild --define "_tmppath $$rpmbuild/TMP" --define "_topdir $$rpmbuild" --define "dist %{nil}" --define "require_kver $(LINUX_VERSION)" --nodeps --rebuild $(distdir)-$(SPL_META_RELEASE).src.rpm || exit 1; \
697 cp $$rpmbuild/RPMS/*/* . || exit 1; \
698 $(RM) -R $$rpmbuild
bf9f3bac 699# Tell versions [3.59,3.63) of GNU make to not export all variables.
700# Otherwise a system limit (for SysV at least) may be exceeded.
701.NOEXPORT: