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