]> git.proxmox.com Git - mirror_spl-debian.git/blame - Makefile.in
Simplify rpm build rules, added config/rpm.am.
[mirror_spl-debian.git] / Makefile.in
CommitLineData
bf9f3bac 1# Makefile.in generated by automake 1.9.6 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005 Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
c5f70460 16
bf9f3bac 17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@
23top_builddir = .
24am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25INSTALL = @INSTALL@
26install_sh_DATA = $(install_sh) -c -m 644
27install_sh_PROGRAM = $(install_sh) -c
28install_sh_SCRIPT = $(install_sh) -c
29INSTALL_HEADER = $(INSTALL_DATA)
30transform = $(program_transform_name)
31NORMAL_INSTALL = :
32PRE_INSTALL = :
33POST_INSTALL = :
34NORMAL_UNINSTALL = :
35PRE_UNINSTALL = :
36POST_UNINSTALL = :
37build_triplet = @build@
38host_triplet = @host@
39target_triplet = @target@
0c617c9a 40DIST_COMMON = $(am__configure_deps) $(noinst_HEADERS) \
c5f70460 41 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
86933a6e
BB
42 $(srcdir)/spl-modules.spec.in $(srcdir)/spl.spec.in \
43 $(srcdir)/spl_config.h.in $(top_srcdir)/config/rpm.am \
617d5a67
BB
44 $(top_srcdir)/configure $(top_srcdir)/module/Makefile.in \
45 $(top_srcdir)/module/spl/Makefile.in \
46 $(top_srcdir)/module/splat/Makefile.in AUTHORS COPYING \
bf9f3bac 47 ChangeLog INSTALL config/config.guess config/config.sub \
48 config/depcomp config/install-sh config/ltmain.sh \
49 config/missing
50subdir = .
51ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
52am__aclocal_m4_deps = $(top_srcdir)/config/spl-build.m4 \
dd529a30 53 $(top_srcdir)/config/spl-meta.m4 $(top_srcdir)/configure.ac
bf9f3bac 54am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
55 $(ACLOCAL_M4)
56am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
57 configure.lineno configure.status.lineno
58mkinstalldirs = $(install_sh) -d
59CONFIG_HEADER = spl_config.h
c5f70460 60CONFIG_CLEAN_FILES = module/Makefile module/spl/Makefile \
86933a6e 61 module/splat/Makefile spl.spec spl-modules.spec
bf9f3bac 62SOURCES =
63DIST_SOURCES =
64RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
65 html-recursive info-recursive install-data-recursive \
66 install-exec-recursive install-info-recursive \
67 install-recursive installcheck-recursive installdirs-recursive \
68 pdf-recursive ps-recursive uninstall-info-recursive \
69 uninstall-recursive
0c617c9a 70HEADERS = $(noinst_HEADERS)
bf9f3bac 71ETAGS = etags
72CTAGS = ctags
86933a6e 73DIST_SUBDIRS = lib cmd scripts module include
bf9f3bac 74DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
75distdir = $(PACKAGE)-$(VERSION)
76top_distdir = $(distdir)
77am__remove_distdir = \
78 { test ! -d $(distdir) \
79 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
80 && rm -fr $(distdir); }; }
81DIST_ARCHIVES = $(distdir).tar.gz $(distdir).zip
82GZIP_ENV = --best
83distuninstallcheck_listfiles = find . -type f -print
84distcleancheck_listfiles = find . -type f -print
85ACLOCAL = @ACLOCAL@
86AMDEP_FALSE = @AMDEP_FALSE@
87AMDEP_TRUE = @AMDEP_TRUE@
88AMTAR = @AMTAR@
89AR = @AR@
90AUTOCONF = @AUTOCONF@
91AUTOHEADER = @AUTOHEADER@
92AUTOMAKE = @AUTOMAKE@
93AWK = @AWK@
94CC = @CC@
95CCDEPMODE = @CCDEPMODE@
96CFLAGS = @CFLAGS@
86933a6e
BB
97CONFIG_KERNEL_FALSE = @CONFIG_KERNEL_FALSE@
98CONFIG_KERNEL_TRUE = @CONFIG_KERNEL_TRUE@
99CONFIG_USER_FALSE = @CONFIG_USER_FALSE@
100CONFIG_USER_TRUE = @CONFIG_USER_TRUE@
bf9f3bac 101CPP = @CPP@
102CPPFLAGS = @CPPFLAGS@
103CXX = @CXX@
104CXXCPP = @CXXCPP@
105CXXDEPMODE = @CXXDEPMODE@
106CXXFLAGS = @CXXFLAGS@
107CYGPATH_W = @CYGPATH_W@
108DEFS = @DEFS@
109DEPDIR = @DEPDIR@
110ECHO = @ECHO@
111ECHO_C = @ECHO_C@
112ECHO_N = @ECHO_N@
113ECHO_T = @ECHO_T@
114EGREP = @EGREP@
115EXEEXT = @EXEEXT@
116F77 = @F77@
117FFLAGS = @FFLAGS@
118INSTALL_DATA = @INSTALL_DATA@
119INSTALL_PROGRAM = @INSTALL_PROGRAM@
120INSTALL_SCRIPT = @INSTALL_SCRIPT@
121INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
bf9f3bac 122KERNELCPPFLAGS = @KERNELCPPFLAGS@
123KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
124LDFLAGS = @LDFLAGS@
125LIBOBJS = @LIBOBJS@
126LIBS = @LIBS@
127LIBTOOL = @LIBTOOL@
86933a6e 128LICENSE = @LICENSE@
bf9f3bac 129LINUX = @LINUX@
130LINUX_OBJ = @LINUX_OBJ@
2e0e7e69 131LINUX_SYMBOLS = @LINUX_SYMBOLS@
c5f70460 132LINUX_VERSION = @LINUX_VERSION@
bf9f3bac 133LN_S = @LN_S@
134LTLIBOBJS = @LTLIBOBJS@
135MAINT = @MAINT@
136MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
137MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
138MAKEINFO = @MAKEINFO@
139OBJEXT = @OBJEXT@
140PACKAGE = @PACKAGE@
141PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
142PACKAGE_NAME = @PACKAGE_NAME@
143PACKAGE_STRING = @PACKAGE_STRING@
144PACKAGE_TARNAME = @PACKAGE_TARNAME@
145PACKAGE_VERSION = @PACKAGE_VERSION@
146PATH_SEPARATOR = @PATH_SEPARATOR@
147RANLIB = @RANLIB@
148SED = @SED@
149SET_MAKE = @SET_MAKE@
150SHELL = @SHELL@
86933a6e 151SPL_CONFIG = @SPL_CONFIG@
72e7de60 152SPL_META_ALIAS = @SPL_META_ALIAS@
abc3ca14
BB
153SPL_META_AUTHOR = @SPL_META_AUTHOR@
154SPL_META_DATA = @SPL_META_DATA@
155SPL_META_LT_AGE = @SPL_META_LT_AGE@
156SPL_META_LT_CURRENT = @SPL_META_LT_CURRENT@
157SPL_META_LT_REVISION = @SPL_META_LT_REVISION@
158SPL_META_NAME = @SPL_META_NAME@
159SPL_META_RELEASE = @SPL_META_RELEASE@
160SPL_META_VERSION = @SPL_META_VERSION@
bf9f3bac 161STRIP = @STRIP@
162VERSION = @VERSION@
163ac_ct_AR = @ac_ct_AR@
164ac_ct_CC = @ac_ct_CC@
165ac_ct_CXX = @ac_ct_CXX@
166ac_ct_F77 = @ac_ct_F77@
167ac_ct_RANLIB = @ac_ct_RANLIB@
168ac_ct_STRIP = @ac_ct_STRIP@
169am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
170am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
171am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
172am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
173am__include = @am__include@
174am__leading_dot = @am__leading_dot@
175am__quote = @am__quote@
176am__tar = @am__tar@
177am__untar = @am__untar@
178bindir = @bindir@
179build = @build@
180build_alias = @build_alias@
181build_cpu = @build_cpu@
182build_os = @build_os@
183build_vendor = @build_vendor@
184datadir = @datadir@
185exec_prefix = @exec_prefix@
186host = @host@
187host_alias = @host_alias@
188host_cpu = @host_cpu@
189host_os = @host_os@
190host_vendor = @host_vendor@
191includedir = @includedir@
192infodir = @infodir@
193install_sh = @install_sh@
bf9f3bac 194libdir = @libdir@
195libexecdir = @libexecdir@
196localstatedir = @localstatedir@
197mandir = @mandir@
198mkdir_p = @mkdir_p@
199oldincludedir = @oldincludedir@
200prefix = @prefix@
201program_transform_name = @program_transform_name@
202sbindir = @sbindir@
203sharedstatedir = @sharedstatedir@
204sysconfdir = @sysconfdir@
205target = @target@
206target_alias = @target_alias@
207target_cpu = @target_cpu@
208target_os = @target_os@
209target_vendor = @target_vendor@
86933a6e
BB
210@CONFIG_USER_TRUE@USER_DIR = lib cmd scripts
211@CONFIG_KERNEL_TRUE@KERNEL_DIR = module include
212SUBDIRS = $(USER_DIR) $(KERNEL_DIR)
c5f70460 213AUTOMAKE_OPTIONS = foreign dist-zip
0c617c9a 214EXTRA_DIST = autogen.sh spl.spec.in META DISCLAIMER
0cbaeb11 215noinst_HEADERS = spl_config.h spl_unconfig.h
bf9f3bac 216all: spl_config.h
217 $(MAKE) $(AM_MAKEFLAGS) all-recursive
218
219.SUFFIXES:
220am--refresh:
221 @:
86933a6e 222$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/config/rpm.am $(am__configure_deps)
bf9f3bac 223 @for dep in $?; do \
224 case '$(am__configure_deps)' in \
225 *$$dep*) \
226 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
227 cd $(srcdir) && $(AUTOMAKE) --foreign \
228 && exit 0; \
229 exit 1;; \
230 esac; \
231 done; \
232 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
233 cd $(top_srcdir) && \
234 $(AUTOMAKE) --foreign Makefile
235.PRECIOUS: Makefile
236Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
237 @case '$?' in \
238 *config.status*) \
239 echo ' $(SHELL) ./config.status'; \
240 $(SHELL) ./config.status;; \
241 *) \
242 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
243 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
244 esac;
245
246$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
247 $(SHELL) ./config.status --recheck
248
249$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
250 cd $(srcdir) && $(AUTOCONF)
251$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
252 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
253
254spl_config.h: stamp-h1
255 @if test ! -f $@; then \
256 rm -f stamp-h1; \
257 $(MAKE) stamp-h1; \
258 else :; fi
259
260stamp-h1: $(srcdir)/spl_config.h.in $(top_builddir)/config.status
261 @rm -f stamp-h1
262 cd $(top_builddir) && $(SHELL) ./config.status spl_config.h
263$(srcdir)/spl_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
264 cd $(top_srcdir) && $(AUTOHEADER)
265 rm -f stamp-h1
266 touch $@
267
268distclean-hdr:
269 -rm -f spl_config.h stamp-h1
617d5a67 270module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
bf9f3bac 271 cd $(top_builddir) && $(SHELL) ./config.status $@
617d5a67 272module/spl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/spl/Makefile.in
bf9f3bac 273 cd $(top_builddir) && $(SHELL) ./config.status $@
617d5a67 274module/splat/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/splat/Makefile.in
bf9f3bac 275 cd $(top_builddir) && $(SHELL) ./config.status $@
c5f70460
BB
276spl.spec: $(top_builddir)/config.status $(srcdir)/spl.spec.in
277 cd $(top_builddir) && $(SHELL) ./config.status $@
86933a6e
BB
278spl-modules.spec: $(top_builddir)/config.status $(srcdir)/spl-modules.spec.in
279 cd $(top_builddir) && $(SHELL) ./config.status $@
bf9f3bac 280
281mostlyclean-libtool:
282 -rm -f *.lo
283
284clean-libtool:
285 -rm -rf .libs _libs
286
287distclean-libtool:
288 -rm -f libtool
289uninstall-info-am:
290
291# This directory's subdirectories are mostly independent; you can cd
292# into them and run `make' without going through this Makefile.
293# To change the values of `make' variables: instead of editing Makefiles,
294# (1) if the variable is set in `config.status', edit `config.status'
295# (which will cause the Makefiles to be regenerated when you run `make');
296# (2) otherwise, pass the desired values on the `make' command line.
297$(RECURSIVE_TARGETS):
298 @failcom='exit 1'; \
299 for f in x $$MAKEFLAGS; do \
300 case $$f in \
301 *=* | --[!k]*);; \
302 *k*) failcom='fail=yes';; \
303 esac; \
304 done; \
305 dot_seen=no; \
306 target=`echo $@ | sed s/-recursive//`; \
307 list='$(SUBDIRS)'; for subdir in $$list; do \
308 echo "Making $$target in $$subdir"; \
309 if test "$$subdir" = "."; then \
310 dot_seen=yes; \
311 local_target="$$target-am"; \
312 else \
313 local_target="$$target"; \
314 fi; \
315 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
316 || eval $$failcom; \
317 done; \
318 if test "$$dot_seen" = "no"; then \
319 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
320 fi; test -z "$$fail"
321
322mostlyclean-recursive clean-recursive distclean-recursive \
323maintainer-clean-recursive:
324 @failcom='exit 1'; \
325 for f in x $$MAKEFLAGS; do \
326 case $$f in \
327 *=* | --[!k]*);; \
328 *k*) failcom='fail=yes';; \
329 esac; \
330 done; \
331 dot_seen=no; \
332 case "$@" in \
333 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
334 *) list='$(SUBDIRS)' ;; \
335 esac; \
336 rev=''; for subdir in $$list; do \
337 if test "$$subdir" = "."; then :; else \
338 rev="$$subdir $$rev"; \
339 fi; \
340 done; \
341 rev="$$rev ."; \
342 target=`echo $@ | sed s/-recursive//`; \
343 for subdir in $$rev; do \
344 echo "Making $$target in $$subdir"; \
345 if test "$$subdir" = "."; then \
346 local_target="$$target-am"; \
347 else \
348 local_target="$$target"; \
349 fi; \
350 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
351 || eval $$failcom; \
352 done && test -z "$$fail"
353tags-recursive:
354 list='$(SUBDIRS)'; for subdir in $$list; do \
355 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
356 done
357ctags-recursive:
358 list='$(SUBDIRS)'; for subdir in $$list; do \
359 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
360 done
361
362ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
363 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
364 unique=`for i in $$list; do \
365 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
366 done | \
367 $(AWK) ' { files[$$0] = 1; } \
368 END { for (i in files) print i; }'`; \
369 mkid -fID $$unique
bf9f3bac 370
371TAGS: tags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \
372 $(TAGS_FILES) $(LISP)
373 tags=; \
374 here=`pwd`; \
375 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
376 include_option=--etags-include; \
377 empty_fix=.; \
378 else \
379 include_option=--include; \
380 empty_fix=; \
381 fi; \
382 list='$(SUBDIRS)'; for subdir in $$list; do \
383 if test "$$subdir" = .; then :; else \
384 test ! -f $$subdir/TAGS || \
385 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
386 fi; \
387 done; \
388 list='$(SOURCES) $(HEADERS) spl_config.h.in $(LISP) $(TAGS_FILES)'; \
389 unique=`for i in $$list; do \
390 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
391 done | \
392 $(AWK) ' { files[$$0] = 1; } \
393 END { for (i in files) print i; }'`; \
394 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
395 test -n "$$unique" || unique=$$empty_fix; \
396 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
397 $$tags $$unique; \
398 fi
bf9f3bac 399CTAGS: ctags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \
400 $(TAGS_FILES) $(LISP)
401 tags=; \
402 here=`pwd`; \
403 list='$(SOURCES) $(HEADERS) spl_config.h.in $(LISP) $(TAGS_FILES)'; \
404 unique=`for i in $$list; do \
405 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
406 done | \
407 $(AWK) ' { files[$$0] = 1; } \
408 END { for (i in files) print i; }'`; \
409 test -z "$(CTAGS_ARGS)$$tags$$unique" \
410 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
411 $$tags $$unique
412
413GTAGS:
414 here=`$(am__cd) $(top_builddir) && pwd` \
415 && cd $(top_srcdir) \
416 && gtags -i $(GTAGS_ARGS) $$here
417
418distclean-tags:
419 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
420
421distdir: $(DISTFILES)
422 $(am__remove_distdir)
423 mkdir $(distdir)
c5f70460 424 $(mkdir_p) $(distdir)/. $(distdir)/config $(distdir)/module $(distdir)/module/spl $(distdir)/module/splat
bf9f3bac 425 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
426 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
427 list='$(DISTFILES)'; for file in $$list; do \
428 case $$file in \
429 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
430 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
431 esac; \
432 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
433 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
434 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
435 dir="/$$dir"; \
436 $(mkdir_p) "$(distdir)$$dir"; \
437 else \
438 dir=''; \
439 fi; \
440 if test -d $$d/$$file; then \
441 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
442 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
443 fi; \
444 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
445 else \
446 test -f $(distdir)/$$file \
447 || cp -p $$d/$$file $(distdir)/$$file \
448 || exit 1; \
449 fi; \
450 done
451 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
452 if test "$$subdir" = .; then :; else \
453 test -d "$(distdir)/$$subdir" \
454 || $(mkdir_p) "$(distdir)/$$subdir" \
455 || exit 1; \
456 distdir=`$(am__cd) $(distdir) && pwd`; \
457 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
458 (cd $$subdir && \
459 $(MAKE) $(AM_MAKEFLAGS) \
460 top_distdir="$$top_distdir" \
461 distdir="$$distdir/$$subdir" \
462 distdir) \
463 || exit 1; \
464 fi; \
465 done
466 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
467 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
468 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
469 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
470 || chmod -R a+r $(distdir)
471dist-gzip: distdir
472 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
473 $(am__remove_distdir)
474
475dist-bzip2: distdir
476 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
477 $(am__remove_distdir)
478
479dist-tarZ: distdir
480 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
481 $(am__remove_distdir)
482
483dist-shar: distdir
484 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
485 $(am__remove_distdir)
486dist-zip: distdir
487 -rm -f $(distdir).zip
488 zip -rq $(distdir).zip $(distdir)
489 $(am__remove_distdir)
490
491dist dist-all: distdir
492 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
493 -rm -f $(distdir).zip
494 zip -rq $(distdir).zip $(distdir)
495 $(am__remove_distdir)
496
497# This target untars the dist file and tries a VPATH configuration. Then
498# it guarantees that the distribution is self-contained by making another
499# tarfile.
500distcheck: dist
501 case '$(DIST_ARCHIVES)' in \
502 *.tar.gz*) \
503 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
504 *.tar.bz2*) \
505 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
506 *.tar.Z*) \
507 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
508 *.shar.gz*) \
509 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
510 *.zip*) \
511 unzip $(distdir).zip ;;\
512 esac
513 chmod -R a-w $(distdir); chmod a+w $(distdir)
514 mkdir $(distdir)/_build
515 mkdir $(distdir)/_inst
516 chmod a-w $(distdir)
517 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
518 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
519 && cd $(distdir)/_build \
520 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
521 $(DISTCHECK_CONFIGURE_FLAGS) \
522 && $(MAKE) $(AM_MAKEFLAGS) \
523 && $(MAKE) $(AM_MAKEFLAGS) dvi \
524 && $(MAKE) $(AM_MAKEFLAGS) check \
525 && $(MAKE) $(AM_MAKEFLAGS) install \
526 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
527 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
528 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
529 distuninstallcheck \
530 && chmod -R a-w "$$dc_install_base" \
531 && ({ \
532 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
533 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
534 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
535 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
536 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
537 } || { rm -rf "$$dc_destdir"; exit 1; }) \
538 && rm -rf "$$dc_destdir" \
539 && $(MAKE) $(AM_MAKEFLAGS) dist \
540 && rm -rf $(DIST_ARCHIVES) \
541 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
542 $(am__remove_distdir)
543 @(echo "$(distdir) archives ready for distribution: "; \
544 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
545 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
546distuninstallcheck:
547 @cd $(distuninstallcheck_dir) \
548 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
549 || { echo "ERROR: files left after uninstall:" ; \
550 if test -n "$(DESTDIR)"; then \
551 echo " (check DESTDIR support)"; \
552 fi ; \
553 $(distuninstallcheck_listfiles) ; \
554 exit 1; } >&2
555distcleancheck: distclean
556 @if test '$(srcdir)' = . ; then \
557 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
558 exit 1 ; \
559 fi
560 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
561 || { echo "ERROR: files left in build directory after distclean:" ; \
562 $(distcleancheck_listfiles) ; \
563 exit 1; } >&2
564check-am: all-am
565check: check-recursive
c5f70460 566all-am: Makefile $(HEADERS) spl_config.h
bf9f3bac 567installdirs: installdirs-recursive
568installdirs-am:
569install: install-recursive
570install-exec: install-exec-recursive
571install-data: install-data-recursive
572uninstall: uninstall-recursive
573
574install-am: all-am
575 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
576
577installcheck: installcheck-recursive
578install-strip:
579 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
580 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
581 `test -z '$(STRIP)' || \
582 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
583mostlyclean-generic:
584
585clean-generic:
586
587distclean-generic:
588 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
589
590maintainer-clean-generic:
591 @echo "This command is intended for maintainers to use"
592 @echo "it deletes files that may require special tools to rebuild."
86933a6e 593@CONFIG_KERNEL_FALSE@install-data-local:
bf9f3bac 594clean: clean-recursive
595
596clean-am: clean-generic clean-libtool mostlyclean-am
597
598distclean: distclean-recursive
599 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
600 -rm -f Makefile
601distclean-am: clean-am distclean-generic distclean-hdr \
c5f70460 602 distclean-libtool distclean-local distclean-tags
bf9f3bac 603
604dvi: dvi-recursive
605
606dvi-am:
607
608html: html-recursive
609
610info: info-recursive
611
612info-am:
613
0c617c9a 614install-data-am: install-data-local
bf9f3bac 615
616install-exec-am:
617
618install-info: install-info-recursive
619
620install-man:
621
622installcheck-am:
623
624maintainer-clean: maintainer-clean-recursive
625 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
626 -rm -rf $(top_srcdir)/autom4te.cache
627 -rm -f Makefile
628maintainer-clean-am: distclean-am maintainer-clean-generic
629
630mostlyclean: mostlyclean-recursive
631
632mostlyclean-am: mostlyclean-generic mostlyclean-libtool
633
634pdf: pdf-recursive
635
636pdf-am:
637
638ps: ps-recursive
639
640ps-am:
641
0c617c9a 642uninstall-am: uninstall-info-am
bf9f3bac 643
644uninstall-info: uninstall-info-recursive
645
646.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
647 check-am clean clean-generic clean-libtool clean-recursive \
648 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
649 dist-shar dist-tarZ dist-zip distcheck distclean \
650 distclean-generic distclean-hdr distclean-libtool \
c5f70460
BB
651 distclean-local distclean-recursive distclean-tags \
652 distcleancheck distdir distuninstallcheck dvi dvi-am html \
653 html-am info info-am install install-am install-data \
654 install-data-am install-data-local install-exec \
0c617c9a
BB
655 install-exec-am install-info install-info-am install-man \
656 install-strip installcheck installcheck-am installdirs \
657 installdirs-am maintainer-clean maintainer-clean-generic \
658 maintainer-clean-recursive mostlyclean mostlyclean-generic \
659 mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
660 tags tags-recursive uninstall uninstall-am uninstall-info-am
c5f70460 661
86933a6e
BB
662rpm-local:
663 mkdir -p $(rpmbuild)/TMP && \
664 mkdir -p $(rpmbuild)/BUILD && \
665 mkdir -p $(rpmbuild)/RPMS && \
666 mkdir -p $(rpmbuild)/SRPMS && \
667 mkdir -p $(rpmbuild)/SPECS && cp $(rpmspec) $(rpmbuild)/SPECS && \
668 mkdir -p $(rpmbuild)/SOURCES && cp $(distdir).tar.gz $(rpmbuild)/SOURCES
669
670srpm-common: dist
671 rpmpkg=$(pkg)-$(SPL_META_VERSION)-$(SPL_META_RELEASE).src.rpm; \
672 rpmspec=$(pkg).spec; \
673 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
674 $(MAKE) $(AM_MAKEFLAGS) \
675 rpmbuild="$$rpmbuild" \
676 rpmspec="$$rpmspec" \
677 rpm-local || exit 1; \
678 /usr/bin/rpmbuild \
679 --define "_tmppath $$rpmbuild/TMP" \
680 --define "_topdir $$rpmbuild" \
681 --define "build_src_rpm 1" \
682 --define "dist %{nil}" \
683 --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
684 cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
685 $(RM) -R $$rpmbuild
686
687rpm-common:
688 rpmpkg=$(pkg)-$(SPL_META_VERSION)-$(SPL_META_RELEASE).src.rpm; \
689 rpmspec=$(pkg).spec; \
690 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
691 $(MAKE) $(AM_MAKEFLAGS) \
692 rpmbuild="$$rpmbuild" \
693 rpmspec="$$rpmspec" \
694 rpm-local || exit 1; \
695 /usr/bin/rpmbuild \
696 --define "_tmppath $$rpmbuild/TMP" \
697 --define "_topdir $$rpmbuild" \
698 --define "dist %{nil}" \
699 --define "require_kdir $(LINUX)" \
700 --define "require_kobj $(LINUX_OBJ)" \
701 --define "require_kver $(LINUX_VERSION)" \
702 --nodeps --rebuild $$rpmpkg || exit 1; \
703 cp $$rpmbuild/RPMS/*/* . || exit 1; \
704 $(RM) -R $$rpmbuild
c5f70460
BB
705
706distclean-local::
707 -$(RM) -R autom4te*.cache
708 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
709 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
710 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
711 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
712 -o -name '.*.rej' -o -name 'aclocal.m4' -o -size 0 \
713 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
2e0e7e69 714 -o -name 'Makefile' -o -name '$(LINUX_SYMBOLS)' \) \
c5f70460
BB
715 -type f -print | xargs $(RM)
716
86933a6e
BB
717@CONFIG_KERNEL_TRUE@install-data-local:
718@CONFIG_KERNEL_TRUE@ destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
719@CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/${prefix}/src/$$destname; \
720@CONFIG_KERNEL_TRUE@ echo "${SPL_META_VERSION}" >$$instdest/spl.release; \
721@CONFIG_KERNEL_TRUE@ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
722@CONFIG_KERNEL_TRUE@ $(INSTALL) -D $$instfile $$instdest/$$instfile; \
723@CONFIG_KERNEL_TRUE@ done
c5f70460
BB
724
725ctags:
726 $(RM) $(top_srcdir)/tags
727 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
728
729etags:
730 $(RM) $(top_srcdir)/TAGS
731 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
732
733tags: ctags etags
734
86933a6e
BB
735srpm-modules:
736 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
c5f70460 737
86933a6e
BB
738srpm-utils:
739 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
c5f70460 740
86933a6e
BB
741srpm: srpm-modules srpm-utils
742
743rpm-modules: srpm-modules
744 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
745
746rpm-utils: srpm-utils
747 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
748
749rpm-modules: srpm-modules
750
751rpm-utils: srpm-utils
752
753rpm: rpm-modules rpm-utils
bf9f3bac 754# Tell versions [3.59,3.63) of GNU make to not export all variables.
755# Otherwise a system limit (for SysV at least) may be exceeded.
756.NOEXPORT: