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