1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 ###############################################################################
19 # Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
20 # Copyright (C) 2007 The Regents of the University of California.
21 # Written by Brian Behlendorf <behlendorf1@llnl.gov>.
22 ###############################################################################
23 # Build targets for RPM packages.
24 ###############################################################################
26 ###############################################################################
27 # Copyright (C) 2010 Lawrence Livermore National Security, LLC.
28 # Written by Brian Behlendorf <behlendorf1@llnl.gov>.
29 ###############################################################################
30 # Build targets for DEB packages.
32 # Long term native distro specific Debian style packaging should be added.
33 # In the short term RPM packages are built and converted to DEB packages
34 # using alien. If someone familiar with Debian style packaging were to
35 # update the build system to correctly build Debian style packages I would
36 # happily take it. Until then we will have to make due with alien.
38 ###############################################################################
40 ###############################################################################
41 # Copyright (C) 2010 Lawrence Livermore National Security, LLC.
42 # Written by Brian Behlendorf <behlendorf1@llnl.gov>.
43 ###############################################################################
44 # Build targets for TGZ packages.
46 # Long term native distro specific Slackware style packaging should be added.
47 # In the short term RPM packages are built and converted to TGZ packages
48 # using alien. If someone familiar with Slackware style packaging were to
49 # update the build system to correctly build Slackware style packages I would
50 # happily take it. Until then we will have to make due with alien.
52 ###############################################################################
54 ###############################################################################
55 # Written by Prakash Surya <surya1@llnl.gov>
56 ###############################################################################
57 # Build targets for RPM packages.
58 ###############################################################################
61 pkgdatadir = $(datadir)/@PACKAGE@
62 pkgincludedir = $(includedir)/@PACKAGE@
63 pkglibdir = $(libdir)/@PACKAGE@
64 pkglibexecdir = $(libexecdir)/@PACKAGE@
65 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
66 install_sh_DATA = $(install_sh) -c -m 644
67 install_sh_PROGRAM = $(install_sh) -c
68 install_sh_SCRIPT = $(install_sh) -c
69 INSTALL_HEADER = $(INSTALL_DATA)
70 transform = $(program_transform_name)
77 build_triplet = @build@
79 target_triplet = @target@
80 DIST_COMMON = $(am__configure_deps) $(noinst_HEADERS) \
81 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
82 $(srcdir)/PKGBUILD-spl-modules.in $(srcdir)/PKGBUILD-spl.in \
83 $(srcdir)/spl-modules.spec.in $(srcdir)/spl.spec.in \
84 $(srcdir)/spl_config.h.in $(top_srcdir)/config/arch.am \
85 $(top_srcdir)/config/deb.am $(top_srcdir)/config/rpm.am \
86 $(top_srcdir)/config/tgz.am $(top_srcdir)/configure \
87 $(top_srcdir)/module/Makefile.in \
88 $(top_srcdir)/module/spl/Makefile.in \
89 $(top_srcdir)/module/splat/Makefile.in AUTHORS COPYING \
90 ChangeLog INSTALL config/config.guess config/config.sub \
91 config/depcomp config/install-sh config/ltmain.sh \
94 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
95 am__aclocal_m4_deps = $(top_srcdir)/config/spl-build.m4 \
96 $(top_srcdir)/config/spl-meta.m4 $(top_srcdir)/configure.ac
97 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
100 configure.lineno config.status.lineno
101 mkinstalldirs = $(install_sh) -d
102 CONFIG_HEADER = spl_config.h
103 CONFIG_CLEAN_FILES = module/Makefile module/spl/Makefile \
104 module/splat/Makefile spl.spec spl-modules.spec PKGBUILD-spl \
106 CONFIG_CLEAN_VPATH_FILES =
107 AM_V_GEN = $(am__v_GEN_$(V))
108 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
109 am__v_GEN_0 = @echo " GEN " $@;
110 AM_V_at = $(am__v_at_$(V))
111 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
115 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
116 html-recursive info-recursive install-data-recursive \
117 install-dvi-recursive install-exec-recursive \
118 install-html-recursive install-info-recursive \
119 install-pdf-recursive install-ps-recursive install-recursive \
120 installcheck-recursive installdirs-recursive pdf-recursive \
121 ps-recursive uninstall-recursive
122 HEADERS = $(noinst_HEADERS)
123 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
124 distclean-recursive maintainer-clean-recursive
125 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
126 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
127 distdir dist dist-all distcheck
130 DIST_SUBDIRS = lib cmd scripts module include
131 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
132 distdir = $(PACKAGE)-$(VERSION)
133 top_distdir = $(distdir)
134 am__remove_distdir = \
135 { test ! -d "$(distdir)" \
136 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
137 && rm -fr "$(distdir)"; }; }
140 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
141 sed_rest='s,^[^/]*/*,,'; \
142 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
143 sed_butlast='s,/*[^/]*$$,,'; \
144 while test -n "$$dir1"; do \
145 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
146 if test "$$first" != "."; then \
147 if test "$$first" = ".."; then \
148 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
149 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
151 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
152 if test "$$first2" = "$$first"; then \
153 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
157 dir0="$$dir0"/"$$first"; \
160 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
163 DIST_ARCHIVES = $(distdir).tar.gz
165 distuninstallcheck_listfiles = find . -type f -print
166 distcleancheck_listfiles = find . -type f -print
169 ALIEN_VERSION = @ALIEN_VERSION@
171 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
173 AUTOCONF = @AUTOCONF@
174 AUTOHEADER = @AUTOHEADER@
175 AUTOMAKE = @AUTOMAKE@
178 CCDEPMODE = @CCDEPMODE@
181 CPPFLAGS = @CPPFLAGS@
182 CYGPATH_W = @CYGPATH_W@
183 DEBUG_CFLAGS = @DEBUG_CFLAGS@
184 DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
188 DPKGBUILD = @DPKGBUILD@
189 DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
190 DPKG_VERSION = @DPKG_VERSION@
191 DSYMUTIL = @DSYMUTIL@
200 HAVE_ALIEN = @HAVE_ALIEN@
201 HAVE_DPKG = @HAVE_DPKG@
202 HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
203 HAVE_MAKEPKG = @HAVE_MAKEPKG@
204 HAVE_PACMAN = @HAVE_PACMAN@
205 HAVE_RPM = @HAVE_RPM@
206 HAVE_RPMBUILD = @HAVE_RPMBUILD@
208 INSTALL_DATA = @INSTALL_DATA@
209 INSTALL_PROGRAM = @INSTALL_PROGRAM@
210 INSTALL_SCRIPT = @INSTALL_SCRIPT@
211 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
212 KERNELCPPFLAGS = @KERNELCPPFLAGS@
213 KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
221 LINUX_OBJ = @LINUX_OBJ@
222 LINUX_SYMBOLS = @LINUX_SYMBOLS@
223 LINUX_VERSION = @LINUX_VERSION@
226 LTLIBOBJS = @LTLIBOBJS@
228 MAKEINFO = @MAKEINFO@
230 MAKEPKG_VERSION = @MAKEPKG_VERSION@
239 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
240 PACKAGE_NAME = @PACKAGE_NAME@
241 PACKAGE_STRING = @PACKAGE_STRING@
242 PACKAGE_TARNAME = @PACKAGE_TARNAME@
243 PACKAGE_VERSION = @PACKAGE_VERSION@
245 PACMAN_VERSION = @PACMAN_VERSION@
246 PATH_SEPARATOR = @PATH_SEPARATOR@
249 RPMBUILD = @RPMBUILD@
250 RPMBUILD_VERSION = @RPMBUILD_VERSION@
251 RPM_VERSION = @RPM_VERSION@
253 SET_MAKE = @SET_MAKE@
255 SPL_CONFIG = @SPL_CONFIG@
256 SPL_META_ALIAS = @SPL_META_ALIAS@
257 SPL_META_AUTHOR = @SPL_META_AUTHOR@
258 SPL_META_DATA = @SPL_META_DATA@
259 SPL_META_LT_AGE = @SPL_META_LT_AGE@
260 SPL_META_LT_CURRENT = @SPL_META_LT_CURRENT@
261 SPL_META_LT_REVISION = @SPL_META_LT_REVISION@
262 SPL_META_NAME = @SPL_META_NAME@
263 SPL_META_RELEASE = @SPL_META_RELEASE@
264 SPL_META_VERSION = @SPL_META_VERSION@
268 abs_builddir = @abs_builddir@
269 abs_srcdir = @abs_srcdir@
270 abs_top_builddir = @abs_top_builddir@
271 abs_top_srcdir = @abs_top_srcdir@
272 ac_ct_CC = @ac_ct_CC@
273 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
274 am__include = @am__include@
275 am__leading_dot = @am__leading_dot@
276 am__quote = @am__quote@
278 am__untar = @am__untar@
281 build_alias = @build_alias@
282 build_cpu = @build_cpu@
283 build_os = @build_os@
284 build_vendor = @build_vendor@
285 builddir = @builddir@
287 datarootdir = @datarootdir@
290 exec_prefix = @exec_prefix@
292 host_alias = @host_alias@
293 host_cpu = @host_cpu@
295 host_vendor = @host_vendor@
297 includedir = @includedir@
299 install_sh = @install_sh@
301 libexecdir = @libexecdir@
302 localedir = @localedir@
303 localstatedir = @localstatedir@
307 oldincludedir = @oldincludedir@
310 program_transform_name = @program_transform_name@
313 sharedstatedir = @sharedstatedir@
315 sysconfdir = @sysconfdir@
317 target_alias = @target_alias@
318 target_cpu = @target_cpu@
319 target_os = @target_os@
320 target_vendor = @target_vendor@
321 top_build_prefix = @top_build_prefix@
322 top_builddir = @top_builddir@
323 top_srcdir = @top_srcdir@
324 @CONFIG_USER_TRUE@USER_DIR = lib cmd scripts
325 @CONFIG_KERNEL_TRUE@KERNEL_DIR = module include
326 SUBDIRS = $(USER_DIR) $(KERNEL_DIR)
327 AUTOMAKE_OPTIONS = foreign
328 EXTRA_DIST = autogen.sh spl.spec.in spl-modules.spec.in META \
329 DISCLAIMER config/config.awk config/rpm.am config/deb.am \
331 noinst_HEADERS = spl_config.h
333 $(MAKE) $(AM_MAKEFLAGS) all-recursive
338 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/config/rpm.am $(top_srcdir)/config/deb.am $(top_srcdir)/config/tgz.am $(top_srcdir)/config/arch.am $(am__configure_deps)
340 case '$(am__configure_deps)' in \
342 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
343 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
348 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
349 $(am__cd) $(top_srcdir) && \
350 $(AUTOMAKE) --foreign Makefile
352 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
355 echo ' $(SHELL) ./config.status'; \
356 $(SHELL) ./config.status;; \
358 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
359 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
362 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
363 $(SHELL) ./config.status --recheck
365 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
366 $(am__cd) $(srcdir) && $(AUTOCONF)
367 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
368 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
369 $(am__aclocal_m4_deps):
371 spl_config.h: stamp-h1
372 @if test ! -f $@; then \
374 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
377 stamp-h1: $(srcdir)/spl_config.h.in $(top_builddir)/config.status
379 cd $(top_builddir) && $(SHELL) ./config.status spl_config.h
380 $(srcdir)/spl_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
381 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
386 -rm -f spl_config.h stamp-h1
387 module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
388 cd $(top_builddir) && $(SHELL) ./config.status $@
389 module/spl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/spl/Makefile.in
390 cd $(top_builddir) && $(SHELL) ./config.status $@
391 module/splat/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/splat/Makefile.in
392 cd $(top_builddir) && $(SHELL) ./config.status $@
393 spl.spec: $(top_builddir)/config.status $(srcdir)/spl.spec.in
394 cd $(top_builddir) && $(SHELL) ./config.status $@
395 spl-modules.spec: $(top_builddir)/config.status $(srcdir)/spl-modules.spec.in
396 cd $(top_builddir) && $(SHELL) ./config.status $@
397 PKGBUILD-spl: $(top_builddir)/config.status $(srcdir)/PKGBUILD-spl.in
398 cd $(top_builddir) && $(SHELL) ./config.status $@
399 PKGBUILD-spl-modules: $(top_builddir)/config.status $(srcdir)/PKGBUILD-spl-modules.in
400 cd $(top_builddir) && $(SHELL) ./config.status $@
409 -rm -f libtool config.lt
411 # This directory's subdirectories are mostly independent; you can cd
412 # into them and run `make' without going through this Makefile.
413 # To change the values of `make' variables: instead of editing Makefiles,
414 # (1) if the variable is set in `config.status', edit `config.status'
415 # (which will cause the Makefiles to be regenerated when you run `make');
416 # (2) otherwise, pass the desired values on the `make' command line.
417 $(RECURSIVE_TARGETS):
418 @fail= failcom='exit 1'; \
419 for f in x $$MAKEFLAGS; do \
422 *k*) failcom='fail=yes';; \
426 target=`echo $@ | sed s/-recursive//`; \
427 list='$(SUBDIRS)'; for subdir in $$list; do \
428 echo "Making $$target in $$subdir"; \
429 if test "$$subdir" = "."; then \
431 local_target="$$target-am"; \
433 local_target="$$target"; \
435 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
438 if test "$$dot_seen" = "no"; then \
439 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
442 $(RECURSIVE_CLEAN_TARGETS):
443 @fail= failcom='exit 1'; \
444 for f in x $$MAKEFLAGS; do \
447 *k*) failcom='fail=yes';; \
452 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
453 *) list='$(SUBDIRS)' ;; \
455 rev=''; for subdir in $$list; do \
456 if test "$$subdir" = "."; then :; else \
457 rev="$$subdir $$rev"; \
461 target=`echo $@ | sed s/-recursive//`; \
462 for subdir in $$rev; do \
463 echo "Making $$target in $$subdir"; \
464 if test "$$subdir" = "."; then \
465 local_target="$$target-am"; \
467 local_target="$$target"; \
469 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
471 done && test -z "$$fail"
473 list='$(SUBDIRS)'; for subdir in $$list; do \
474 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
477 list='$(SUBDIRS)'; for subdir in $$list; do \
478 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
481 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
482 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
483 unique=`for i in $$list; do \
484 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
486 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
487 END { if (nonempty) { for (i in files) print i; }; }'`; \
490 TAGS: tags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \
491 $(TAGS_FILES) $(LISP)
494 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
495 include_option=--etags-include; \
498 include_option=--include; \
501 list='$(SUBDIRS)'; for subdir in $$list; do \
502 if test "$$subdir" = .; then :; else \
503 test ! -f $$subdir/TAGS || \
504 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
507 list='$(SOURCES) $(HEADERS) spl_config.h.in $(LISP) $(TAGS_FILES)'; \
508 unique=`for i in $$list; do \
509 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
511 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
512 END { if (nonempty) { for (i in files) print i; }; }'`; \
514 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
515 test -n "$$unique" || unique=$$empty_fix; \
516 if test $$# -gt 0; then \
517 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
520 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
524 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \
525 $(TAGS_FILES) $(LISP)
526 list='$(SOURCES) $(HEADERS) spl_config.h.in $(LISP) $(TAGS_FILES)'; \
527 unique=`for i in $$list; do \
528 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
530 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
531 END { if (nonempty) { for (i in files) print i; }; }'`; \
532 test -z "$(CTAGS_ARGS)$$unique" \
533 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
537 here=`$(am__cd) $(top_builddir) && pwd` \
538 && $(am__cd) $(top_srcdir) \
539 && gtags -i $(GTAGS_ARGS) "$$here"
542 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
544 distdir: $(DISTFILES)
545 $(am__remove_distdir)
546 test -d "$(distdir)" || mkdir "$(distdir)"
547 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
548 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
549 list='$(DISTFILES)'; \
550 dist_files=`for file in $$list; do echo $$file; done | \
551 sed -e "s|^$$srcdirstrip/||;t" \
552 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
553 case $$dist_files in \
554 */*) $(MKDIR_P) `echo "$$dist_files" | \
555 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
558 for file in $$dist_files; do \
559 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
560 if test -d $$d/$$file; then \
561 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
562 if test -d "$(distdir)/$$file"; then \
563 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
565 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
566 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
567 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
569 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
571 test -f "$(distdir)/$$file" \
572 || cp -p $$d/$$file "$(distdir)/$$file" \
576 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
577 if test "$$subdir" = .; then :; else \
578 test -d "$(distdir)/$$subdir" \
579 || $(MKDIR_P) "$(distdir)/$$subdir" \
583 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
584 if test "$$subdir" = .; then :; else \
585 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
587 new_distdir=$$reldir; \
588 dir1=$$subdir; dir2="$(top_distdir)"; \
590 new_top_distdir=$$reldir; \
591 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
592 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
593 ($(am__cd) $$subdir && \
594 $(MAKE) $(AM_MAKEFLAGS) \
595 top_distdir="$$new_top_distdir" \
596 distdir="$$new_distdir" \
597 am__remove_distdir=: \
598 am__skip_length_check=: \
599 am__skip_mode_fix=: \
604 -test -n "$(am__skip_mode_fix)" \
605 || find "$(distdir)" -type d ! -perm -755 \
606 -exec chmod u+rwx,go+rx {} \; -o \
607 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
608 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
609 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
610 || chmod -R a+r "$(distdir)"
612 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
613 $(am__remove_distdir)
616 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
617 $(am__remove_distdir)
620 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
621 $(am__remove_distdir)
624 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
625 $(am__remove_distdir)
628 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
629 $(am__remove_distdir)
632 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
633 $(am__remove_distdir)
636 -rm -f $(distdir).zip
637 zip -rq $(distdir).zip $(distdir)
638 $(am__remove_distdir)
640 dist dist-all: distdir
641 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
642 $(am__remove_distdir)
644 # This target untars the dist file and tries a VPATH configuration. Then
645 # it guarantees that the distribution is self-contained by making another
648 case '$(DIST_ARCHIVES)' in \
650 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
652 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
654 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
656 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
658 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
660 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
662 unzip $(distdir).zip ;;\
664 chmod -R a-w $(distdir); chmod a+w $(distdir)
665 mkdir $(distdir)/_build
666 mkdir $(distdir)/_inst
668 test -d $(distdir)/_build || exit 0; \
669 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
670 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
672 && $(am__cd) $(distdir)/_build \
673 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
674 $(DISTCHECK_CONFIGURE_FLAGS) \
675 && $(MAKE) $(AM_MAKEFLAGS) \
676 && $(MAKE) $(AM_MAKEFLAGS) dvi \
677 && $(MAKE) $(AM_MAKEFLAGS) check \
678 && $(MAKE) $(AM_MAKEFLAGS) install \
679 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
680 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
681 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
683 && chmod -R a-w "$$dc_install_base" \
685 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
686 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
687 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
688 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
689 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
690 } || { rm -rf "$$dc_destdir"; exit 1; }) \
691 && rm -rf "$$dc_destdir" \
692 && $(MAKE) $(AM_MAKEFLAGS) dist \
693 && rm -rf $(DIST_ARCHIVES) \
694 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
697 $(am__remove_distdir)
698 @(echo "$(distdir) archives ready for distribution: "; \
699 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
700 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
702 @$(am__cd) '$(distuninstallcheck_dir)' \
703 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
704 || { echo "ERROR: files left after uninstall:" ; \
705 if test -n "$(DESTDIR)"; then \
706 echo " (check DESTDIR support)"; \
708 $(distuninstallcheck_listfiles) ; \
710 distcleancheck: distclean
711 @if test '$(srcdir)' = . ; then \
712 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
715 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
716 || { echo "ERROR: files left in build directory after distclean:" ; \
717 $(distcleancheck_listfiles) ; \
720 check: check-recursive
721 all-am: Makefile $(HEADERS) spl_config.h
722 installdirs: installdirs-recursive
724 install: install-recursive
725 install-exec: install-exec-recursive
726 install-data: install-data-recursive
727 uninstall: uninstall-recursive
730 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
732 installcheck: installcheck-recursive
734 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
735 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
736 `test -z '$(STRIP)' || \
737 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
743 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
744 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
746 maintainer-clean-generic:
747 @echo "This command is intended for maintainers to use"
748 @echo "it deletes files that may require special tools to rebuild."
749 @CONFIG_KERNEL_FALSE@install-data-local:
750 clean: clean-recursive
752 clean-am: clean-generic clean-libtool mostlyclean-am
754 distclean: distclean-recursive
755 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
757 distclean-am: clean-am distclean-generic distclean-hdr \
758 distclean-libtool distclean-local distclean-tags
772 install-data-am: install-data-local
774 install-dvi: install-dvi-recursive
780 install-html: install-html-recursive
784 install-info: install-info-recursive
790 install-pdf: install-pdf-recursive
794 install-ps: install-ps-recursive
800 maintainer-clean: maintainer-clean-recursive
801 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
802 -rm -rf $(top_srcdir)/autom4te.cache
804 maintainer-clean-am: distclean-am maintainer-clean-generic
806 mostlyclean: mostlyclean-recursive
808 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
820 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
821 ctags-recursive install-am install-strip tags-recursive
823 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
824 all all-am am--refresh check check-am clean clean-generic \
825 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
826 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
827 distcheck distclean distclean-generic distclean-hdr \
828 distclean-libtool distclean-local distclean-tags \
829 distcleancheck distdir distuninstallcheck dvi dvi-am html \
830 html-am info info-am install install-am install-data \
831 install-data-am install-data-local install-dvi install-dvi-am \
832 install-exec install-exec-am install-html install-html-am \
833 install-info install-info-am install-man install-pdf \
834 install-pdf-am install-ps install-ps-am install-strip \
835 installcheck installcheck-am installdirs installdirs-am \
836 maintainer-clean maintainer-clean-generic mostlyclean \
837 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
838 tags tags-recursive uninstall uninstall-am
842 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
845 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
847 srpm: srpm-modules srpm-utils
849 rpm-modules: srpm-modules
850 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
852 rpm-utils: srpm-utils
853 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
855 rpm-modules: srpm-modules
857 rpm: rpm-modules rpm-utils
860 @(if test "${HAVE_RPMBUILD}" = "no"; then \
862 "*** Required util ${RPMBUILD} missing. Please install the\n" \
863 "*** package for your distribution which provides ${RPMBUILD},\n" \
864 "*** re-run configure, and try again.\n"; \
867 mkdir -p $(rpmbuild)/TMP && \
868 mkdir -p $(rpmbuild)/BUILD && \
869 mkdir -p $(rpmbuild)/RPMS && \
870 mkdir -p $(rpmbuild)/SRPMS && \
871 mkdir -p $(rpmbuild)/SPECS && \
872 cp $(rpmspec) $(rpmbuild)/SPECS && \
873 mkdir -p $(rpmbuild)/SOURCES && \
874 cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
877 rpmpkg=$(pkg)-$(SPL_META_VERSION)-$(SPL_META_RELEASE).src.rpm; \
878 rpmspec=$(pkg).spec; \
879 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
880 $(MAKE) $(AM_MAKEFLAGS) \
881 rpmbuild="$$rpmbuild" \
882 rpmspec="$$rpmspec" \
883 rpm-local || exit 1; \
885 --define "_tmppath $$rpmbuild/TMP" \
886 --define "_topdir $$rpmbuild" \
887 --define "build_src_rpm 1" \
888 --define "dist %{nil}" \
889 --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
890 cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
894 rpmpkg=$(pkg)-$(SPL_META_VERSION)-$(SPL_META_RELEASE).src.rpm; \
895 rpmspec=$(pkg).spec; \
896 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
897 $(MAKE) $(AM_MAKEFLAGS) \
898 rpmbuild="$$rpmbuild" \
899 rpmspec="$$rpmspec" \
900 rpm-local || exit 1; \
902 --define "_tmppath $$rpmbuild/TMP" \
903 --define "_topdir $$rpmbuild" \
904 --define "dist %{nil}" \
905 --define "require_kdir $(LINUX)" \
906 --define "require_kobj $(LINUX_OBJ)" \
907 --define "require_kver $(LINUX_VERSION)" \
908 --nodeps --rebuild $$rpmpkg || exit 1; \
909 cp $$rpmbuild/RPMS/*/* . || exit 1; \
913 @(if test "${HAVE_DPKGBUILD}" = "no"; then \
915 "*** Required util ${DPKGBUILD} missing. Please install the\n" \
916 "*** package for your distribution which provides ${DPKGBUILD},\n" \
917 "*** re-run configure, and try again.\n"; \
920 if test "${HAVE_ALIEN}" = "no"; then \
922 "*** Required util ${ALIEN} missing. Please install the\n" \
923 "*** package for your distribution which provides ${ALIEN},\n" \
924 "*** re-run configure, and try again.\n"; \
928 deb-modules: deb-local rpm-modules
929 name=${PACKAGE}-modules; \
930 version=${SPL_META_VERSION}-${SPL_META_RELEASE}; \
931 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
932 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
933 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
934 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
935 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2; \
938 deb-utils: deb-local rpm-utils
940 version=${SPL_META_VERSION}-${SPL_META_RELEASE}; \
941 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
942 pkg1=$${name}-$${version}.$${arch}.rpm; \
943 fakeroot $(ALIEN) --scripts --to-deb $$pkg1; \
946 deb: deb-modules deb-utils
949 @(if test "${HAVE_ALIEN}" = "no"; then \
951 "*** Required util ${ALIEN} missing. Please install the\n" \
952 "*** package for your distribution which provides ${ALIEN},\n" \
953 "*** re-run configure, and try again.\n"; \
957 tgz-modules: tgz-local rpm-modules
958 name=${PACKAGE}-modules; \
959 version=${SPL_META_VERSION}-${SPL_META_RELEASE}; \
960 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
961 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
962 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
963 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
964 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2; \
967 tgz-utils: tgz-local rpm-utils
969 version=${SPL_META_VERSION}-${SPL_META_RELEASE}; \
970 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
971 pkg1=$${name}-$${version}.$${arch}.rpm; \
972 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1; \
975 tgz: tgz-modules tgz-utils
978 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" sarch-common
981 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" sarch-common
983 sarch: sarch-modules sarch-utils
986 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" arch-common
989 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" arch-common
991 arch: arch-modules arch-utils
994 @(if test "${HAVE_MAKEPKG}" = "no"; then \
996 "*** Required util ${MAKEPKG} missing. Please install the\n" \
997 "*** package for your distribution which provides ${MAKEPKG},\n" \
998 "*** re-run configure, and try again.\n"; \
1003 pkgbuild=PKGBUILD-$(pkg); \
1004 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1005 $(MAKEPKG) --allsource --skipinteg --nodeps -p $$pkgbuild || exit 1;
1008 pkgbuild=PKGBUILD-$(pkg); \
1009 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1010 $(MAKEPKG) --skipinteg -p $$pkgbuild || exit 1;
1013 -$(RM) -R autom4te*.cache
1014 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
1015 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
1016 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
1017 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
1018 -o -name '.*.rej' -o -name 'aclocal.m4' -o -size 0 \
1019 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
1020 -o -name 'Makefile' -o -name '$(LINUX_SYMBOLS)' \
1021 -o -name '*.order' -o -name '*.markers' \) \
1022 -type f -print | xargs $(RM)
1024 @CONFIG_KERNEL_TRUE@install-data-local:
1025 @CONFIG_KERNEL_TRUE@ release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
1026 @CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
1027 @CONFIG_KERNEL_TRUE@ echo "$$release" >$$instdest/spl.release; \
1028 @CONFIG_KERNEL_TRUE@ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
1029 @CONFIG_KERNEL_TRUE@ $(INSTALL) -D $$instfile $$instdest/$$instfile; \
1030 @CONFIG_KERNEL_TRUE@ done
1033 $(RM) $(top_srcdir)/tags
1034 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1037 $(RM) $(top_srcdir)/TAGS
1038 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1042 pkg: @DEFAULT_PACKAGE@
1043 pkg-modules: @DEFAULT_PACKAGE@-modules
1044 pkg-utils: @DEFAULT_PACKAGE@-utils
1046 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1047 # Otherwise a system limit (for SysV at least) may be exceeded.