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