]> git.proxmox.com Git - mirror_spl.git/blame - Makefile.in
Add Debian and Slackware style packaging via alien
[mirror_spl.git] / Makefile.in
CommitLineData
49638d83 1# Makefile.in generated by automake 1.11.1 from Makefile.am.
bf9f3bac 2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
8934764e
BB
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
bf9f3bac 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.
10
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
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
c5f70460 17
716154c5
BB
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###############################################################################
287b2fb1 23# Build targets for RPM packages.
716154c5
BB
24###############################################################################
25
bf9f3bac 26VPATH = @srcdir@
27pkgdatadir = $(datadir)/@PACKAGE@
bf9f3bac 28pkgincludedir = $(includedir)/@PACKAGE@
8934764e
BB
29pkglibdir = $(libdir)/@PACKAGE@
30pkglibexecdir = $(libexecdir)/@PACKAGE@
bf9f3bac 31am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
bf9f3bac 32install_sh_DATA = $(install_sh) -c -m 644
33install_sh_PROGRAM = $(install_sh) -c
34install_sh_SCRIPT = $(install_sh) -c
35INSTALL_HEADER = $(INSTALL_DATA)
36transform = $(program_transform_name)
37NORMAL_INSTALL = :
38PRE_INSTALL = :
39POST_INSTALL = :
40NORMAL_UNINSTALL = :
41PRE_UNINSTALL = :
42POST_UNINSTALL = :
43build_triplet = @build@
44host_triplet = @host@
45target_triplet = @target@
0c617c9a 46DIST_COMMON = $(am__configure_deps) $(noinst_HEADERS) \
c5f70460 47 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
86933a6e
BB
48 $(srcdir)/spl-modules.spec.in $(srcdir)/spl.spec.in \
49 $(srcdir)/spl_config.h.in $(top_srcdir)/config/rpm.am \
617d5a67
BB
50 $(top_srcdir)/configure $(top_srcdir)/module/Makefile.in \
51 $(top_srcdir)/module/spl/Makefile.in \
52 $(top_srcdir)/module/splat/Makefile.in AUTHORS COPYING \
bf9f3bac 53 ChangeLog INSTALL config/config.guess config/config.sub \
54 config/depcomp config/install-sh config/ltmain.sh \
55 config/missing
56subdir = .
57ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
58am__aclocal_m4_deps = $(top_srcdir)/config/spl-build.m4 \
dd529a30 59 $(top_srcdir)/config/spl-meta.m4 $(top_srcdir)/configure.ac
bf9f3bac 60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4)
62am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
8934764e 63 configure.lineno config.status.lineno
bf9f3bac 64mkinstalldirs = $(install_sh) -d
65CONFIG_HEADER = spl_config.h
c5f70460 66CONFIG_CLEAN_FILES = module/Makefile module/spl/Makefile \
86933a6e 67 module/splat/Makefile spl.spec spl-modules.spec
8934764e
BB
68CONFIG_CLEAN_VPATH_FILES =
69AM_V_GEN = $(am__v_GEN_$(V))
70am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
71am__v_GEN_0 = @echo " GEN " $@;
72AM_V_at = $(am__v_at_$(V))
73am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
74am__v_at_0 = @
bf9f3bac 75SOURCES =
76DIST_SOURCES =
77RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
78 html-recursive info-recursive install-data-recursive \
8934764e
BB
79 install-dvi-recursive install-exec-recursive \
80 install-html-recursive install-info-recursive \
81 install-pdf-recursive install-ps-recursive install-recursive \
82 installcheck-recursive installdirs-recursive pdf-recursive \
83 ps-recursive uninstall-recursive
0c617c9a 84HEADERS = $(noinst_HEADERS)
8934764e
BB
85RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
86 distclean-recursive maintainer-clean-recursive
87AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
88 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
89 distdir dist dist-all distcheck
bf9f3bac 90ETAGS = etags
91CTAGS = ctags
86933a6e 92DIST_SUBDIRS = lib cmd scripts module include
bf9f3bac 93DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
94distdir = $(PACKAGE)-$(VERSION)
95top_distdir = $(distdir)
96am__remove_distdir = \
8934764e
BB
97 { test ! -d "$(distdir)" \
98 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
99 && rm -fr "$(distdir)"; }; }
100am__relativize = \
101 dir0=`pwd`; \
102 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
103 sed_rest='s,^[^/]*/*,,'; \
104 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
105 sed_butlast='s,/*[^/]*$$,,'; \
106 while test -n "$$dir1"; do \
107 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
108 if test "$$first" != "."; then \
109 if test "$$first" = ".."; then \
110 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
111 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
112 else \
113 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
114 if test "$$first2" = "$$first"; then \
115 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
116 else \
117 dir2="../$$dir2"; \
118 fi; \
119 dir0="$$dir0"/"$$first"; \
120 fi; \
121 fi; \
122 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
123 done; \
124 reldir="$$dir2"
bf9f3bac 125DIST_ARCHIVES = $(distdir).tar.gz $(distdir).zip
126GZIP_ENV = --best
127distuninstallcheck_listfiles = find . -type f -print
128distcleancheck_listfiles = find . -type f -print
129ACLOCAL = @ACLOCAL@
287b2fb1
BB
130ALIEN = @ALIEN@
131ALIEN_VERSION = @ALIEN_VERSION@
bf9f3bac 132AMTAR = @AMTAR@
8934764e 133AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
bf9f3bac 134AR = @AR@
135AUTOCONF = @AUTOCONF@
136AUTOHEADER = @AUTOHEADER@
137AUTOMAKE = @AUTOMAKE@
138AWK = @AWK@
139CC = @CC@
140CCDEPMODE = @CCDEPMODE@
141CFLAGS = @CFLAGS@
142CPP = @CPP@
143CPPFLAGS = @CPPFLAGS@
bf9f3bac 144CYGPATH_W = @CYGPATH_W@
c950d148 145DEBUG_CFLAGS = @DEBUG_CFLAGS@
287b2fb1 146DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
bf9f3bac 147DEFS = @DEFS@
148DEPDIR = @DEPDIR@
287b2fb1
BB
149DPKG = @DPKG@
150DPKGBUILD = @DPKGBUILD@
151DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
152DPKG_VERSION = @DPKG_VERSION@
8934764e
BB
153DSYMUTIL = @DSYMUTIL@
154DUMPBIN = @DUMPBIN@
bf9f3bac 155ECHO_C = @ECHO_C@
156ECHO_N = @ECHO_N@
157ECHO_T = @ECHO_T@
158EGREP = @EGREP@
159EXEEXT = @EXEEXT@
8934764e
BB
160FGREP = @FGREP@
161GREP = @GREP@
287b2fb1
BB
162HAVE_ALIEN = @HAVE_ALIEN@
163HAVE_DPKG = @HAVE_DPKG@
164HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
165HAVE_RPM = @HAVE_RPM@
166HAVE_RPMBUILD = @HAVE_RPMBUILD@
8934764e 167INSTALL = @INSTALL@
bf9f3bac 168INSTALL_DATA = @INSTALL_DATA@
169INSTALL_PROGRAM = @INSTALL_PROGRAM@
170INSTALL_SCRIPT = @INSTALL_SCRIPT@
171INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
bf9f3bac 172KERNELCPPFLAGS = @KERNELCPPFLAGS@
173KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
8934764e 174LD = @LD@
bf9f3bac 175LDFLAGS = @LDFLAGS@
176LIBOBJS = @LIBOBJS@
177LIBS = @LIBS@
178LIBTOOL = @LIBTOOL@
86933a6e 179LICENSE = @LICENSE@
bf9f3bac 180LINUX = @LINUX@
181LINUX_OBJ = @LINUX_OBJ@
2e0e7e69 182LINUX_SYMBOLS = @LINUX_SYMBOLS@
c5f70460 183LINUX_VERSION = @LINUX_VERSION@
8934764e 184LIPO = @LIPO@
bf9f3bac 185LN_S = @LN_S@
186LTLIBOBJS = @LTLIBOBJS@
187MAINT = @MAINT@
bf9f3bac 188MAKEINFO = @MAKEINFO@
8934764e
BB
189MKDIR_P = @MKDIR_P@
190NM = @NM@
191NMEDIT = @NMEDIT@
192OBJDUMP = @OBJDUMP@
bf9f3bac 193OBJEXT = @OBJEXT@
8934764e
BB
194OTOOL = @OTOOL@
195OTOOL64 = @OTOOL64@
bf9f3bac 196PACKAGE = @PACKAGE@
197PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
198PACKAGE_NAME = @PACKAGE_NAME@
199PACKAGE_STRING = @PACKAGE_STRING@
200PACKAGE_TARNAME = @PACKAGE_TARNAME@
201PACKAGE_VERSION = @PACKAGE_VERSION@
202PATH_SEPARATOR = @PATH_SEPARATOR@
203RANLIB = @RANLIB@
287b2fb1
BB
204RPM = @RPM@
205RPMBUILD = @RPMBUILD@
206RPMBUILD_VERSION = @RPMBUILD_VERSION@
207RPM_VERSION = @RPM_VERSION@
bf9f3bac 208SED = @SED@
209SET_MAKE = @SET_MAKE@
210SHELL = @SHELL@
86933a6e 211SPL_CONFIG = @SPL_CONFIG@
72e7de60 212SPL_META_ALIAS = @SPL_META_ALIAS@
abc3ca14
BB
213SPL_META_AUTHOR = @SPL_META_AUTHOR@
214SPL_META_DATA = @SPL_META_DATA@
215SPL_META_LT_AGE = @SPL_META_LT_AGE@
216SPL_META_LT_CURRENT = @SPL_META_LT_CURRENT@
217SPL_META_LT_REVISION = @SPL_META_LT_REVISION@
218SPL_META_NAME = @SPL_META_NAME@
219SPL_META_RELEASE = @SPL_META_RELEASE@
220SPL_META_VERSION = @SPL_META_VERSION@
bf9f3bac 221STRIP = @STRIP@
222VERSION = @VERSION@
8934764e
BB
223abs_builddir = @abs_builddir@
224abs_srcdir = @abs_srcdir@
225abs_top_builddir = @abs_top_builddir@
226abs_top_srcdir = @abs_top_srcdir@
bf9f3bac 227ac_ct_CC = @ac_ct_CC@
8934764e 228ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
bf9f3bac 229am__include = @am__include@
230am__leading_dot = @am__leading_dot@
231am__quote = @am__quote@
232am__tar = @am__tar@
233am__untar = @am__untar@
234bindir = @bindir@
235build = @build@
236build_alias = @build_alias@
237build_cpu = @build_cpu@
238build_os = @build_os@
239build_vendor = @build_vendor@
8934764e 240builddir = @builddir@
bf9f3bac 241datadir = @datadir@
8934764e
BB
242datarootdir = @datarootdir@
243docdir = @docdir@
244dvidir = @dvidir@
bf9f3bac 245exec_prefix = @exec_prefix@
246host = @host@
247host_alias = @host_alias@
248host_cpu = @host_cpu@
249host_os = @host_os@
250host_vendor = @host_vendor@
8934764e 251htmldir = @htmldir@
bf9f3bac 252includedir = @includedir@
253infodir = @infodir@
254install_sh = @install_sh@
bf9f3bac 255libdir = @libdir@
256libexecdir = @libexecdir@
8934764e 257localedir = @localedir@
bf9f3bac 258localstatedir = @localstatedir@
8934764e 259lt_ECHO = @lt_ECHO@
bf9f3bac 260mandir = @mandir@
261mkdir_p = @mkdir_p@
262oldincludedir = @oldincludedir@
8934764e 263pdfdir = @pdfdir@
bf9f3bac 264prefix = @prefix@
265program_transform_name = @program_transform_name@
8934764e 266psdir = @psdir@
bf9f3bac 267sbindir = @sbindir@
268sharedstatedir = @sharedstatedir@
8934764e 269srcdir = @srcdir@
bf9f3bac 270sysconfdir = @sysconfdir@
271target = @target@
272target_alias = @target_alias@
273target_cpu = @target_cpu@
274target_os = @target_os@
275target_vendor = @target_vendor@
8934764e
BB
276top_build_prefix = @top_build_prefix@
277top_builddir = @top_builddir@
278top_srcdir = @top_srcdir@
86933a6e
BB
279@CONFIG_USER_TRUE@USER_DIR = lib cmd scripts
280@CONFIG_KERNEL_TRUE@KERNEL_DIR = module include
281SUBDIRS = $(USER_DIR) $(KERNEL_DIR)
c5f70460 282AUTOMAKE_OPTIONS = foreign dist-zip
287b2fb1
BB
283EXTRA_DIST = autogen.sh spl.spec.in spl-modules.spec.in META \
284 DISCLAIMER config/config.awk config/rpm.am config/deb.am \
285 config/tgz.am
16b719f0 286noinst_HEADERS = spl_config.h
bf9f3bac 287all: spl_config.h
288 $(MAKE) $(AM_MAKEFLAGS) all-recursive
289
290.SUFFIXES:
291am--refresh:
292 @:
86933a6e 293$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/config/rpm.am $(am__configure_deps)
bf9f3bac 294 @for dep in $?; do \
295 case '$(am__configure_deps)' in \
296 *$$dep*) \
8934764e
BB
297 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
298 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
bf9f3bac 299 && exit 0; \
300 exit 1;; \
301 esac; \
302 done; \
8934764e
BB
303 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
304 $(am__cd) $(top_srcdir) && \
305 $(AUTOMAKE) --foreign Makefile
bf9f3bac 306.PRECIOUS: Makefile
307Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
308 @case '$?' in \
309 *config.status*) \
310 echo ' $(SHELL) ./config.status'; \
311 $(SHELL) ./config.status;; \
312 *) \
313 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
314 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
315 esac;
316
317$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
318 $(SHELL) ./config.status --recheck
319
320$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
8934764e 321 $(am__cd) $(srcdir) && $(AUTOCONF)
bf9f3bac 322$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
8934764e
BB
323 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
324$(am__aclocal_m4_deps):
bf9f3bac 325
326spl_config.h: stamp-h1
327 @if test ! -f $@; then \
328 rm -f stamp-h1; \
8934764e 329 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
bf9f3bac 330 else :; fi
331
332stamp-h1: $(srcdir)/spl_config.h.in $(top_builddir)/config.status
333 @rm -f stamp-h1
334 cd $(top_builddir) && $(SHELL) ./config.status spl_config.h
335$(srcdir)/spl_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
8934764e 336 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
bf9f3bac 337 rm -f stamp-h1
338 touch $@
339
340distclean-hdr:
341 -rm -f spl_config.h stamp-h1
617d5a67 342module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
bf9f3bac 343 cd $(top_builddir) && $(SHELL) ./config.status $@
617d5a67 344module/spl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/spl/Makefile.in
bf9f3bac 345 cd $(top_builddir) && $(SHELL) ./config.status $@
617d5a67 346module/splat/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/splat/Makefile.in
bf9f3bac 347 cd $(top_builddir) && $(SHELL) ./config.status $@
c5f70460
BB
348spl.spec: $(top_builddir)/config.status $(srcdir)/spl.spec.in
349 cd $(top_builddir) && $(SHELL) ./config.status $@
86933a6e
BB
350spl-modules.spec: $(top_builddir)/config.status $(srcdir)/spl-modules.spec.in
351 cd $(top_builddir) && $(SHELL) ./config.status $@
bf9f3bac 352
353mostlyclean-libtool:
354 -rm -f *.lo
355
356clean-libtool:
357 -rm -rf .libs _libs
358
359distclean-libtool:
8934764e 360 -rm -f libtool config.lt
bf9f3bac 361
362# This directory's subdirectories are mostly independent; you can cd
363# into them and run `make' without going through this Makefile.
364# To change the values of `make' variables: instead of editing Makefiles,
365# (1) if the variable is set in `config.status', edit `config.status'
366# (which will cause the Makefiles to be regenerated when you run `make');
367# (2) otherwise, pass the desired values on the `make' command line.
368$(RECURSIVE_TARGETS):
49638d83 369 @fail= failcom='exit 1'; \
bf9f3bac 370 for f in x $$MAKEFLAGS; do \
371 case $$f in \
372 *=* | --[!k]*);; \
373 *k*) failcom='fail=yes';; \
374 esac; \
375 done; \
376 dot_seen=no; \
377 target=`echo $@ | sed s/-recursive//`; \
378 list='$(SUBDIRS)'; for subdir in $$list; do \
379 echo "Making $$target in $$subdir"; \
380 if test "$$subdir" = "."; then \
381 dot_seen=yes; \
382 local_target="$$target-am"; \
383 else \
384 local_target="$$target"; \
385 fi; \
8934764e 386 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
bf9f3bac 387 || eval $$failcom; \
388 done; \
389 if test "$$dot_seen" = "no"; then \
390 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
391 fi; test -z "$$fail"
392
8934764e 393$(RECURSIVE_CLEAN_TARGETS):
49638d83 394 @fail= failcom='exit 1'; \
bf9f3bac 395 for f in x $$MAKEFLAGS; do \
396 case $$f in \
397 *=* | --[!k]*);; \
398 *k*) failcom='fail=yes';; \
399 esac; \
400 done; \
401 dot_seen=no; \
402 case "$@" in \
403 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
404 *) list='$(SUBDIRS)' ;; \
405 esac; \
406 rev=''; for subdir in $$list; do \
407 if test "$$subdir" = "."; then :; else \
408 rev="$$subdir $$rev"; \
409 fi; \
410 done; \
411 rev="$$rev ."; \
412 target=`echo $@ | sed s/-recursive//`; \
413 for subdir in $$rev; do \
414 echo "Making $$target in $$subdir"; \
415 if test "$$subdir" = "."; then \
416 local_target="$$target-am"; \
417 else \
418 local_target="$$target"; \
419 fi; \
8934764e 420 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
bf9f3bac 421 || eval $$failcom; \
422 done && test -z "$$fail"
423tags-recursive:
424 list='$(SUBDIRS)'; for subdir in $$list; do \
8934764e 425 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
bf9f3bac 426 done
427ctags-recursive:
428 list='$(SUBDIRS)'; for subdir in $$list; do \
8934764e 429 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
bf9f3bac 430 done
431
432ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
433 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
434 unique=`for i in $$list; do \
435 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
436 done | \
8934764e
BB
437 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
438 END { if (nonempty) { for (i in files) print i; }; }'`; \
bf9f3bac 439 mkid -fID $$unique
bf9f3bac 440
441TAGS: tags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \
442 $(TAGS_FILES) $(LISP)
8934764e 443 set x; \
bf9f3bac 444 here=`pwd`; \
445 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
446 include_option=--etags-include; \
447 empty_fix=.; \
448 else \
449 include_option=--include; \
450 empty_fix=; \
451 fi; \
452 list='$(SUBDIRS)'; for subdir in $$list; do \
453 if test "$$subdir" = .; then :; else \
454 test ! -f $$subdir/TAGS || \
8934764e 455 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
bf9f3bac 456 fi; \
457 done; \
458 list='$(SOURCES) $(HEADERS) spl_config.h.in $(LISP) $(TAGS_FILES)'; \
459 unique=`for i in $$list; do \
460 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
461 done | \
8934764e
BB
462 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
463 END { if (nonempty) { for (i in files) print i; }; }'`; \
464 shift; \
465 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
bf9f3bac 466 test -n "$$unique" || unique=$$empty_fix; \
8934764e
BB
467 if test $$# -gt 0; then \
468 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
469 "$$@" $$unique; \
470 else \
471 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
472 $$unique; \
473 fi; \
bf9f3bac 474 fi
bf9f3bac 475CTAGS: ctags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \
476 $(TAGS_FILES) $(LISP)
bf9f3bac 477 list='$(SOURCES) $(HEADERS) spl_config.h.in $(LISP) $(TAGS_FILES)'; \
478 unique=`for i in $$list; do \
479 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
480 done | \
8934764e
BB
481 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
482 END { if (nonempty) { for (i in files) print i; }; }'`; \
483 test -z "$(CTAGS_ARGS)$$unique" \
bf9f3bac 484 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
8934764e 485 $$unique
bf9f3bac 486
487GTAGS:
488 here=`$(am__cd) $(top_builddir) && pwd` \
8934764e
BB
489 && $(am__cd) $(top_srcdir) \
490 && gtags -i $(GTAGS_ARGS) "$$here"
bf9f3bac 491
492distclean-tags:
493 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
494
495distdir: $(DISTFILES)
496 $(am__remove_distdir)
8934764e
BB
497 test -d "$(distdir)" || mkdir "$(distdir)"
498 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
499 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
500 list='$(DISTFILES)'; \
501 dist_files=`for file in $$list; do echo $$file; done | \
502 sed -e "s|^$$srcdirstrip/||;t" \
503 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
504 case $$dist_files in \
505 */*) $(MKDIR_P) `echo "$$dist_files" | \
506 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
507 sort -u` ;; \
508 esac; \
509 for file in $$dist_files; do \
bf9f3bac 510 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
bf9f3bac 511 if test -d $$d/$$file; then \
8934764e
BB
512 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
513 if test -d "$(distdir)/$$file"; then \
514 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
515 fi; \
bf9f3bac 516 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
8934764e
BB
517 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
518 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
bf9f3bac 519 fi; \
8934764e 520 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
bf9f3bac 521 else \
8934764e
BB
522 test -f "$(distdir)/$$file" \
523 || cp -p $$d/$$file "$(distdir)/$$file" \
bf9f3bac 524 || exit 1; \
525 fi; \
526 done
8934764e 527 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
bf9f3bac 528 if test "$$subdir" = .; then :; else \
529 test -d "$(distdir)/$$subdir" \
8934764e 530 || $(MKDIR_P) "$(distdir)/$$subdir" \
bf9f3bac 531 || exit 1; \
8934764e
BB
532 fi; \
533 done
534 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
535 if test "$$subdir" = .; then :; else \
536 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
537 $(am__relativize); \
538 new_distdir=$$reldir; \
539 dir1=$$subdir; dir2="$(top_distdir)"; \
540 $(am__relativize); \
541 new_top_distdir=$$reldir; \
542 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
543 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
544 ($(am__cd) $$subdir && \
bf9f3bac 545 $(MAKE) $(AM_MAKEFLAGS) \
8934764e
BB
546 top_distdir="$$new_top_distdir" \
547 distdir="$$new_distdir" \
548 am__remove_distdir=: \
549 am__skip_length_check=: \
550 am__skip_mode_fix=: \
bf9f3bac 551 distdir) \
552 || exit 1; \
553 fi; \
554 done
8934764e 555 -test -n "$(am__skip_mode_fix)" \
49638d83
BB
556 || find "$(distdir)" -type d ! -perm -755 \
557 -exec chmod u+rwx,go+rx {} \; -o \
bf9f3bac 558 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
559 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
8934764e
BB
560 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
561 || chmod -R a+r "$(distdir)"
bf9f3bac 562dist-gzip: distdir
563 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
564 $(am__remove_distdir)
565
566dist-bzip2: distdir
567 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
568 $(am__remove_distdir)
569
8934764e
BB
570dist-lzma: distdir
571 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
572 $(am__remove_distdir)
573
574dist-xz: distdir
575 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
576 $(am__remove_distdir)
577
bf9f3bac 578dist-tarZ: distdir
579 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
580 $(am__remove_distdir)
581
582dist-shar: distdir
583 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
584 $(am__remove_distdir)
585dist-zip: distdir
586 -rm -f $(distdir).zip
587 zip -rq $(distdir).zip $(distdir)
588 $(am__remove_distdir)
589
590dist dist-all: distdir
591 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
592 -rm -f $(distdir).zip
593 zip -rq $(distdir).zip $(distdir)
594 $(am__remove_distdir)
595
596# This target untars the dist file and tries a VPATH configuration. Then
597# it guarantees that the distribution is self-contained by making another
598# tarfile.
599distcheck: dist
600 case '$(DIST_ARCHIVES)' in \
601 *.tar.gz*) \
49638d83 602 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
bf9f3bac 603 *.tar.bz2*) \
49638d83 604 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
8934764e 605 *.tar.lzma*) \
49638d83 606 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
8934764e
BB
607 *.tar.xz*) \
608 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
bf9f3bac 609 *.tar.Z*) \
610 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
611 *.shar.gz*) \
49638d83 612 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
bf9f3bac 613 *.zip*) \
614 unzip $(distdir).zip ;;\
615 esac
616 chmod -R a-w $(distdir); chmod a+w $(distdir)
617 mkdir $(distdir)/_build
618 mkdir $(distdir)/_inst
619 chmod a-w $(distdir)
8934764e 620 test -d $(distdir)/_build || exit 0; \
bf9f3bac 621 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
622 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
8934764e
BB
623 && am__cwd=`pwd` \
624 && $(am__cd) $(distdir)/_build \
bf9f3bac 625 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
626 $(DISTCHECK_CONFIGURE_FLAGS) \
627 && $(MAKE) $(AM_MAKEFLAGS) \
628 && $(MAKE) $(AM_MAKEFLAGS) dvi \
629 && $(MAKE) $(AM_MAKEFLAGS) check \
630 && $(MAKE) $(AM_MAKEFLAGS) install \
631 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
632 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
633 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
634 distuninstallcheck \
635 && chmod -R a-w "$$dc_install_base" \
636 && ({ \
637 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
638 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
639 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
640 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
641 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
642 } || { rm -rf "$$dc_destdir"; exit 1; }) \
643 && rm -rf "$$dc_destdir" \
644 && $(MAKE) $(AM_MAKEFLAGS) dist \
645 && rm -rf $(DIST_ARCHIVES) \
8934764e
BB
646 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
647 && cd "$$am__cwd" \
648 || exit 1
bf9f3bac 649 $(am__remove_distdir)
650 @(echo "$(distdir) archives ready for distribution: "; \
651 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
8934764e 652 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
bf9f3bac 653distuninstallcheck:
8934764e 654 @$(am__cd) '$(distuninstallcheck_dir)' \
bf9f3bac 655 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
656 || { echo "ERROR: files left after uninstall:" ; \
657 if test -n "$(DESTDIR)"; then \
658 echo " (check DESTDIR support)"; \
659 fi ; \
660 $(distuninstallcheck_listfiles) ; \
661 exit 1; } >&2
662distcleancheck: distclean
663 @if test '$(srcdir)' = . ; then \
664 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
665 exit 1 ; \
666 fi
667 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
668 || { echo "ERROR: files left in build directory after distclean:" ; \
669 $(distcleancheck_listfiles) ; \
670 exit 1; } >&2
671check-am: all-am
672check: check-recursive
c5f70460 673all-am: Makefile $(HEADERS) spl_config.h
bf9f3bac 674installdirs: installdirs-recursive
675installdirs-am:
676install: install-recursive
677install-exec: install-exec-recursive
678install-data: install-data-recursive
679uninstall: uninstall-recursive
680
681install-am: all-am
682 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
683
684installcheck: installcheck-recursive
685install-strip:
686 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
687 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
688 `test -z '$(STRIP)' || \
689 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
690mostlyclean-generic:
691
692clean-generic:
693
694distclean-generic:
695 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
8934764e 696 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
bf9f3bac 697
698maintainer-clean-generic:
699 @echo "This command is intended for maintainers to use"
700 @echo "it deletes files that may require special tools to rebuild."
86933a6e 701@CONFIG_KERNEL_FALSE@install-data-local:
bf9f3bac 702clean: clean-recursive
703
704clean-am: clean-generic clean-libtool mostlyclean-am
705
706distclean: distclean-recursive
707 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
708 -rm -f Makefile
709distclean-am: clean-am distclean-generic distclean-hdr \
c5f70460 710 distclean-libtool distclean-local distclean-tags
bf9f3bac 711
712dvi: dvi-recursive
713
714dvi-am:
715
716html: html-recursive
717
8934764e
BB
718html-am:
719
bf9f3bac 720info: info-recursive
721
722info-am:
723
0c617c9a 724install-data-am: install-data-local
bf9f3bac 725
8934764e
BB
726install-dvi: install-dvi-recursive
727
728install-dvi-am:
729
bf9f3bac 730install-exec-am:
731
8934764e
BB
732install-html: install-html-recursive
733
734install-html-am:
735
bf9f3bac 736install-info: install-info-recursive
737
8934764e
BB
738install-info-am:
739
bf9f3bac 740install-man:
741
8934764e
BB
742install-pdf: install-pdf-recursive
743
744install-pdf-am:
745
746install-ps: install-ps-recursive
747
748install-ps-am:
749
bf9f3bac 750installcheck-am:
751
752maintainer-clean: maintainer-clean-recursive
753 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
754 -rm -rf $(top_srcdir)/autom4te.cache
755 -rm -f Makefile
756maintainer-clean-am: distclean-am maintainer-clean-generic
757
758mostlyclean: mostlyclean-recursive
759
760mostlyclean-am: mostlyclean-generic mostlyclean-libtool
761
762pdf: pdf-recursive
763
764pdf-am:
765
766ps: ps-recursive
767
768ps-am:
769
8934764e 770uninstall-am:
bf9f3bac 771
8934764e
BB
772.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
773 ctags-recursive install-am install-strip tags-recursive
bf9f3bac 774
8934764e
BB
775.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
776 all all-am am--refresh check check-am clean clean-generic \
777 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
778 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
779 distcheck distclean distclean-generic distclean-hdr \
780 distclean-libtool distclean-local distclean-tags \
c5f70460
BB
781 distcleancheck distdir distuninstallcheck dvi dvi-am html \
782 html-am info info-am install install-am install-data \
8934764e
BB
783 install-data-am install-data-local install-dvi install-dvi-am \
784 install-exec install-exec-am install-html install-html-am \
785 install-info install-info-am install-man install-pdf \
786 install-pdf-am install-ps install-ps-am install-strip \
787 installcheck installcheck-am installdirs installdirs-am \
788 maintainer-clean maintainer-clean-generic mostlyclean \
789 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
790 tags tags-recursive uninstall uninstall-am
c5f70460 791
716154c5 792
287b2fb1
BB
793srpm-modules:
794 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
795
796srpm-utils:
797 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
798
799srpm: srpm-modules srpm-utils
800
801rpm-modules: srpm-modules
802 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
803
804rpm-utils: srpm-utils
805 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
806
807rpm-modules: srpm-modules
808
809rpm: rpm-modules rpm-utils
810
86933a6e 811rpm-local:
287b2fb1
BB
812 @(if test "${HAVE_RPMBUILD}" = "no"; then \
813 echo -e "\n" \
814 "*** Required util ${RPMBUILD} missing. Please install the\n" \
815 "*** package for your distribution which provides ${RPMBUILD},\n" \
816 "*** re-run configure, and try again.\n"; \
817 exit 1; \
818 fi; \
86933a6e
BB
819 mkdir -p $(rpmbuild)/TMP && \
820 mkdir -p $(rpmbuild)/BUILD && \
821 mkdir -p $(rpmbuild)/RPMS && \
822 mkdir -p $(rpmbuild)/SRPMS && \
287b2fb1
BB
823 mkdir -p $(rpmbuild)/SPECS && \
824 cp $(rpmspec) $(rpmbuild)/SPECS && \
825 mkdir -p $(rpmbuild)/SOURCES && \
826 cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
86933a6e
BB
827
828srpm-common: dist
829 rpmpkg=$(pkg)-$(SPL_META_VERSION)-$(SPL_META_RELEASE).src.rpm; \
830 rpmspec=$(pkg).spec; \
831 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
832 $(MAKE) $(AM_MAKEFLAGS) \
833 rpmbuild="$$rpmbuild" \
834 rpmspec="$$rpmspec" \
835 rpm-local || exit 1; \
287b2fb1 836 $(RPMBUILD) \
86933a6e
BB
837 --define "_tmppath $$rpmbuild/TMP" \
838 --define "_topdir $$rpmbuild" \
839 --define "build_src_rpm 1" \
840 --define "dist %{nil}" \
841 --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
842 cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
843 $(RM) -R $$rpmbuild
844
845rpm-common:
846 rpmpkg=$(pkg)-$(SPL_META_VERSION)-$(SPL_META_RELEASE).src.rpm; \
847 rpmspec=$(pkg).spec; \
848 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
849 $(MAKE) $(AM_MAKEFLAGS) \
850 rpmbuild="$$rpmbuild" \
851 rpmspec="$$rpmspec" \
852 rpm-local || exit 1; \
287b2fb1 853 ${RPMBUILD} \
86933a6e
BB
854 --define "_tmppath $$rpmbuild/TMP" \
855 --define "_topdir $$rpmbuild" \
856 --define "dist %{nil}" \
857 --define "require_kdir $(LINUX)" \
858 --define "require_kobj $(LINUX_OBJ)" \
859 --define "require_kver $(LINUX_VERSION)" \
860 --nodeps --rebuild $$rpmpkg || exit 1; \
861 cp $$rpmbuild/RPMS/*/* . || exit 1; \
862 $(RM) -R $$rpmbuild
287b2fb1
BB
863include ${top_srcdir}/config/deb.am
864include ${top_srcdir}/config/tgz.am
c5f70460
BB
865
866distclean-local::
867 -$(RM) -R autom4te*.cache
868 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
869 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
870 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
871 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
872 -o -name '.*.rej' -o -name 'aclocal.m4' -o -size 0 \
873 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
fe883092
BB
874 -o -name 'Makefile' -o -name '$(LINUX_SYMBOLS)' \
875 -o -name '*.order' -o -name '*.markers' \) \
c5f70460
BB
876 -type f -print | xargs $(RM)
877
86933a6e
BB
878@CONFIG_KERNEL_TRUE@install-data-local:
879@CONFIG_KERNEL_TRUE@ destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
880@CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/${prefix}/src/$$destname; \
881@CONFIG_KERNEL_TRUE@ echo "${SPL_META_VERSION}" >$$instdest/spl.release; \
882@CONFIG_KERNEL_TRUE@ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
883@CONFIG_KERNEL_TRUE@ $(INSTALL) -D $$instfile $$instdest/$$instfile; \
884@CONFIG_KERNEL_TRUE@ done
c5f70460
BB
885
886ctags:
887 $(RM) $(top_srcdir)/tags
888 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
889
890etags:
891 $(RM) $(top_srcdir)/TAGS
892 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
893
894tags: ctags etags
895
287b2fb1
BB
896pkg: @DEFAULT_PACKAGE@
897pkg-modules: @DEFAULT_PACKAGE@-modules
898pkg-utils: @DEFAULT_PACKAGE@-utils
8934764e 899
bf9f3bac 900# Tell versions [3.59,3.63) of GNU make to not export all variables.
901# Otherwise a system limit (for SysV at least) may be exceeded.
902.NOEXPORT: