]>
Commit | Line | Data |
---|---|---|
49638d83 | 1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. |
bf9f3bac | 2 | # @configure_input@ |
3 | ||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
8934764e BB |
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
6 | # Inc. | |
bf9f3bac | 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@ | |
c5f70460 | 17 | |
716154c5 BB |
18 | ############################################################################### |
19 | # Copyright (C) 2007-2010 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 | ############################################################################### | |
287b2fb1 | 23 | # Build targets for RPM packages. |
716154c5 BB |
24 | ############################################################################### |
25 | ||
bf9f3bac | 26 | VPATH = @srcdir@ |
27 | pkgdatadir = $(datadir)/@PACKAGE@ | |
bf9f3bac | 28 | pkgincludedir = $(includedir)/@PACKAGE@ |
8934764e BB |
29 | pkglibdir = $(libdir)/@PACKAGE@ |
30 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
bf9f3bac | 31 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
bf9f3bac | 32 | install_sh_DATA = $(install_sh) -c -m 644 |
33 | install_sh_PROGRAM = $(install_sh) -c | |
34 | install_sh_SCRIPT = $(install_sh) -c | |
35 | INSTALL_HEADER = $(INSTALL_DATA) | |
36 | transform = $(program_transform_name) | |
37 | NORMAL_INSTALL = : | |
38 | PRE_INSTALL = : | |
39 | POST_INSTALL = : | |
40 | NORMAL_UNINSTALL = : | |
41 | PRE_UNINSTALL = : | |
42 | POST_UNINSTALL = : | |
43 | build_triplet = @build@ | |
44 | host_triplet = @host@ | |
45 | target_triplet = @target@ | |
0c617c9a | 46 | DIST_COMMON = $(am__configure_deps) $(noinst_HEADERS) \ |
c5f70460 | 47 | $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ |
86933a6e BB |
48 | $(srcdir)/spl-modules.spec.in $(srcdir)/spl.spec.in \ |
49 | $(srcdir)/spl_config.h.in $(top_srcdir)/config/rpm.am \ | |
617d5a67 BB |
50 | $(top_srcdir)/configure $(top_srcdir)/module/Makefile.in \ |
51 | $(top_srcdir)/module/spl/Makefile.in \ | |
52 | $(top_srcdir)/module/splat/Makefile.in AUTHORS COPYING \ | |
bf9f3bac | 53 | ChangeLog INSTALL config/config.guess config/config.sub \ |
54 | config/depcomp config/install-sh config/ltmain.sh \ | |
55 | config/missing | |
56 | subdir = . | |
57 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
58 | am__aclocal_m4_deps = $(top_srcdir)/config/spl-build.m4 \ | |
dd529a30 | 59 | $(top_srcdir)/config/spl-meta.m4 $(top_srcdir)/configure.ac |
bf9f3bac | 60 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
61 | $(ACLOCAL_M4) | |
62 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | |
8934764e | 63 | configure.lineno config.status.lineno |
bf9f3bac | 64 | mkinstalldirs = $(install_sh) -d |
65 | CONFIG_HEADER = spl_config.h | |
c5f70460 | 66 | CONFIG_CLEAN_FILES = module/Makefile module/spl/Makefile \ |
86933a6e | 67 | module/splat/Makefile spl.spec spl-modules.spec |
8934764e BB |
68 | CONFIG_CLEAN_VPATH_FILES = |
69 | AM_V_GEN = $(am__v_GEN_$(V)) | |
70 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | |
71 | am__v_GEN_0 = @echo " GEN " $@; | |
72 | AM_V_at = $(am__v_at_$(V)) | |
73 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | |
74 | am__v_at_0 = @ | |
bf9f3bac | 75 | SOURCES = |
76 | DIST_SOURCES = | |
77 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | |
78 | html-recursive info-recursive install-data-recursive \ | |
8934764e BB |
79 | install-dvi-recursive install-exec-recursive \ |
80 | install-html-recursive install-info-recursive \ | |
81 | install-pdf-recursive install-ps-recursive install-recursive \ | |
82 | installcheck-recursive installdirs-recursive pdf-recursive \ | |
83 | ps-recursive uninstall-recursive | |
0c617c9a | 84 | HEADERS = $(noinst_HEADERS) |
8934764e BB |
85 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
86 | distclean-recursive maintainer-clean-recursive | |
87 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | |
88 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | |
89 | distdir dist dist-all distcheck | |
bf9f3bac | 90 | ETAGS = etags |
91 | CTAGS = ctags | |
86933a6e | 92 | DIST_SUBDIRS = lib cmd scripts module include |
bf9f3bac | 93 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
94 | distdir = $(PACKAGE)-$(VERSION) | |
95 | top_distdir = $(distdir) | |
96 | am__remove_distdir = \ | |
8934764e BB |
97 | { test ! -d "$(distdir)" \ |
98 | || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | |
99 | && rm -fr "$(distdir)"; }; } | |
100 | am__relativize = \ | |
101 | dir0=`pwd`; \ | |
102 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | |
103 | sed_rest='s,^[^/]*/*,,'; \ | |
104 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | |
105 | sed_butlast='s,/*[^/]*$$,,'; \ | |
106 | while test -n "$$dir1"; do \ | |
107 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | |
108 | if test "$$first" != "."; then \ | |
109 | if test "$$first" = ".."; then \ | |
110 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | |
111 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | |
112 | else \ | |
113 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | |
114 | if test "$$first2" = "$$first"; then \ | |
115 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | |
116 | else \ | |
117 | dir2="../$$dir2"; \ | |
118 | fi; \ | |
119 | dir0="$$dir0"/"$$first"; \ | |
120 | fi; \ | |
121 | fi; \ | |
122 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | |
123 | done; \ | |
124 | reldir="$$dir2" | |
bf9f3bac | 125 | DIST_ARCHIVES = $(distdir).tar.gz $(distdir).zip |
126 | GZIP_ENV = --best | |
127 | distuninstallcheck_listfiles = find . -type f -print | |
128 | distcleancheck_listfiles = find . -type f -print | |
129 | ACLOCAL = @ACLOCAL@ | |
287b2fb1 BB |
130 | ALIEN = @ALIEN@ |
131 | ALIEN_VERSION = @ALIEN_VERSION@ | |
bf9f3bac | 132 | AMTAR = @AMTAR@ |
8934764e | 133 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
bf9f3bac | 134 | AR = @AR@ |
135 | AUTOCONF = @AUTOCONF@ | |
136 | AUTOHEADER = @AUTOHEADER@ | |
137 | AUTOMAKE = @AUTOMAKE@ | |
138 | AWK = @AWK@ | |
139 | CC = @CC@ | |
140 | CCDEPMODE = @CCDEPMODE@ | |
141 | CFLAGS = @CFLAGS@ | |
142 | CPP = @CPP@ | |
143 | CPPFLAGS = @CPPFLAGS@ | |
bf9f3bac | 144 | CYGPATH_W = @CYGPATH_W@ |
c950d148 | 145 | DEBUG_CFLAGS = @DEBUG_CFLAGS@ |
287b2fb1 | 146 | DEFAULT_PACKAGE = @DEFAULT_PACKAGE@ |
bf9f3bac | 147 | DEFS = @DEFS@ |
148 | DEPDIR = @DEPDIR@ | |
287b2fb1 BB |
149 | DPKG = @DPKG@ |
150 | DPKGBUILD = @DPKGBUILD@ | |
151 | DPKGBUILD_VERSION = @DPKGBUILD_VERSION@ | |
152 | DPKG_VERSION = @DPKG_VERSION@ | |
8934764e BB |
153 | DSYMUTIL = @DSYMUTIL@ |
154 | DUMPBIN = @DUMPBIN@ | |
bf9f3bac | 155 | ECHO_C = @ECHO_C@ |
156 | ECHO_N = @ECHO_N@ | |
157 | ECHO_T = @ECHO_T@ | |
158 | EGREP = @EGREP@ | |
159 | EXEEXT = @EXEEXT@ | |
8934764e BB |
160 | FGREP = @FGREP@ |
161 | GREP = @GREP@ | |
287b2fb1 BB |
162 | HAVE_ALIEN = @HAVE_ALIEN@ |
163 | HAVE_DPKG = @HAVE_DPKG@ | |
164 | HAVE_DPKGBUILD = @HAVE_DPKGBUILD@ | |
165 | HAVE_RPM = @HAVE_RPM@ | |
166 | HAVE_RPMBUILD = @HAVE_RPMBUILD@ | |
8934764e | 167 | INSTALL = @INSTALL@ |
bf9f3bac | 168 | INSTALL_DATA = @INSTALL_DATA@ |
169 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
170 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
171 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
bf9f3bac | 172 | KERNELCPPFLAGS = @KERNELCPPFLAGS@ |
173 | KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@ | |
8934764e | 174 | LD = @LD@ |
bf9f3bac | 175 | LDFLAGS = @LDFLAGS@ |
176 | LIBOBJS = @LIBOBJS@ | |
177 | LIBS = @LIBS@ | |
178 | LIBTOOL = @LIBTOOL@ | |
86933a6e | 179 | LICENSE = @LICENSE@ |
bf9f3bac | 180 | LINUX = @LINUX@ |
181 | LINUX_OBJ = @LINUX_OBJ@ | |
2e0e7e69 | 182 | LINUX_SYMBOLS = @LINUX_SYMBOLS@ |
c5f70460 | 183 | LINUX_VERSION = @LINUX_VERSION@ |
8934764e | 184 | LIPO = @LIPO@ |
bf9f3bac | 185 | LN_S = @LN_S@ |
186 | LTLIBOBJS = @LTLIBOBJS@ | |
187 | MAINT = @MAINT@ | |
bf9f3bac | 188 | MAKEINFO = @MAKEINFO@ |
8934764e BB |
189 | MKDIR_P = @MKDIR_P@ |
190 | NM = @NM@ | |
191 | NMEDIT = @NMEDIT@ | |
192 | OBJDUMP = @OBJDUMP@ | |
bf9f3bac | 193 | OBJEXT = @OBJEXT@ |
8934764e BB |
194 | OTOOL = @OTOOL@ |
195 | OTOOL64 = @OTOOL64@ | |
bf9f3bac | 196 | PACKAGE = @PACKAGE@ |
197 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
198 | PACKAGE_NAME = @PACKAGE_NAME@ | |
199 | PACKAGE_STRING = @PACKAGE_STRING@ | |
200 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
201 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
202 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
203 | RANLIB = @RANLIB@ | |
287b2fb1 BB |
204 | RPM = @RPM@ |
205 | RPMBUILD = @RPMBUILD@ | |
206 | RPMBUILD_VERSION = @RPMBUILD_VERSION@ | |
207 | RPM_VERSION = @RPM_VERSION@ | |
bf9f3bac | 208 | SED = @SED@ |
209 | SET_MAKE = @SET_MAKE@ | |
210 | SHELL = @SHELL@ | |
86933a6e | 211 | SPL_CONFIG = @SPL_CONFIG@ |
72e7de60 | 212 | SPL_META_ALIAS = @SPL_META_ALIAS@ |
abc3ca14 BB |
213 | SPL_META_AUTHOR = @SPL_META_AUTHOR@ |
214 | SPL_META_DATA = @SPL_META_DATA@ | |
215 | SPL_META_LT_AGE = @SPL_META_LT_AGE@ | |
216 | SPL_META_LT_CURRENT = @SPL_META_LT_CURRENT@ | |
217 | SPL_META_LT_REVISION = @SPL_META_LT_REVISION@ | |
218 | SPL_META_NAME = @SPL_META_NAME@ | |
219 | SPL_META_RELEASE = @SPL_META_RELEASE@ | |
220 | SPL_META_VERSION = @SPL_META_VERSION@ | |
bf9f3bac | 221 | STRIP = @STRIP@ |
222 | VERSION = @VERSION@ | |
8934764e BB |
223 | abs_builddir = @abs_builddir@ |
224 | abs_srcdir = @abs_srcdir@ | |
225 | abs_top_builddir = @abs_top_builddir@ | |
226 | abs_top_srcdir = @abs_top_srcdir@ | |
bf9f3bac | 227 | ac_ct_CC = @ac_ct_CC@ |
8934764e | 228 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
bf9f3bac | 229 | am__include = @am__include@ |
230 | am__leading_dot = @am__leading_dot@ | |
231 | am__quote = @am__quote@ | |
232 | am__tar = @am__tar@ | |
233 | am__untar = @am__untar@ | |
234 | bindir = @bindir@ | |
235 | build = @build@ | |
236 | build_alias = @build_alias@ | |
237 | build_cpu = @build_cpu@ | |
238 | build_os = @build_os@ | |
239 | build_vendor = @build_vendor@ | |
8934764e | 240 | builddir = @builddir@ |
bf9f3bac | 241 | datadir = @datadir@ |
8934764e BB |
242 | datarootdir = @datarootdir@ |
243 | docdir = @docdir@ | |
244 | dvidir = @dvidir@ | |
bf9f3bac | 245 | exec_prefix = @exec_prefix@ |
246 | host = @host@ | |
247 | host_alias = @host_alias@ | |
248 | host_cpu = @host_cpu@ | |
249 | host_os = @host_os@ | |
250 | host_vendor = @host_vendor@ | |
8934764e | 251 | htmldir = @htmldir@ |
bf9f3bac | 252 | includedir = @includedir@ |
253 | infodir = @infodir@ | |
254 | install_sh = @install_sh@ | |
bf9f3bac | 255 | libdir = @libdir@ |
256 | libexecdir = @libexecdir@ | |
8934764e | 257 | localedir = @localedir@ |
bf9f3bac | 258 | localstatedir = @localstatedir@ |
8934764e | 259 | lt_ECHO = @lt_ECHO@ |
bf9f3bac | 260 | mandir = @mandir@ |
261 | mkdir_p = @mkdir_p@ | |
262 | oldincludedir = @oldincludedir@ | |
8934764e | 263 | pdfdir = @pdfdir@ |
bf9f3bac | 264 | prefix = @prefix@ |
265 | program_transform_name = @program_transform_name@ | |
8934764e | 266 | psdir = @psdir@ |
bf9f3bac | 267 | sbindir = @sbindir@ |
268 | sharedstatedir = @sharedstatedir@ | |
8934764e | 269 | srcdir = @srcdir@ |
bf9f3bac | 270 | sysconfdir = @sysconfdir@ |
271 | target = @target@ | |
272 | target_alias = @target_alias@ | |
273 | target_cpu = @target_cpu@ | |
274 | target_os = @target_os@ | |
275 | target_vendor = @target_vendor@ | |
8934764e BB |
276 | top_build_prefix = @top_build_prefix@ |
277 | top_builddir = @top_builddir@ | |
278 | top_srcdir = @top_srcdir@ | |
86933a6e BB |
279 | @CONFIG_USER_TRUE@USER_DIR = lib cmd scripts |
280 | @CONFIG_KERNEL_TRUE@KERNEL_DIR = module include | |
281 | SUBDIRS = $(USER_DIR) $(KERNEL_DIR) | |
c5f70460 | 282 | AUTOMAKE_OPTIONS = foreign dist-zip |
287b2fb1 BB |
283 | EXTRA_DIST = autogen.sh spl.spec.in spl-modules.spec.in META \ |
284 | DISCLAIMER config/config.awk config/rpm.am config/deb.am \ | |
285 | config/tgz.am | |
16b719f0 | 286 | noinst_HEADERS = spl_config.h |
bf9f3bac | 287 | all: spl_config.h |
288 | $(MAKE) $(AM_MAKEFLAGS) all-recursive | |
289 | ||
290 | .SUFFIXES: | |
291 | am--refresh: | |
292 | @: | |
86933a6e | 293 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/config/rpm.am $(am__configure_deps) |
bf9f3bac | 294 | @for dep in $?; do \ |
295 | case '$(am__configure_deps)' in \ | |
296 | *$$dep*) \ | |
8934764e BB |
297 | echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ |
298 | $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ | |
bf9f3bac | 299 | && exit 0; \ |
300 | exit 1;; \ | |
301 | esac; \ | |
302 | done; \ | |
8934764e BB |
303 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ |
304 | $(am__cd) $(top_srcdir) && \ | |
305 | $(AUTOMAKE) --foreign Makefile | |
bf9f3bac | 306 | .PRECIOUS: Makefile |
307 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
308 | @case '$?' in \ | |
309 | *config.status*) \ | |
310 | echo ' $(SHELL) ./config.status'; \ | |
311 | $(SHELL) ./config.status;; \ | |
312 | *) \ | |
313 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | |
314 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | |
315 | esac; | |
316 | ||
317 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
318 | $(SHELL) ./config.status --recheck | |
319 | ||
320 | $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | |
8934764e | 321 | $(am__cd) $(srcdir) && $(AUTOCONF) |
bf9f3bac | 322 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
8934764e BB |
323 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
324 | $(am__aclocal_m4_deps): | |
bf9f3bac | 325 | |
326 | spl_config.h: stamp-h1 | |
327 | @if test ! -f $@; then \ | |
328 | rm -f stamp-h1; \ | |
8934764e | 329 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ |
bf9f3bac | 330 | else :; fi |
331 | ||
332 | stamp-h1: $(srcdir)/spl_config.h.in $(top_builddir)/config.status | |
333 | @rm -f stamp-h1 | |
334 | cd $(top_builddir) && $(SHELL) ./config.status spl_config.h | |
335 | $(srcdir)/spl_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | |
8934764e | 336 | ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
bf9f3bac | 337 | rm -f stamp-h1 |
338 | touch $@ | |
339 | ||
340 | distclean-hdr: | |
341 | -rm -f spl_config.h stamp-h1 | |
617d5a67 | 342 | module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in |
bf9f3bac | 343 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
617d5a67 | 344 | module/spl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/spl/Makefile.in |
bf9f3bac | 345 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
617d5a67 | 346 | module/splat/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/splat/Makefile.in |
bf9f3bac | 347 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
c5f70460 BB |
348 | spl.spec: $(top_builddir)/config.status $(srcdir)/spl.spec.in |
349 | cd $(top_builddir) && $(SHELL) ./config.status $@ | |
86933a6e BB |
350 | spl-modules.spec: $(top_builddir)/config.status $(srcdir)/spl-modules.spec.in |
351 | cd $(top_builddir) && $(SHELL) ./config.status $@ | |
bf9f3bac | 352 | |
353 | mostlyclean-libtool: | |
354 | -rm -f *.lo | |
355 | ||
356 | clean-libtool: | |
357 | -rm -rf .libs _libs | |
358 | ||
359 | distclean-libtool: | |
8934764e | 360 | -rm -f libtool config.lt |
bf9f3bac | 361 | |
362 | # This directory's subdirectories are mostly independent; you can cd | |
363 | # into them and run `make' without going through this Makefile. | |
364 | # To change the values of `make' variables: instead of editing Makefiles, | |
365 | # (1) if the variable is set in `config.status', edit `config.status' | |
366 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
367 | # (2) otherwise, pass the desired values on the `make' command line. | |
368 | $(RECURSIVE_TARGETS): | |
49638d83 | 369 | @fail= failcom='exit 1'; \ |
bf9f3bac | 370 | for f in x $$MAKEFLAGS; do \ |
371 | case $$f in \ | |
372 | *=* | --[!k]*);; \ | |
373 | *k*) failcom='fail=yes';; \ | |
374 | esac; \ | |
375 | done; \ | |
376 | dot_seen=no; \ | |
377 | target=`echo $@ | sed s/-recursive//`; \ | |
378 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
379 | echo "Making $$target in $$subdir"; \ | |
380 | if test "$$subdir" = "."; then \ | |
381 | dot_seen=yes; \ | |
382 | local_target="$$target-am"; \ | |
383 | else \ | |
384 | local_target="$$target"; \ | |
385 | fi; \ | |
8934764e | 386 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
bf9f3bac | 387 | || eval $$failcom; \ |
388 | done; \ | |
389 | if test "$$dot_seen" = "no"; then \ | |
390 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | |
391 | fi; test -z "$$fail" | |
392 | ||
8934764e | 393 | $(RECURSIVE_CLEAN_TARGETS): |
49638d83 | 394 | @fail= failcom='exit 1'; \ |
bf9f3bac | 395 | for f in x $$MAKEFLAGS; do \ |
396 | case $$f in \ | |
397 | *=* | --[!k]*);; \ | |
398 | *k*) failcom='fail=yes';; \ | |
399 | esac; \ | |
400 | done; \ | |
401 | dot_seen=no; \ | |
402 | case "$@" in \ | |
403 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
404 | *) list='$(SUBDIRS)' ;; \ | |
405 | esac; \ | |
406 | rev=''; for subdir in $$list; do \ | |
407 | if test "$$subdir" = "."; then :; else \ | |
408 | rev="$$subdir $$rev"; \ | |
409 | fi; \ | |
410 | done; \ | |
411 | rev="$$rev ."; \ | |
412 | target=`echo $@ | sed s/-recursive//`; \ | |
413 | for subdir in $$rev; do \ | |
414 | echo "Making $$target in $$subdir"; \ | |
415 | if test "$$subdir" = "."; then \ | |
416 | local_target="$$target-am"; \ | |
417 | else \ | |
418 | local_target="$$target"; \ | |
419 | fi; \ | |
8934764e | 420 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
bf9f3bac | 421 | || eval $$failcom; \ |
422 | done && test -z "$$fail" | |
423 | tags-recursive: | |
424 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
8934764e | 425 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
bf9f3bac | 426 | done |
427 | ctags-recursive: | |
428 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
8934764e | 429 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
bf9f3bac | 430 | done |
431 | ||
432 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
433 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
434 | unique=`for i in $$list; do \ | |
435 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
436 | done | \ | |
8934764e BB |
437 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
438 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
bf9f3bac | 439 | mkid -fID $$unique |
bf9f3bac | 440 | |
441 | TAGS: tags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \ | |
442 | $(TAGS_FILES) $(LISP) | |
8934764e | 443 | set x; \ |
bf9f3bac | 444 | here=`pwd`; \ |
445 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | |
446 | include_option=--etags-include; \ | |
447 | empty_fix=.; \ | |
448 | else \ | |
449 | include_option=--include; \ | |
450 | empty_fix=; \ | |
451 | fi; \ | |
452 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
453 | if test "$$subdir" = .; then :; else \ | |
454 | test ! -f $$subdir/TAGS || \ | |
8934764e | 455 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
bf9f3bac | 456 | fi; \ |
457 | done; \ | |
458 | list='$(SOURCES) $(HEADERS) spl_config.h.in $(LISP) $(TAGS_FILES)'; \ | |
459 | unique=`for i in $$list; do \ | |
460 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
461 | done | \ | |
8934764e BB |
462 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
463 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
464 | shift; \ | |
465 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
bf9f3bac | 466 | test -n "$$unique" || unique=$$empty_fix; \ |
8934764e BB |
467 | if test $$# -gt 0; then \ |
468 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
469 | "$$@" $$unique; \ | |
470 | else \ | |
471 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
472 | $$unique; \ | |
473 | fi; \ | |
bf9f3bac | 474 | fi |
bf9f3bac | 475 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \ |
476 | $(TAGS_FILES) $(LISP) | |
bf9f3bac | 477 | list='$(SOURCES) $(HEADERS) spl_config.h.in $(LISP) $(TAGS_FILES)'; \ |
478 | unique=`for i in $$list; do \ | |
479 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
480 | done | \ | |
8934764e BB |
481 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
482 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
483 | test -z "$(CTAGS_ARGS)$$unique" \ | |
bf9f3bac | 484 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
8934764e | 485 | $$unique |
bf9f3bac | 486 | |
487 | GTAGS: | |
488 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
8934764e BB |
489 | && $(am__cd) $(top_srcdir) \ |
490 | && gtags -i $(GTAGS_ARGS) "$$here" | |
bf9f3bac | 491 | |
492 | distclean-tags: | |
493 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
494 | ||
495 | distdir: $(DISTFILES) | |
496 | $(am__remove_distdir) | |
8934764e BB |
497 | test -d "$(distdir)" || mkdir "$(distdir)" |
498 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
499 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
500 | list='$(DISTFILES)'; \ | |
501 | dist_files=`for file in $$list; do echo $$file; done | \ | |
502 | sed -e "s|^$$srcdirstrip/||;t" \ | |
503 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
504 | case $$dist_files in \ | |
505 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
506 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
507 | sort -u` ;; \ | |
508 | esac; \ | |
509 | for file in $$dist_files; do \ | |
bf9f3bac | 510 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
bf9f3bac | 511 | if test -d $$d/$$file; then \ |
8934764e BB |
512 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
513 | if test -d "$(distdir)/$$file"; then \ | |
514 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
515 | fi; \ | |
bf9f3bac | 516 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
8934764e BB |
517 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
518 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
bf9f3bac | 519 | fi; \ |
8934764e | 520 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
bf9f3bac | 521 | else \ |
8934764e BB |
522 | test -f "$(distdir)/$$file" \ |
523 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
bf9f3bac | 524 | || exit 1; \ |
525 | fi; \ | |
526 | done | |
8934764e | 527 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
bf9f3bac | 528 | if test "$$subdir" = .; then :; else \ |
529 | test -d "$(distdir)/$$subdir" \ | |
8934764e | 530 | || $(MKDIR_P) "$(distdir)/$$subdir" \ |
bf9f3bac | 531 | || exit 1; \ |
8934764e BB |
532 | fi; \ |
533 | done | |
534 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |
535 | if test "$$subdir" = .; then :; else \ | |
536 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | |
537 | $(am__relativize); \ | |
538 | new_distdir=$$reldir; \ | |
539 | dir1=$$subdir; dir2="$(top_distdir)"; \ | |
540 | $(am__relativize); \ | |
541 | new_top_distdir=$$reldir; \ | |
542 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | |
543 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | |
544 | ($(am__cd) $$subdir && \ | |
bf9f3bac | 545 | $(MAKE) $(AM_MAKEFLAGS) \ |
8934764e BB |
546 | top_distdir="$$new_top_distdir" \ |
547 | distdir="$$new_distdir" \ | |
548 | am__remove_distdir=: \ | |
549 | am__skip_length_check=: \ | |
550 | am__skip_mode_fix=: \ | |
bf9f3bac | 551 | distdir) \ |
552 | || exit 1; \ | |
553 | fi; \ | |
554 | done | |
8934764e | 555 | -test -n "$(am__skip_mode_fix)" \ |
49638d83 BB |
556 | || find "$(distdir)" -type d ! -perm -755 \ |
557 | -exec chmod u+rwx,go+rx {} \; -o \ | |
bf9f3bac | 558 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
559 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ | |
8934764e BB |
560 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
561 | || chmod -R a+r "$(distdir)" | |
bf9f3bac | 562 | dist-gzip: distdir |
563 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
564 | $(am__remove_distdir) | |
565 | ||
566 | dist-bzip2: distdir | |
567 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | |
568 | $(am__remove_distdir) | |
569 | ||
8934764e BB |
570 | dist-lzma: distdir |
571 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | |
572 | $(am__remove_distdir) | |
573 | ||
574 | dist-xz: distdir | |
575 | tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz | |
576 | $(am__remove_distdir) | |
577 | ||
bf9f3bac | 578 | dist-tarZ: distdir |
579 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | |
580 | $(am__remove_distdir) | |
581 | ||
582 | dist-shar: distdir | |
583 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | |
584 | $(am__remove_distdir) | |
585 | dist-zip: distdir | |
586 | -rm -f $(distdir).zip | |
587 | zip -rq $(distdir).zip $(distdir) | |
588 | $(am__remove_distdir) | |
589 | ||
590 | dist dist-all: distdir | |
591 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
592 | -rm -f $(distdir).zip | |
593 | zip -rq $(distdir).zip $(distdir) | |
594 | $(am__remove_distdir) | |
595 | ||
596 | # This target untars the dist file and tries a VPATH configuration. Then | |
597 | # it guarantees that the distribution is self-contained by making another | |
598 | # tarfile. | |
599 | distcheck: dist | |
600 | case '$(DIST_ARCHIVES)' in \ | |
601 | *.tar.gz*) \ | |
49638d83 | 602 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
bf9f3bac | 603 | *.tar.bz2*) \ |
49638d83 | 604 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
8934764e | 605 | *.tar.lzma*) \ |
49638d83 | 606 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
8934764e BB |
607 | *.tar.xz*) \ |
608 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ | |
bf9f3bac | 609 | *.tar.Z*) \ |
610 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ | |
611 | *.shar.gz*) \ | |
49638d83 | 612 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
bf9f3bac | 613 | *.zip*) \ |
614 | unzip $(distdir).zip ;;\ | |
615 | esac | |
616 | chmod -R a-w $(distdir); chmod a+w $(distdir) | |
617 | mkdir $(distdir)/_build | |
618 | mkdir $(distdir)/_inst | |
619 | chmod a-w $(distdir) | |
8934764e | 620 | test -d $(distdir)/_build || exit 0; \ |
bf9f3bac | 621 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
622 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | |
8934764e BB |
623 | && am__cwd=`pwd` \ |
624 | && $(am__cd) $(distdir)/_build \ | |
bf9f3bac | 625 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
626 | $(DISTCHECK_CONFIGURE_FLAGS) \ | |
627 | && $(MAKE) $(AM_MAKEFLAGS) \ | |
628 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | |
629 | && $(MAKE) $(AM_MAKEFLAGS) check \ | |
630 | && $(MAKE) $(AM_MAKEFLAGS) install \ | |
631 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ | |
632 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ | |
633 | && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ | |
634 | distuninstallcheck \ | |
635 | && chmod -R a-w "$$dc_install_base" \ | |
636 | && ({ \ | |
637 | (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ | |
638 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ | |
639 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ | |
640 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ | |
641 | distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ | |
642 | } || { rm -rf "$$dc_destdir"; exit 1; }) \ | |
643 | && rm -rf "$$dc_destdir" \ | |
644 | && $(MAKE) $(AM_MAKEFLAGS) dist \ | |
645 | && rm -rf $(DIST_ARCHIVES) \ | |
8934764e BB |
646 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
647 | && cd "$$am__cwd" \ | |
648 | || exit 1 | |
bf9f3bac | 649 | $(am__remove_distdir) |
650 | @(echo "$(distdir) archives ready for distribution: "; \ | |
651 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ | |
8934764e | 652 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
bf9f3bac | 653 | distuninstallcheck: |
8934764e | 654 | @$(am__cd) '$(distuninstallcheck_dir)' \ |
bf9f3bac | 655 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ |
656 | || { echo "ERROR: files left after uninstall:" ; \ | |
657 | if test -n "$(DESTDIR)"; then \ | |
658 | echo " (check DESTDIR support)"; \ | |
659 | fi ; \ | |
660 | $(distuninstallcheck_listfiles) ; \ | |
661 | exit 1; } >&2 | |
662 | distcleancheck: distclean | |
663 | @if test '$(srcdir)' = . ; then \ | |
664 | echo "ERROR: distcleancheck can only run from a VPATH build" ; \ | |
665 | exit 1 ; \ | |
666 | fi | |
667 | @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ | |
668 | || { echo "ERROR: files left in build directory after distclean:" ; \ | |
669 | $(distcleancheck_listfiles) ; \ | |
670 | exit 1; } >&2 | |
671 | check-am: all-am | |
672 | check: check-recursive | |
c5f70460 | 673 | all-am: Makefile $(HEADERS) spl_config.h |
bf9f3bac | 674 | installdirs: installdirs-recursive |
675 | installdirs-am: | |
676 | install: install-recursive | |
677 | install-exec: install-exec-recursive | |
678 | install-data: install-data-recursive | |
679 | uninstall: uninstall-recursive | |
680 | ||
681 | install-am: all-am | |
682 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
683 | ||
684 | installcheck: installcheck-recursive | |
685 | install-strip: | |
686 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
687 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
688 | `test -z '$(STRIP)' || \ | |
689 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
690 | mostlyclean-generic: | |
691 | ||
692 | clean-generic: | |
693 | ||
694 | distclean-generic: | |
695 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
8934764e | 696 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
bf9f3bac | 697 | |
698 | maintainer-clean-generic: | |
699 | @echo "This command is intended for maintainers to use" | |
700 | @echo "it deletes files that may require special tools to rebuild." | |
86933a6e | 701 | @CONFIG_KERNEL_FALSE@install-data-local: |
bf9f3bac | 702 | clean: clean-recursive |
703 | ||
704 | clean-am: clean-generic clean-libtool mostlyclean-am | |
705 | ||
706 | distclean: distclean-recursive | |
707 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | |
708 | -rm -f Makefile | |
709 | distclean-am: clean-am distclean-generic distclean-hdr \ | |
c5f70460 | 710 | distclean-libtool distclean-local distclean-tags |
bf9f3bac | 711 | |
712 | dvi: dvi-recursive | |
713 | ||
714 | dvi-am: | |
715 | ||
716 | html: html-recursive | |
717 | ||
8934764e BB |
718 | html-am: |
719 | ||
bf9f3bac | 720 | info: info-recursive |
721 | ||
722 | info-am: | |
723 | ||
0c617c9a | 724 | install-data-am: install-data-local |
bf9f3bac | 725 | |
8934764e BB |
726 | install-dvi: install-dvi-recursive |
727 | ||
728 | install-dvi-am: | |
729 | ||
bf9f3bac | 730 | install-exec-am: |
731 | ||
8934764e BB |
732 | install-html: install-html-recursive |
733 | ||
734 | install-html-am: | |
735 | ||
bf9f3bac | 736 | install-info: install-info-recursive |
737 | ||
8934764e BB |
738 | install-info-am: |
739 | ||
bf9f3bac | 740 | install-man: |
741 | ||
8934764e BB |
742 | install-pdf: install-pdf-recursive |
743 | ||
744 | install-pdf-am: | |
745 | ||
746 | install-ps: install-ps-recursive | |
747 | ||
748 | install-ps-am: | |
749 | ||
bf9f3bac | 750 | installcheck-am: |
751 | ||
752 | maintainer-clean: maintainer-clean-recursive | |
753 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | |
754 | -rm -rf $(top_srcdir)/autom4te.cache | |
755 | -rm -f Makefile | |
756 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
757 | ||
758 | mostlyclean: mostlyclean-recursive | |
759 | ||
760 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | |
761 | ||
762 | pdf: pdf-recursive | |
763 | ||
764 | pdf-am: | |
765 | ||
766 | ps: ps-recursive | |
767 | ||
768 | ps-am: | |
769 | ||
8934764e | 770 | uninstall-am: |
bf9f3bac | 771 | |
8934764e BB |
772 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ |
773 | ctags-recursive install-am install-strip tags-recursive | |
bf9f3bac | 774 | |
8934764e BB |
775 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
776 | all all-am am--refresh check check-am clean clean-generic \ | |
777 | clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ | |
778 | dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ | |
779 | distcheck distclean distclean-generic distclean-hdr \ | |
780 | distclean-libtool distclean-local distclean-tags \ | |
c5f70460 BB |
781 | distcleancheck distdir distuninstallcheck dvi dvi-am html \ |
782 | html-am info info-am install install-am install-data \ | |
8934764e BB |
783 | install-data-am install-data-local install-dvi install-dvi-am \ |
784 | install-exec install-exec-am install-html install-html-am \ | |
785 | install-info install-info-am install-man install-pdf \ | |
786 | install-pdf-am install-ps install-ps-am install-strip \ | |
787 | installcheck installcheck-am installdirs installdirs-am \ | |
788 | maintainer-clean maintainer-clean-generic mostlyclean \ | |
789 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | |
790 | tags tags-recursive uninstall uninstall-am | |
c5f70460 | 791 | |
716154c5 | 792 | |
287b2fb1 BB |
793 | srpm-modules: |
794 | $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common | |
795 | ||
796 | srpm-utils: | |
797 | $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common | |
798 | ||
799 | srpm: srpm-modules srpm-utils | |
800 | ||
801 | rpm-modules: srpm-modules | |
802 | $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common | |
803 | ||
804 | rpm-utils: srpm-utils | |
805 | $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common | |
806 | ||
807 | rpm-modules: srpm-modules | |
808 | ||
809 | rpm: rpm-modules rpm-utils | |
810 | ||
86933a6e | 811 | rpm-local: |
287b2fb1 BB |
812 | @(if test "${HAVE_RPMBUILD}" = "no"; then \ |
813 | echo -e "\n" \ | |
814 | "*** Required util ${RPMBUILD} missing. Please install the\n" \ | |
815 | "*** package for your distribution which provides ${RPMBUILD},\n" \ | |
816 | "*** re-run configure, and try again.\n"; \ | |
817 | exit 1; \ | |
818 | fi; \ | |
86933a6e BB |
819 | mkdir -p $(rpmbuild)/TMP && \ |
820 | mkdir -p $(rpmbuild)/BUILD && \ | |
821 | mkdir -p $(rpmbuild)/RPMS && \ | |
822 | mkdir -p $(rpmbuild)/SRPMS && \ | |
287b2fb1 BB |
823 | mkdir -p $(rpmbuild)/SPECS && \ |
824 | cp $(rpmspec) $(rpmbuild)/SPECS && \ | |
825 | mkdir -p $(rpmbuild)/SOURCES && \ | |
826 | cp $(distdir).tar.gz $(rpmbuild)/SOURCES) | |
86933a6e BB |
827 | |
828 | srpm-common: dist | |
829 | rpmpkg=$(pkg)-$(SPL_META_VERSION)-$(SPL_META_RELEASE).src.rpm; \ | |
830 | rpmspec=$(pkg).spec; \ | |
831 | rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \ | |
832 | $(MAKE) $(AM_MAKEFLAGS) \ | |
833 | rpmbuild="$$rpmbuild" \ | |
834 | rpmspec="$$rpmspec" \ | |
835 | rpm-local || exit 1; \ | |
287b2fb1 | 836 | $(RPMBUILD) \ |
86933a6e BB |
837 | --define "_tmppath $$rpmbuild/TMP" \ |
838 | --define "_topdir $$rpmbuild" \ | |
839 | --define "build_src_rpm 1" \ | |
840 | --define "dist %{nil}" \ | |
841 | --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \ | |
842 | cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \ | |
843 | $(RM) -R $$rpmbuild | |
844 | ||
845 | rpm-common: | |
846 | rpmpkg=$(pkg)-$(SPL_META_VERSION)-$(SPL_META_RELEASE).src.rpm; \ | |
847 | rpmspec=$(pkg).spec; \ | |
848 | rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \ | |
849 | $(MAKE) $(AM_MAKEFLAGS) \ | |
850 | rpmbuild="$$rpmbuild" \ | |
851 | rpmspec="$$rpmspec" \ | |
852 | rpm-local || exit 1; \ | |
287b2fb1 | 853 | ${RPMBUILD} \ |
86933a6e BB |
854 | --define "_tmppath $$rpmbuild/TMP" \ |
855 | --define "_topdir $$rpmbuild" \ | |
856 | --define "dist %{nil}" \ | |
857 | --define "require_kdir $(LINUX)" \ | |
858 | --define "require_kobj $(LINUX_OBJ)" \ | |
859 | --define "require_kver $(LINUX_VERSION)" \ | |
860 | --nodeps --rebuild $$rpmpkg || exit 1; \ | |
861 | cp $$rpmbuild/RPMS/*/* . || exit 1; \ | |
862 | $(RM) -R $$rpmbuild | |
287b2fb1 BB |
863 | include ${top_srcdir}/config/deb.am |
864 | include ${top_srcdir}/config/tgz.am | |
c5f70460 BB |
865 | |
866 | distclean-local:: | |
867 | -$(RM) -R autom4te*.cache | |
868 | -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \ | |
869 | -o -name .pc -o -name .hg -o -name .git \) -prune -o \ | |
870 | \( -name '*.orig' -o -name '*.rej' -o -name '*~' \ | |
871 | -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ | |
872 | -o -name '.*.rej' -o -name 'aclocal.m4' -o -size 0 \ | |
873 | -o -name '*%' -o -name '.*.cmd' -o -name 'core' \ | |
fe883092 BB |
874 | -o -name 'Makefile' -o -name '$(LINUX_SYMBOLS)' \ |
875 | -o -name '*.order' -o -name '*.markers' \) \ | |
c5f70460 BB |
876 | -type f -print | xargs $(RM) |
877 | ||
86933a6e BB |
878 | @CONFIG_KERNEL_TRUE@install-data-local: |
879 | @CONFIG_KERNEL_TRUE@ destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \ | |
099dc9c2 | 880 | @CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/$$destname; \ |
86933a6e BB |
881 | @CONFIG_KERNEL_TRUE@ echo "${SPL_META_VERSION}" >$$instdest/spl.release; \ |
882 | @CONFIG_KERNEL_TRUE@ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \ | |
883 | @CONFIG_KERNEL_TRUE@ $(INSTALL) -D $$instfile $$instdest/$$instfile; \ | |
884 | @CONFIG_KERNEL_TRUE@ done | |
c5f70460 BB |
885 | |
886 | ctags: | |
887 | $(RM) $(top_srcdir)/tags | |
888 | find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags | |
889 | ||
890 | etags: | |
891 | $(RM) $(top_srcdir)/TAGS | |
892 | find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a | |
893 | ||
894 | tags: ctags etags | |
895 | ||
287b2fb1 BB |
896 | pkg: @DEFAULT_PACKAGE@ |
897 | pkg-modules: @DEFAULT_PACKAGE@-modules | |
898 | pkg-utils: @DEFAULT_PACKAGE@-utils | |
8934764e | 899 | |
bf9f3bac | 900 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
901 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
902 | .NOEXPORT: |