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