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