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