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