]> git.proxmox.com Git - mirror_spl-debian.git/blob - Makefile.in
Fix debian-watch-uses-insecure-uri.
[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)/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 \
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/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-inode-times.m4 \
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 \
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
117 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
118 $(ACLOCAL_M4)
119 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
120 configure.lineno config.status.lineno
121 mkinstalldirs = $(install_sh) -d
122 CONFIG_HEADER = spl_config.h
123 CONFIG_CLEAN_FILES = module/Makefile module/spl/Makefile \
124 module/splat/Makefile spl.release
125 CONFIG_CLEAN_VPATH_FILES =
126 AM_V_GEN = $(am__v_GEN_$(V))
127 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
128 am__v_GEN_0 = @echo " GEN " $@;
129 AM_V_at = $(am__v_at_$(V))
130 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
131 am__v_at_0 = @
132 SOURCES =
133 DIST_SOURCES =
134 RECURSIVE_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
141 am__extra_HEADERS_DIST = spl.release.in spl_config.h.in
142 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
143 am__vpath_adj = case $$p in \
144 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
145 *) f=$$p;; \
146 esac;
147 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
148 am__install_max = 40
149 am__nobase_strip_setup = \
150 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
151 am__nobase_strip = \
152 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
153 am__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] }'
160 am__base_list = \
161 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
162 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
163 am__installdirs = "$(DESTDIR)$(extradir)" "$(DESTDIR)$(kerneldir)"
164 HEADERS = $(extra_HEADERS) $(nodist_kernel_HEADERS)
165 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
166 distclean-recursive maintainer-clean-recursive
167 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
168 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
169 distdir dist dist-all distcheck
170 ETAGS = etags
171 CTAGS = ctags
172 DIST_SUBDIRS = include rpm lib cmd man scripts module
173 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
174 distdir = $(PACKAGE)-$(VERSION)
175 top_distdir = $(distdir)
176 am__remove_distdir = \
177 { test ! -d "$(distdir)" \
178 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
179 && rm -fr "$(distdir)"; }; }
180 am__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"
205 DIST_ARCHIVES = $(distdir).tar.gz
206 GZIP_ENV = --best
207 distuninstallcheck_listfiles = find . -type f -print
208 distcleancheck_listfiles = find . -type f -print
209 ACLOCAL = @ACLOCAL@
210 ALIEN = @ALIEN@
211 ALIEN_VERSION = @ALIEN_VERSION@
212 AMTAR = @AMTAR@
213 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
214 AR = @AR@
215 AUTOCONF = @AUTOCONF@
216 AUTOHEADER = @AUTOHEADER@
217 AUTOMAKE = @AUTOMAKE@
218 AWK = @AWK@
219 CC = @CC@
220 CCDEPMODE = @CCDEPMODE@
221 CFLAGS = @CFLAGS@
222 CPP = @CPP@
223 CPPFLAGS = @CPPFLAGS@
224 CYGPATH_W = @CYGPATH_W@
225 DEBUG_CFLAGS = @DEBUG_CFLAGS@
226 DEBUG_KMEM = @DEBUG_KMEM@
227 DEBUG_KMEM_TRACKING = @DEBUG_KMEM_TRACKING@
228 DEBUG_SPL = @DEBUG_SPL@
229 DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
230 DEFS = @DEFS@
231 DEPDIR = @DEPDIR@
232 DPKG = @DPKG@
233 DPKGBUILD = @DPKGBUILD@
234 DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
235 DPKG_VERSION = @DPKG_VERSION@
236 DSYMUTIL = @DSYMUTIL@
237 DUMPBIN = @DUMPBIN@
238 ECHO_C = @ECHO_C@
239 ECHO_N = @ECHO_N@
240 ECHO_T = @ECHO_T@
241 EGREP = @EGREP@
242 EXEEXT = @EXEEXT@
243 FGREP = @FGREP@
244 GREP = @GREP@
245 HAVE_ALIEN = @HAVE_ALIEN@
246 HAVE_DPKG = @HAVE_DPKG@
247 HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
248 HAVE_RPM = @HAVE_RPM@
249 HAVE_RPMBUILD = @HAVE_RPMBUILD@
250 INSTALL = @INSTALL@
251 INSTALL_DATA = @INSTALL_DATA@
252 INSTALL_PROGRAM = @INSTALL_PROGRAM@
253 INSTALL_SCRIPT = @INSTALL_SCRIPT@
254 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
255 KERNELCPPFLAGS = @KERNELCPPFLAGS@
256 KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
257 LD = @LD@
258 LDFLAGS = @LDFLAGS@
259 LIBOBJS = @LIBOBJS@
260 LIBS = @LIBS@
261 LIBTOOL = @LIBTOOL@
262 LINUX = @LINUX@
263 LINUX_OBJ = @LINUX_OBJ@
264 LINUX_SYMBOLS = @LINUX_SYMBOLS@
265 LINUX_VERSION = @LINUX_VERSION@
266 LIPO = @LIPO@
267 LN_S = @LN_S@
268 LTLIBOBJS = @LTLIBOBJS@
269 MAINT = @MAINT@
270 MAKEINFO = @MAKEINFO@
271 MKDIR_P = @MKDIR_P@
272 NM = @NM@
273 NMEDIT = @NMEDIT@
274 OBJDUMP = @OBJDUMP@
275 OBJEXT = @OBJEXT@
276 OTOOL = @OTOOL@
277 OTOOL64 = @OTOOL64@
278 PACKAGE = @PACKAGE@
279 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
280 PACKAGE_NAME = @PACKAGE_NAME@
281 PACKAGE_STRING = @PACKAGE_STRING@
282 PACKAGE_TARNAME = @PACKAGE_TARNAME@
283 PACKAGE_VERSION = @PACKAGE_VERSION@
284 PATH_SEPARATOR = @PATH_SEPARATOR@
285 RANLIB = @RANLIB@
286 RELEASE = @RELEASE@
287 RPM = @RPM@
288 RPMBUILD = @RPMBUILD@
289 RPMBUILD_VERSION = @RPMBUILD_VERSION@
290 RPM_DEFINE_COMMON = @RPM_DEFINE_COMMON@
291 RPM_DEFINE_DKMS = @RPM_DEFINE_DKMS@
292 RPM_DEFINE_KMOD = @RPM_DEFINE_KMOD@
293 RPM_DEFINE_UTIL = @RPM_DEFINE_UTIL@
294 RPM_SPEC_DIR = @RPM_SPEC_DIR@
295 RPM_VERSION = @RPM_VERSION@
296 SED = @SED@
297 SET_MAKE = @SET_MAKE@
298 SHELL = @SHELL@
299 SPL_CONFIG = @SPL_CONFIG@
300 SPL_META_ALIAS = @SPL_META_ALIAS@
301 SPL_META_AUTHOR = @SPL_META_AUTHOR@
302 SPL_META_DATA = @SPL_META_DATA@
303 SPL_META_LICENSE = @SPL_META_LICENSE@
304 SPL_META_LT_AGE = @SPL_META_LT_AGE@
305 SPL_META_LT_CURRENT = @SPL_META_LT_CURRENT@
306 SPL_META_LT_REVISION = @SPL_META_LT_REVISION@
307 SPL_META_NAME = @SPL_META_NAME@
308 SPL_META_RELEASE = @SPL_META_RELEASE@
309 SPL_META_VERSION = @SPL_META_VERSION@
310 SRPM_DEFINE_COMMON = @SRPM_DEFINE_COMMON@
311 SRPM_DEFINE_DKMS = @SRPM_DEFINE_DKMS@
312 SRPM_DEFINE_KMOD = @SRPM_DEFINE_KMOD@
313 SRPM_DEFINE_UTIL = @SRPM_DEFINE_UTIL@
314 STRIP = @STRIP@
315 VENDOR = @VENDOR@
316 VERSION = @VERSION@
317 abs_builddir = @abs_builddir@
318 abs_srcdir = @abs_srcdir@
319 abs_top_builddir = @abs_top_builddir@
320 abs_top_srcdir = @abs_top_srcdir@
321 ac_ct_CC = @ac_ct_CC@
322 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
323 am__include = @am__include@
324 am__leading_dot = @am__leading_dot@
325 am__quote = @am__quote@
326 am__tar = @am__tar@
327 am__untar = @am__untar@
328 bindir = @bindir@
329 build = @build@
330 build_alias = @build_alias@
331 build_cpu = @build_cpu@
332 build_os = @build_os@
333 build_vendor = @build_vendor@
334 builddir = @builddir@
335 datadir = @datadir@
336 datarootdir = @datarootdir@
337 docdir = @docdir@
338 dvidir = @dvidir@
339 exec_prefix = @exec_prefix@
340 host = @host@
341 host_alias = @host_alias@
342 host_cpu = @host_cpu@
343 host_os = @host_os@
344 host_vendor = @host_vendor@
345 htmldir = @htmldir@
346 includedir = @includedir@
347 infodir = @infodir@
348 install_sh = @install_sh@
349 libdir = @libdir@
350 libexecdir = @libexecdir@
351 localedir = @localedir@
352 localstatedir = @localstatedir@
353 lt_ECHO = @lt_ECHO@
354 mandir = @mandir@
355 mkdir_p = @mkdir_p@
356 oldincludedir = @oldincludedir@
357 pdfdir = @pdfdir@
358 prefix = @prefix@
359 program_transform_name = @program_transform_name@
360 psdir = @psdir@
361 sbindir = @sbindir@
362 sharedstatedir = @sharedstatedir@
363 srcdir = @srcdir@
364 sysconfdir = @sysconfdir@
365 target = @target@
366 target_alias = @target_alias@
367 target_cpu = @target_cpu@
368 target_os = @target_os@
369 target_vendor = @target_vendor@
370 top_build_prefix = @top_build_prefix@
371 top_builddir = @top_builddir@
372 top_srcdir = @top_srcdir@
373 ACLOCAL_AMFLAGS = -I config
374 SUBDIRS = 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)
379 AUTOMAKE_OPTIONS = foreign
380 EXTRA_DIST = autogen.sh META DISCLAIMER copy-builtin config/config.awk \
381 config/rpm.am config/deb.am config/tgz.am
382 all: spl_config.h
383 $(MAKE) $(AM_MAKEFLAGS) all-recursive
384
385 .SUFFIXES:
386 am--refresh:
387 @:
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)
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
401 .PRECIOUS: Makefile
402 Makefile: $(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;
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
421 spl_config.h: stamp-h1
422 @if test ! -f $@; then \
423 rm -f stamp-h1; \
424 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
425 else :; fi
426
427 stamp-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
435 distclean-hdr:
436 -rm -f spl_config.h stamp-h1
437 module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
438 cd $(top_builddir) && $(SHELL) ./config.status $@
439 module/spl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/spl/Makefile.in
440 cd $(top_builddir) && $(SHELL) ./config.status $@
441 module/splat/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/splat/Makefile.in
442 cd $(top_builddir) && $(SHELL) ./config.status $@
443 spl.release: $(top_builddir)/config.status $(srcdir)/spl.release.in
444 cd $(top_builddir) && $(SHELL) ./config.status $@
445
446 mostlyclean-libtool:
447 -rm -f *.lo
448
449 clean-libtool:
450 -rm -rf .libs _libs
451
452 distclean-libtool:
453 -rm -f libtool config.lt
454 install-extraHEADERS: $(extra_HEADERS)
455 @$(NORMAL_INSTALL)
456 test -z "$(extradir)" || $(MKDIR_P) "$(DESTDIR)$(extradir)"
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
467 uninstall-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|^.*/||'`; \
471 test -n "$$files" || exit 0; \
472 echo " ( cd '$(DESTDIR)$(extradir)' && rm -f" $$files ")"; \
473 cd "$(DESTDIR)$(extradir)" && rm -f $$files
474 install-nodist_kernelHEADERS: $(nodist_kernel_HEADERS)
475 @$(NORMAL_INSTALL)
476 test -z "$(kerneldir)" || $(MKDIR_P) "$(DESTDIR)$(kerneldir)"
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
487 uninstall-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|^.*/||'`; \
491 test -n "$$files" || exit 0; \
492 echo " ( cd '$(DESTDIR)$(kerneldir)' && rm -f" $$files ")"; \
493 cd "$(DESTDIR)$(kerneldir)" && rm -f $$files
494
495 # This directory's subdirectories are mostly independent; you can cd
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; \
509 dot_seen=no; \
510 target=`echo $@ | sed s/-recursive//`; \
511 list='$(SUBDIRS)'; for subdir in $$list; do \
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
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"
556 tags-recursive:
557 list='$(SUBDIRS)'; for subdir in $$list; do \
558 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
559 done
560 ctags-recursive:
561 list='$(SUBDIRS)'; for subdir in $$list; do \
562 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
563 done
564
565 ID: $(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
574 TAGS: tags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \
575 $(TAGS_FILES) $(LISP)
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; \
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; }; }'`; \
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
608 CTAGS: 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; }; }'`; \
616 test -z "$(CTAGS_ARGS)$$unique" \
617 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
618 $$unique
619
620 GTAGS:
621 here=`$(am__cd) $(top_builddir) && pwd` \
622 && $(am__cd) $(top_srcdir) \
623 && gtags -i $(GTAGS_ARGS) "$$here"
624
625 distclean-tags:
626 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
627
628 distdir: $(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 \
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 \
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)"
698 dist-gzip: distdir
699 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
700 $(am__remove_distdir)
701
702 dist-bzip2: distdir
703 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
704 $(am__remove_distdir)
705
706 dist-lzma: distdir
707 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
708 $(am__remove_distdir)
709
710 dist-xz: distdir
711 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
712 $(am__remove_distdir)
713
714 dist-tarZ: distdir
715 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
716 $(am__remove_distdir)
717
718 dist-shar: distdir
719 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
720 $(am__remove_distdir)
721
722 dist-zip: distdir
723 -rm -f $(distdir).zip
724 zip -rq $(distdir).zip $(distdir)
725 $(am__remove_distdir)
726
727 dist dist-all: distdir
728 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
729 $(am__remove_distdir)
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.
734 distcheck: 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) ;;\
740 *.tar.lzma*) \
741 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
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
751 chmod -R a-w $(distdir); chmod u+w $(distdir)
752 mkdir $(distdir)/_build
753 mkdir $(distdir)/_inst
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` \
759 && $(am__cd) $(distdir)/_build \
760 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
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
784 $(am__remove_distdir)
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'
788 distuninstallcheck:
789 @$(am__cd) '$(distuninstallcheck_dir)' \
790 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
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
797 distcleancheck: 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
806 check-am: all-am
807 check: check-recursive
808 all-am: Makefile $(HEADERS) spl_config.h
809 installdirs: installdirs-recursive
810 installdirs-am:
811 for dir in "$(DESTDIR)$(extradir)" "$(DESTDIR)$(kerneldir)"; do \
812 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
813 done
814 install: install-recursive
815 install-exec: install-exec-recursive
816 install-data: install-data-recursive
817 uninstall: uninstall-recursive
818
819 install-am: all-am
820 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
821
822 installcheck: installcheck-recursive
823 install-strip:
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
828 mostlyclean-generic:
829
830 clean-generic:
831
832 distclean-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
836 maintainer-clean-generic:
837 @echo "This command is intended for maintainers to use"
838 @echo "it deletes files that may require special tools to rebuild."
839 clean: clean-recursive
840
841 clean-am: clean-generic clean-libtool mostlyclean-am
842
843 distclean: distclean-recursive
844 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
845 -rm -f Makefile
846 distclean-am: clean-am distclean-generic distclean-hdr \
847 distclean-libtool distclean-local distclean-tags
848
849 dvi: dvi-recursive
850
851 dvi-am:
852
853 html: html-recursive
854
855 html-am:
856
857 info: info-recursive
858
859 info-am:
860
861 install-data-am: install-extraHEADERS install-nodist_kernelHEADERS
862
863 install-dvi: install-dvi-recursive
864
865 install-dvi-am:
866
867 install-exec-am:
868
869 install-html: install-html-recursive
870
871 install-html-am:
872
873 install-info: install-info-recursive
874
875 install-info-am:
876
877 install-man:
878
879 install-pdf: install-pdf-recursive
880
881 install-pdf-am:
882
883 install-ps: install-ps-recursive
884
885 install-ps-am:
886
887 installcheck-am:
888
889 maintainer-clean: maintainer-clean-recursive
890 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
891 -rm -rf $(top_srcdir)/autom4te.cache
892 -rm -f Makefile
893 maintainer-clean-am: distclean-am maintainer-clean-generic
894
895 mostlyclean: mostlyclean-recursive
896
897 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
898
899 pdf: pdf-recursive
900
901 pdf-am:
902
903 ps: ps-recursive
904
905 ps-am:
906
907 uninstall-am: uninstall-extraHEADERS uninstall-nodist_kernelHEADERS
908
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
930
931
932 srpm-kmod:
933 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-kmod" \
934 def='${SRPM_DEFINE_COMMON} ${SRPM_DEFINE_KMOD}' srpm-common
935
936 srpm-dkms:
937 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-dkms" \
938 def='${SRPM_DEFINE_COMMON} ${SRPM_DEFINE_DKMS}' srpm-common
939
940 srpm-utils:
941 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" \
942 def='${SRPM_DEFINE_COMMON} ${SRPM_DEFINE_UTIL}' srpm-common
943
944 srpm: srpm-kmod srpm-dkms srpm-utils
945 srpms: srpm-kmod srpm-dkms srpm-utils
946
947 rpm-kmod: srpm-kmod
948 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-kmod" \
949 def='${RPM_DEFINE_COMMON} ${RPM_DEFINE_KMOD}' rpm-common
950
951 rpm-dkms: srpm-dkms
952 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-dkms" \
953 def='${RPM_DEFINE_COMMON} ${RPM_DEFINE_DKMS}' rpm-common
954
955 rpm-utils: srpm-utils
956 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" \
957 def='${RPM_DEFINE_COMMON} ${RPM_DEFINE_UTIL}' rpm-common
958
959 rpm: rpm-kmod rpm-dkms rpm-utils
960 rpms: rpm-kmod rpm-dkms rpm-utils
961
962 rpm-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 && \
977 cp $(top_srcdir)/scripts/kmodtool $(rpmbuild)/SOURCES && \
978 cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
979
980 srpm-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
996 rpm-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
1012 deb-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
1028 deb-kmod: deb-local rpm-kmod
1029 name=${PACKAGE}; \
1030 version=${VERSION}-${RELEASE}; \
1031 arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \
1032 debarch=`$(DPKG) --print-architecture`; \
1033 pkg1=kmod-$${name}*$${version}.$${arch}.rpm; \
1034 fakeroot $(ALIEN) --bump=0 --scripts --to-deb --target=$$debarch $$pkg1; \
1035 $(RM) $$pkg1
1036
1037 deb-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`; \
1041 debarch=`$(DPKG) --print-architecture`; \
1042 pkg1=$${name}-dkms-$${version}.$${arch}.rpm; \
1043 fakeroot $(ALIEN) --bump=0 --scripts --to-deb --target=$$debarch $$pkg1; \
1044 $(RM) $$pkg1
1045
1046 deb-utils: deb-local rpm-utils
1047 name=${PACKAGE}; \
1048 version=${VERSION}-${RELEASE}; \
1049 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1050 debarch=`$(DPKG) --print-architecture`; \
1051 pkg1=$${name}-$${version}.$${arch}.rpm; \
1052 fakeroot $(ALIEN) --bump=0 --scripts --to-deb --target=$$debarch $$pkg1; \
1053 $(RM) $$pkg1
1054
1055 deb: deb-kmod deb-dkms deb-utils
1056
1057 tgz-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
1066 tgz-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
1074 tgz-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
1082 tgz: tgz-kmod tgz-utils
1083
1084 distclean-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
1096 dist-hook:
1097 sed -i 's/Release:[[:print:]]*/Release: $(RELEASE)/' \
1098 $(distdir)/META
1099
1100 ctags:
1101 $(RM) tags
1102 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1103
1104 etags:
1105 $(RM) TAGS
1106 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1107
1108 tags: ctags etags
1109
1110 pkg: @DEFAULT_PACKAGE@
1111 pkg-dkms: @DEFAULT_PACKAGE@-dkms
1112 pkg-kmod: @DEFAULT_PACKAGE@-kmod
1113 pkg-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: