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