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