]> git.proxmox.com Git - mirror_spl-debian.git/blame - Makefile.in
Decrease target objects per slab
[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###############################################################################
287b2fb1 23# Build targets for RPM packages.
716154c5
BB
24###############################################################################
25
a7958f7e
BB
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
bf9f3bac 54VPATH = @srcdir@
55pkgdatadir = $(datadir)/@PACKAGE@
bf9f3bac 56pkgincludedir = $(includedir)/@PACKAGE@
8934764e
BB
57pkglibdir = $(libdir)/@PACKAGE@
58pkglibexecdir = $(libexecdir)/@PACKAGE@
bf9f3bac 59am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
bf9f3bac 60install_sh_DATA = $(install_sh) -c -m 644
61install_sh_PROGRAM = $(install_sh) -c
62install_sh_SCRIPT = $(install_sh) -c
63INSTALL_HEADER = $(INSTALL_DATA)
64transform = $(program_transform_name)
65NORMAL_INSTALL = :
66PRE_INSTALL = :
67POST_INSTALL = :
68NORMAL_UNINSTALL = :
69PRE_UNINSTALL = :
70POST_UNINSTALL = :
71build_triplet = @build@
72host_triplet = @host@
73target_triplet = @target@
0c617c9a 74DIST_COMMON = $(am__configure_deps) $(noinst_HEADERS) \
c5f70460 75 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
86933a6e 76 $(srcdir)/spl-modules.spec.in $(srcdir)/spl.spec.in \
a7958f7e
BB
77 $(srcdir)/spl_config.h.in $(top_srcdir)/config/deb.am \
78 $(top_srcdir)/config/rpm.am $(top_srcdir)/config/tgz.am \
617d5a67
BB
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 \
bf9f3bac 82 ChangeLog INSTALL config/config.guess config/config.sub \
83 config/depcomp config/install-sh config/ltmain.sh \
84 config/missing
85subdir = .
86ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
87am__aclocal_m4_deps = $(top_srcdir)/config/spl-build.m4 \
dd529a30 88 $(top_srcdir)/config/spl-meta.m4 $(top_srcdir)/configure.ac
bf9f3bac 89am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
90 $(ACLOCAL_M4)
91am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
8934764e 92 configure.lineno config.status.lineno
bf9f3bac 93mkinstalldirs = $(install_sh) -d
94CONFIG_HEADER = spl_config.h
c5f70460 95CONFIG_CLEAN_FILES = module/Makefile module/spl/Makefile \
86933a6e 96 module/splat/Makefile spl.spec spl-modules.spec
8934764e
BB
97CONFIG_CLEAN_VPATH_FILES =
98AM_V_GEN = $(am__v_GEN_$(V))
99am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
100am__v_GEN_0 = @echo " GEN " $@;
101AM_V_at = $(am__v_at_$(V))
102am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
103am__v_at_0 = @
bf9f3bac 104SOURCES =
105DIST_SOURCES =
106RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
107 html-recursive info-recursive install-data-recursive \
8934764e
BB
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
0c617c9a 113HEADERS = $(noinst_HEADERS)
8934764e
BB
114RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
115 distclean-recursive maintainer-clean-recursive
116AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
117 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
118 distdir dist dist-all distcheck
bf9f3bac 119ETAGS = etags
120CTAGS = ctags
86933a6e 121DIST_SUBDIRS = lib cmd scripts module include
bf9f3bac 122DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
123distdir = $(PACKAGE)-$(VERSION)
124top_distdir = $(distdir)
125am__remove_distdir = \
8934764e
BB
126 { test ! -d "$(distdir)" \
127 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
128 && rm -fr "$(distdir)"; }; }
129am__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"
d8a1b739 154DIST_ARCHIVES = $(distdir).tar.gz
bf9f3bac 155GZIP_ENV = --best
156distuninstallcheck_listfiles = find . -type f -print
157distcleancheck_listfiles = find . -type f -print
158ACLOCAL = @ACLOCAL@
287b2fb1
BB
159ALIEN = @ALIEN@
160ALIEN_VERSION = @ALIEN_VERSION@
bf9f3bac 161AMTAR = @AMTAR@
8934764e 162AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
bf9f3bac 163AR = @AR@
164AUTOCONF = @AUTOCONF@
165AUTOHEADER = @AUTOHEADER@
166AUTOMAKE = @AUTOMAKE@
167AWK = @AWK@
168CC = @CC@
169CCDEPMODE = @CCDEPMODE@
170CFLAGS = @CFLAGS@
171CPP = @CPP@
172CPPFLAGS = @CPPFLAGS@
bf9f3bac 173CYGPATH_W = @CYGPATH_W@
c950d148 174DEBUG_CFLAGS = @DEBUG_CFLAGS@
287b2fb1 175DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
bf9f3bac 176DEFS = @DEFS@
177DEPDIR = @DEPDIR@
287b2fb1
BB
178DPKG = @DPKG@
179DPKGBUILD = @DPKGBUILD@
180DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
181DPKG_VERSION = @DPKG_VERSION@
8934764e
BB
182DSYMUTIL = @DSYMUTIL@
183DUMPBIN = @DUMPBIN@
bf9f3bac 184ECHO_C = @ECHO_C@
185ECHO_N = @ECHO_N@
186ECHO_T = @ECHO_T@
187EGREP = @EGREP@
188EXEEXT = @EXEEXT@
8934764e
BB
189FGREP = @FGREP@
190GREP = @GREP@
287b2fb1
BB
191HAVE_ALIEN = @HAVE_ALIEN@
192HAVE_DPKG = @HAVE_DPKG@
193HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
194HAVE_RPM = @HAVE_RPM@
195HAVE_RPMBUILD = @HAVE_RPMBUILD@
8934764e 196INSTALL = @INSTALL@
bf9f3bac 197INSTALL_DATA = @INSTALL_DATA@
198INSTALL_PROGRAM = @INSTALL_PROGRAM@
199INSTALL_SCRIPT = @INSTALL_SCRIPT@
200INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
bf9f3bac 201KERNELCPPFLAGS = @KERNELCPPFLAGS@
202KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
8934764e 203LD = @LD@
bf9f3bac 204LDFLAGS = @LDFLAGS@
205LIBOBJS = @LIBOBJS@
206LIBS = @LIBS@
207LIBTOOL = @LIBTOOL@
86933a6e 208LICENSE = @LICENSE@
bf9f3bac 209LINUX = @LINUX@
210LINUX_OBJ = @LINUX_OBJ@
2e0e7e69 211LINUX_SYMBOLS = @LINUX_SYMBOLS@
c5f70460 212LINUX_VERSION = @LINUX_VERSION@
8934764e 213LIPO = @LIPO@
bf9f3bac 214LN_S = @LN_S@
215LTLIBOBJS = @LTLIBOBJS@
216MAINT = @MAINT@
bf9f3bac 217MAKEINFO = @MAKEINFO@
8934764e
BB
218MKDIR_P = @MKDIR_P@
219NM = @NM@
220NMEDIT = @NMEDIT@
221OBJDUMP = @OBJDUMP@
bf9f3bac 222OBJEXT = @OBJEXT@
8934764e
BB
223OTOOL = @OTOOL@
224OTOOL64 = @OTOOL64@
bf9f3bac 225PACKAGE = @PACKAGE@
226PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
227PACKAGE_NAME = @PACKAGE_NAME@
228PACKAGE_STRING = @PACKAGE_STRING@
229PACKAGE_TARNAME = @PACKAGE_TARNAME@
230PACKAGE_VERSION = @PACKAGE_VERSION@
231PATH_SEPARATOR = @PATH_SEPARATOR@
232RANLIB = @RANLIB@
287b2fb1
BB
233RPM = @RPM@
234RPMBUILD = @RPMBUILD@
235RPMBUILD_VERSION = @RPMBUILD_VERSION@
236RPM_VERSION = @RPM_VERSION@
bf9f3bac 237SED = @SED@
238SET_MAKE = @SET_MAKE@
239SHELL = @SHELL@
86933a6e 240SPL_CONFIG = @SPL_CONFIG@
72e7de60 241SPL_META_ALIAS = @SPL_META_ALIAS@
abc3ca14
BB
242SPL_META_AUTHOR = @SPL_META_AUTHOR@
243SPL_META_DATA = @SPL_META_DATA@
244SPL_META_LT_AGE = @SPL_META_LT_AGE@
245SPL_META_LT_CURRENT = @SPL_META_LT_CURRENT@
246SPL_META_LT_REVISION = @SPL_META_LT_REVISION@
247SPL_META_NAME = @SPL_META_NAME@
248SPL_META_RELEASE = @SPL_META_RELEASE@
249SPL_META_VERSION = @SPL_META_VERSION@
bf9f3bac 250STRIP = @STRIP@
73fc084e 251VENDOR = @VENDOR@
bf9f3bac 252VERSION = @VERSION@
8934764e
BB
253abs_builddir = @abs_builddir@
254abs_srcdir = @abs_srcdir@
255abs_top_builddir = @abs_top_builddir@
256abs_top_srcdir = @abs_top_srcdir@
bf9f3bac 257ac_ct_CC = @ac_ct_CC@
8934764e 258ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
bf9f3bac 259am__include = @am__include@
260am__leading_dot = @am__leading_dot@
261am__quote = @am__quote@
262am__tar = @am__tar@
263am__untar = @am__untar@
264bindir = @bindir@
265build = @build@
266build_alias = @build_alias@
267build_cpu = @build_cpu@
268build_os = @build_os@
269build_vendor = @build_vendor@
8934764e 270builddir = @builddir@
bf9f3bac 271datadir = @datadir@
8934764e
BB
272datarootdir = @datarootdir@
273docdir = @docdir@
274dvidir = @dvidir@
bf9f3bac 275exec_prefix = @exec_prefix@
276host = @host@
277host_alias = @host_alias@
278host_cpu = @host_cpu@
279host_os = @host_os@
280host_vendor = @host_vendor@
8934764e 281htmldir = @htmldir@
bf9f3bac 282includedir = @includedir@
283infodir = @infodir@
284install_sh = @install_sh@
bf9f3bac 285libdir = @libdir@
286libexecdir = @libexecdir@
8934764e 287localedir = @localedir@
bf9f3bac 288localstatedir = @localstatedir@
8934764e 289lt_ECHO = @lt_ECHO@
bf9f3bac 290mandir = @mandir@
291mkdir_p = @mkdir_p@
292oldincludedir = @oldincludedir@
8934764e 293pdfdir = @pdfdir@
bf9f3bac 294prefix = @prefix@
295program_transform_name = @program_transform_name@
8934764e 296psdir = @psdir@
bf9f3bac 297sbindir = @sbindir@
298sharedstatedir = @sharedstatedir@
8934764e 299srcdir = @srcdir@
bf9f3bac 300sysconfdir = @sysconfdir@
301target = @target@
302target_alias = @target_alias@
303target_cpu = @target_cpu@
304target_os = @target_os@
305target_vendor = @target_vendor@
8934764e
BB
306top_build_prefix = @top_build_prefix@
307top_builddir = @top_builddir@
308top_srcdir = @top_srcdir@
86933a6e
BB
309@CONFIG_USER_TRUE@USER_DIR = lib cmd scripts
310@CONFIG_KERNEL_TRUE@KERNEL_DIR = module include
311SUBDIRS = $(USER_DIR) $(KERNEL_DIR)
d8a1b739 312AUTOMAKE_OPTIONS = foreign
287b2fb1
BB
313EXTRA_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
16b719f0 316noinst_HEADERS = spl_config.h
bf9f3bac 317all: spl_config.h
318 $(MAKE) $(AM_MAKEFLAGS) all-recursive
319
320.SUFFIXES:
321am--refresh:
322 @:
a7958f7e 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)
bf9f3bac 324 @for dep in $?; do \
325 case '$(am__configure_deps)' in \
326 *$$dep*) \
8934764e
BB
327 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
328 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
bf9f3bac 329 && exit 0; \
330 exit 1;; \
331 esac; \
332 done; \
8934764e
BB
333 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
334 $(am__cd) $(top_srcdir) && \
335 $(AUTOMAKE) --foreign Makefile
bf9f3bac 336.PRECIOUS: Makefile
337Makefile: $(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)
8934764e 351 $(am__cd) $(srcdir) && $(AUTOCONF)
bf9f3bac 352$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
8934764e
BB
353 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
354$(am__aclocal_m4_deps):
bf9f3bac 355
356spl_config.h: stamp-h1
357 @if test ! -f $@; then \
358 rm -f stamp-h1; \
8934764e 359 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
bf9f3bac 360 else :; fi
361
362stamp-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)
8934764e 366 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
bf9f3bac 367 rm -f stamp-h1
368 touch $@
369
370distclean-hdr:
371 -rm -f spl_config.h stamp-h1
617d5a67 372module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
bf9f3bac 373 cd $(top_builddir) && $(SHELL) ./config.status $@
617d5a67 374module/spl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/spl/Makefile.in
bf9f3bac 375 cd $(top_builddir) && $(SHELL) ./config.status $@
617d5a67 376module/splat/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/splat/Makefile.in
bf9f3bac 377 cd $(top_builddir) && $(SHELL) ./config.status $@
c5f70460
BB
378spl.spec: $(top_builddir)/config.status $(srcdir)/spl.spec.in
379 cd $(top_builddir) && $(SHELL) ./config.status $@
86933a6e
BB
380spl-modules.spec: $(top_builddir)/config.status $(srcdir)/spl-modules.spec.in
381 cd $(top_builddir) && $(SHELL) ./config.status $@
bf9f3bac 382
383mostlyclean-libtool:
384 -rm -f *.lo
385
386clean-libtool:
387 -rm -rf .libs _libs
388
389distclean-libtool:
8934764e 390 -rm -f libtool config.lt
bf9f3bac 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):
49638d83 399 @fail= failcom='exit 1'; \
bf9f3bac 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; \
8934764e 416 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
bf9f3bac 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
8934764e 423$(RECURSIVE_CLEAN_TARGETS):
49638d83 424 @fail= failcom='exit 1'; \
bf9f3bac 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; \
8934764e 450 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
bf9f3bac 451 || eval $$failcom; \
452 done && test -z "$$fail"
453tags-recursive:
454 list='$(SUBDIRS)'; for subdir in $$list; do \
8934764e 455 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
bf9f3bac 456 done
457ctags-recursive:
458 list='$(SUBDIRS)'; for subdir in $$list; do \
8934764e 459 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
bf9f3bac 460 done
461
462ID: $(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 | \
8934764e
BB
467 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
468 END { if (nonempty) { for (i in files) print i; }; }'`; \
bf9f3bac 469 mkid -fID $$unique
bf9f3bac 470
471TAGS: tags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \
472 $(TAGS_FILES) $(LISP)
8934764e 473 set x; \
bf9f3bac 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 || \
8934764e 485 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
bf9f3bac 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 | \
8934764e
BB
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 \
bf9f3bac 496 test -n "$$unique" || unique=$$empty_fix; \
8934764e
BB
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; \
bf9f3bac 504 fi
bf9f3bac 505CTAGS: ctags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \
506 $(TAGS_FILES) $(LISP)
bf9f3bac 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 | \
8934764e
BB
511 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
512 END { if (nonempty) { for (i in files) print i; }; }'`; \
513 test -z "$(CTAGS_ARGS)$$unique" \
bf9f3bac 514 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
8934764e 515 $$unique
bf9f3bac 516
517GTAGS:
518 here=`$(am__cd) $(top_builddir) && pwd` \
8934764e
BB
519 && $(am__cd) $(top_srcdir) \
520 && gtags -i $(GTAGS_ARGS) "$$here"
bf9f3bac 521
522distclean-tags:
523 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
524
525distdir: $(DISTFILES)
526 $(am__remove_distdir)
8934764e
BB
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 \
bf9f3bac 540 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
bf9f3bac 541 if test -d $$d/$$file; then \
8934764e
BB
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; \
bf9f3bac 546 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
8934764e
BB
547 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
548 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
bf9f3bac 549 fi; \
8934764e 550 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
bf9f3bac 551 else \
8934764e
BB
552 test -f "$(distdir)/$$file" \
553 || cp -p $$d/$$file "$(distdir)/$$file" \
bf9f3bac 554 || exit 1; \
555 fi; \
556 done
8934764e 557 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
bf9f3bac 558 if test "$$subdir" = .; then :; else \
559 test -d "$(distdir)/$$subdir" \
8934764e 560 || $(MKDIR_P) "$(distdir)/$$subdir" \
bf9f3bac 561 || exit 1; \
8934764e
BB
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 && \
bf9f3bac 575 $(MAKE) $(AM_MAKEFLAGS) \
8934764e
BB
576 top_distdir="$$new_top_distdir" \
577 distdir="$$new_distdir" \
578 am__remove_distdir=: \
579 am__skip_length_check=: \
580 am__skip_mode_fix=: \
bf9f3bac 581 distdir) \
582 || exit 1; \
583 fi; \
584 done
8934764e 585 -test -n "$(am__skip_mode_fix)" \
49638d83
BB
586 || find "$(distdir)" -type d ! -perm -755 \
587 -exec chmod u+rwx,go+rx {} \; -o \
bf9f3bac 588 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
589 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
8934764e
BB
590 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
591 || chmod -R a+r "$(distdir)"
bf9f3bac 592dist-gzip: distdir
593 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
594 $(am__remove_distdir)
595
596dist-bzip2: distdir
597 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
598 $(am__remove_distdir)
599
8934764e
BB
600dist-lzma: distdir
601 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
602 $(am__remove_distdir)
603
604dist-xz: distdir
605 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
606 $(am__remove_distdir)
607
bf9f3bac 608dist-tarZ: distdir
609 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
610 $(am__remove_distdir)
611
612dist-shar: distdir
613 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
614 $(am__remove_distdir)
d8a1b739 615
bf9f3bac 616dist-zip: distdir
617 -rm -f $(distdir).zip
618 zip -rq $(distdir).zip $(distdir)
619 $(am__remove_distdir)
620
621dist dist-all: distdir
622 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
bf9f3bac 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.
628distcheck: dist
629 case '$(DIST_ARCHIVES)' in \
630 *.tar.gz*) \
49638d83 631 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
bf9f3bac 632 *.tar.bz2*) \
49638d83 633 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
8934764e 634 *.tar.lzma*) \
49638d83 635 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
8934764e
BB
636 *.tar.xz*) \
637 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
bf9f3bac 638 *.tar.Z*) \
639 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
640 *.shar.gz*) \
49638d83 641 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
bf9f3bac 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)
8934764e 649 test -d $(distdir)/_build || exit 0; \
bf9f3bac 650 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
651 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
8934764e
BB
652 && am__cwd=`pwd` \
653 && $(am__cd) $(distdir)/_build \
bf9f3bac 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) \
8934764e
BB
675 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
676 && cd "$$am__cwd" \
677 || exit 1
bf9f3bac 678 $(am__remove_distdir)
679 @(echo "$(distdir) archives ready for distribution: "; \
680 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
8934764e 681 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
bf9f3bac 682distuninstallcheck:
8934764e 683 @$(am__cd) '$(distuninstallcheck_dir)' \
bf9f3bac 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
691distcleancheck: 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
700check-am: all-am
701check: check-recursive
c5f70460 702all-am: Makefile $(HEADERS) spl_config.h
bf9f3bac 703installdirs: installdirs-recursive
704installdirs-am:
705install: install-recursive
706install-exec: install-exec-recursive
707install-data: install-data-recursive
708uninstall: uninstall-recursive
709
710install-am: all-am
711 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
712
713installcheck: installcheck-recursive
714install-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
719mostlyclean-generic:
720
721clean-generic:
722
723distclean-generic:
724 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
8934764e 725 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
bf9f3bac 726
727maintainer-clean-generic:
728 @echo "This command is intended for maintainers to use"
729 @echo "it deletes files that may require special tools to rebuild."
86933a6e 730@CONFIG_KERNEL_FALSE@install-data-local:
bf9f3bac 731clean: clean-recursive
732
733clean-am: clean-generic clean-libtool mostlyclean-am
734
735distclean: distclean-recursive
736 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
737 -rm -f Makefile
738distclean-am: clean-am distclean-generic distclean-hdr \
c5f70460 739 distclean-libtool distclean-local distclean-tags
bf9f3bac 740
741dvi: dvi-recursive
742
743dvi-am:
744
745html: html-recursive
746
8934764e
BB
747html-am:
748
bf9f3bac 749info: info-recursive
750
751info-am:
752
0c617c9a 753install-data-am: install-data-local
bf9f3bac 754
8934764e
BB
755install-dvi: install-dvi-recursive
756
757install-dvi-am:
758
bf9f3bac 759install-exec-am:
760
8934764e
BB
761install-html: install-html-recursive
762
763install-html-am:
764
bf9f3bac 765install-info: install-info-recursive
766
8934764e
BB
767install-info-am:
768
bf9f3bac 769install-man:
770
8934764e
BB
771install-pdf: install-pdf-recursive
772
773install-pdf-am:
774
775install-ps: install-ps-recursive
776
777install-ps-am:
778
bf9f3bac 779installcheck-am:
780
781maintainer-clean: maintainer-clean-recursive
782 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
783 -rm -rf $(top_srcdir)/autom4te.cache
784 -rm -f Makefile
785maintainer-clean-am: distclean-am maintainer-clean-generic
786
787mostlyclean: mostlyclean-recursive
788
789mostlyclean-am: mostlyclean-generic mostlyclean-libtool
790
791pdf: pdf-recursive
792
793pdf-am:
794
795ps: ps-recursive
796
797ps-am:
798
8934764e 799uninstall-am:
bf9f3bac 800
8934764e
BB
801.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
802 ctags-recursive install-am install-strip tags-recursive
bf9f3bac 803
8934764e
BB
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 \
c5f70460
BB
810 distcleancheck distdir distuninstallcheck dvi dvi-am html \
811 html-am info info-am install install-am install-data \
8934764e
BB
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
c5f70460 820
716154c5 821
287b2fb1
BB
822srpm-modules:
823 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
824
825srpm-utils:
826 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
827
828srpm: srpm-modules srpm-utils
829
830rpm-modules: srpm-modules
831 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
832
833rpm-utils: srpm-utils
834 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
835
836rpm-modules: srpm-modules
837
838rpm: rpm-modules rpm-utils
839
86933a6e 840rpm-local:
287b2fb1
BB
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; \
86933a6e
BB
848 mkdir -p $(rpmbuild)/TMP && \
849 mkdir -p $(rpmbuild)/BUILD && \
850 mkdir -p $(rpmbuild)/RPMS && \
851 mkdir -p $(rpmbuild)/SRPMS && \
287b2fb1
BB
852 mkdir -p $(rpmbuild)/SPECS && \
853 cp $(rpmspec) $(rpmbuild)/SPECS && \
854 mkdir -p $(rpmbuild)/SOURCES && \
855 cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
86933a6e
BB
856
857srpm-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; \
287b2fb1 865 $(RPMBUILD) \
86933a6e
BB
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
874rpm-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; \
287b2fb1 882 ${RPMBUILD} \
86933a6e
BB
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
a7958f7e
BB
892
893deb-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
909deb-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
919deb-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
927deb: deb-modules deb-utils
928
929tgz-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
938tgz-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
948tgz-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
956tgz: tgz-modules tgz-utils
c5f70460
BB
957
958distclean-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' \
fe883092
BB
966 -o -name 'Makefile' -o -name '$(LINUX_SYMBOLS)' \
967 -o -name '*.order' -o -name '*.markers' \) \
c5f70460
BB
968 -type f -print | xargs $(RM)
969
86933a6e
BB
970@CONFIG_KERNEL_TRUE@install-data-local:
971@CONFIG_KERNEL_TRUE@ destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
099dc9c2 972@CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/$$destname; \
a7958f7e 973@CONFIG_KERNEL_TRUE@ echo "$(SPL_META_VERSION)" >$$instdest/spl.release; \
86933a6e
BB
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
c5f70460
BB
977
978ctags:
979 $(RM) $(top_srcdir)/tags
980 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
981
982etags:
983 $(RM) $(top_srcdir)/TAGS
984 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
985
986tags: ctags etags
987
287b2fb1
BB
988pkg: @DEFAULT_PACKAGE@
989pkg-modules: @DEFAULT_PACKAGE@-modules
990pkg-utils: @DEFAULT_PACKAGE@-utils
8934764e 991
bf9f3bac 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: