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