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