]>
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 | ||
a7958f7e BB |
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 | ||
c2dceb5c PS |
54 | ############################################################################### |
55 | # Written by Prakash Surya <surya1@llnl.gov> | |
56 | ############################################################################### | |
57 | # Build targets for RPM packages. | |
58 | ############################################################################### | |
59 | ||
bf9f3bac | 60 | VPATH = @srcdir@ |
61 | pkgdatadir = $(datadir)/@PACKAGE@ | |
bf9f3bac | 62 | pkgincludedir = $(includedir)/@PACKAGE@ |
8934764e BB |
63 | pkglibdir = $(libdir)/@PACKAGE@ |
64 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
bf9f3bac | 65 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
bf9f3bac | 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@ | |
0c617c9a | 80 | DIST_COMMON = $(am__configure_deps) $(noinst_HEADERS) \ |
c5f70460 | 81 | $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ |
c2dceb5c | 82 | $(srcdir)/PKGBUILD-spl-modules.in $(srcdir)/PKGBUILD-spl.in \ |
d83d25c2 PS |
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 \ | |
617d5a67 BB |
89 | $(top_srcdir)/module/spl/Makefile.in \ |
90 | $(top_srcdir)/module/splat/Makefile.in AUTHORS COPYING \ | |
bf9f3bac | 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 \ | |
dd529a30 | 97 | $(top_srcdir)/config/spl-meta.m4 $(top_srcdir)/configure.ac |
bf9f3bac | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
99 | $(ACLOCAL_M4) | |
100 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | |
8934764e | 101 | configure.lineno config.status.lineno |
bf9f3bac | 102 | mkinstalldirs = $(install_sh) -d |
103 | CONFIG_HEADER = spl_config.h | |
c5f70460 | 104 | CONFIG_CLEAN_FILES = module/Makefile module/spl/Makefile \ |
c2dceb5c | 105 | module/splat/Makefile spl.spec spl-modules.spec PKGBUILD-spl \ |
d83d25c2 | 106 | PKGBUILD-spl-modules spl.release dkms.conf |
8934764e BB |
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 = @ | |
bf9f3bac | 114 | SOURCES = |
115 | DIST_SOURCES = | |
116 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | |
117 | html-recursive info-recursive install-data-recursive \ | |
8934764e BB |
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 | |
0c617c9a | 123 | HEADERS = $(noinst_HEADERS) |
8934764e BB |
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 | |
bf9f3bac | 129 | ETAGS = etags |
130 | CTAGS = ctags | |
86933a6e | 131 | DIST_SUBDIRS = lib cmd scripts module include |
bf9f3bac | 132 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
133 | distdir = $(PACKAGE)-$(VERSION) | |
134 | top_distdir = $(distdir) | |
135 | am__remove_distdir = \ | |
8934764e BB |
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" | |
d8a1b739 | 164 | DIST_ARCHIVES = $(distdir).tar.gz |
bf9f3bac | 165 | GZIP_ENV = --best |
166 | distuninstallcheck_listfiles = find . -type f -print | |
167 | distcleancheck_listfiles = find . -type f -print | |
168 | ACLOCAL = @ACLOCAL@ | |
287b2fb1 BB |
169 | ALIEN = @ALIEN@ |
170 | ALIEN_VERSION = @ALIEN_VERSION@ | |
bf9f3bac | 171 | AMTAR = @AMTAR@ |
8934764e | 172 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
bf9f3bac | 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@ | |
bf9f3bac | 183 | CYGPATH_W = @CYGPATH_W@ |
c950d148 | 184 | DEBUG_CFLAGS = @DEBUG_CFLAGS@ |
3c208a54 BB |
185 | DEBUG_KMEM = @DEBUG_KMEM@ |
186 | DEBUG_KMEM_TRACKING = @DEBUG_KMEM_TRACKING@ | |
187 | DEBUG_LOG = @DEBUG_LOG@ | |
188 | DEBUG_SPL = @DEBUG_SPL@ | |
287b2fb1 | 189 | DEFAULT_PACKAGE = @DEFAULT_PACKAGE@ |
bf9f3bac | 190 | DEFS = @DEFS@ |
191 | DEPDIR = @DEPDIR@ | |
287b2fb1 BB |
192 | DPKG = @DPKG@ |
193 | DPKGBUILD = @DPKGBUILD@ | |
194 | DPKGBUILD_VERSION = @DPKGBUILD_VERSION@ | |
195 | DPKG_VERSION = @DPKG_VERSION@ | |
8934764e BB |
196 | DSYMUTIL = @DSYMUTIL@ |
197 | DUMPBIN = @DUMPBIN@ | |
bf9f3bac | 198 | ECHO_C = @ECHO_C@ |
199 | ECHO_N = @ECHO_N@ | |
200 | ECHO_T = @ECHO_T@ | |
201 | EGREP = @EGREP@ | |
202 | EXEEXT = @EXEEXT@ | |
8934764e BB |
203 | FGREP = @FGREP@ |
204 | GREP = @GREP@ | |
287b2fb1 BB |
205 | HAVE_ALIEN = @HAVE_ALIEN@ |
206 | HAVE_DPKG = @HAVE_DPKG@ | |
207 | HAVE_DPKGBUILD = @HAVE_DPKGBUILD@ | |
c2dceb5c PS |
208 | HAVE_MAKEPKG = @HAVE_MAKEPKG@ |
209 | HAVE_PACMAN = @HAVE_PACMAN@ | |
287b2fb1 BB |
210 | HAVE_RPM = @HAVE_RPM@ |
211 | HAVE_RPMBUILD = @HAVE_RPMBUILD@ | |
8934764e | 212 | INSTALL = @INSTALL@ |
bf9f3bac | 213 | INSTALL_DATA = @INSTALL_DATA@ |
214 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
215 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
216 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
bf9f3bac | 217 | KERNELCPPFLAGS = @KERNELCPPFLAGS@ |
218 | KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@ | |
8934764e | 219 | LD = @LD@ |
bf9f3bac | 220 | LDFLAGS = @LDFLAGS@ |
221 | LIBOBJS = @LIBOBJS@ | |
222 | LIBS = @LIBS@ | |
223 | LIBTOOL = @LIBTOOL@ | |
86933a6e | 224 | LICENSE = @LICENSE@ |
bf9f3bac | 225 | LINUX = @LINUX@ |
226 | LINUX_OBJ = @LINUX_OBJ@ | |
2e0e7e69 | 227 | LINUX_SYMBOLS = @LINUX_SYMBOLS@ |
c5f70460 | 228 | LINUX_VERSION = @LINUX_VERSION@ |
8934764e | 229 | LIPO = @LIPO@ |
bf9f3bac | 230 | LN_S = @LN_S@ |
231 | LTLIBOBJS = @LTLIBOBJS@ | |
232 | MAINT = @MAINT@ | |
bf9f3bac | 233 | MAKEINFO = @MAKEINFO@ |
c2dceb5c PS |
234 | MAKEPKG = @MAKEPKG@ |
235 | MAKEPKG_VERSION = @MAKEPKG_VERSION@ | |
8934764e BB |
236 | MKDIR_P = @MKDIR_P@ |
237 | NM = @NM@ | |
238 | NMEDIT = @NMEDIT@ | |
239 | OBJDUMP = @OBJDUMP@ | |
bf9f3bac | 240 | OBJEXT = @OBJEXT@ |
8934764e BB |
241 | OTOOL = @OTOOL@ |
242 | OTOOL64 = @OTOOL64@ | |
bf9f3bac | 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@ | |
c2dceb5c PS |
249 | PACMAN = @PACMAN@ |
250 | PACMAN_VERSION = @PACMAN_VERSION@ | |
bf9f3bac | 251 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
252 | RANLIB = @RANLIB@ | |
287b2fb1 BB |
253 | RPM = @RPM@ |
254 | RPMBUILD = @RPMBUILD@ | |
255 | RPMBUILD_VERSION = @RPMBUILD_VERSION@ | |
256 | RPM_VERSION = @RPM_VERSION@ | |
bf9f3bac | 257 | SED = @SED@ |
258 | SET_MAKE = @SET_MAKE@ | |
259 | SHELL = @SHELL@ | |
86933a6e | 260 | SPL_CONFIG = @SPL_CONFIG@ |
72e7de60 | 261 | SPL_META_ALIAS = @SPL_META_ALIAS@ |
abc3ca14 BB |
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@ | |
bf9f3bac | 270 | STRIP = @STRIP@ |
73fc084e | 271 | VENDOR = @VENDOR@ |
bf9f3bac | 272 | VERSION = @VERSION@ |
8934764e BB |
273 | abs_builddir = @abs_builddir@ |
274 | abs_srcdir = @abs_srcdir@ | |
275 | abs_top_builddir = @abs_top_builddir@ | |
276 | abs_top_srcdir = @abs_top_srcdir@ | |
bf9f3bac | 277 | ac_ct_CC = @ac_ct_CC@ |
8934764e | 278 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
bf9f3bac | 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@ | |
8934764e | 290 | builddir = @builddir@ |
bf9f3bac | 291 | datadir = @datadir@ |
8934764e BB |
292 | datarootdir = @datarootdir@ |
293 | docdir = @docdir@ | |
294 | dvidir = @dvidir@ | |
bf9f3bac | 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@ | |
8934764e | 301 | htmldir = @htmldir@ |
bf9f3bac | 302 | includedir = @includedir@ |
303 | infodir = @infodir@ | |
304 | install_sh = @install_sh@ | |
bf9f3bac | 305 | libdir = @libdir@ |
306 | libexecdir = @libexecdir@ | |
8934764e | 307 | localedir = @localedir@ |
bf9f3bac | 308 | localstatedir = @localstatedir@ |
8934764e | 309 | lt_ECHO = @lt_ECHO@ |
bf9f3bac | 310 | mandir = @mandir@ |
311 | mkdir_p = @mkdir_p@ | |
312 | oldincludedir = @oldincludedir@ | |
8934764e | 313 | pdfdir = @pdfdir@ |
bf9f3bac | 314 | prefix = @prefix@ |
315 | program_transform_name = @program_transform_name@ | |
8934764e | 316 | psdir = @psdir@ |
bf9f3bac | 317 | sbindir = @sbindir@ |
318 | sharedstatedir = @sharedstatedir@ | |
8934764e | 319 | srcdir = @srcdir@ |
bf9f3bac | 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@ | |
8934764e BB |
326 | top_build_prefix = @top_build_prefix@ |
327 | top_builddir = @top_builddir@ | |
328 | top_srcdir = @top_srcdir@ | |
86933a6e BB |
329 | @CONFIG_USER_TRUE@USER_DIR = lib cmd scripts |
330 | @CONFIG_KERNEL_TRUE@KERNEL_DIR = module include | |
331 | SUBDIRS = $(USER_DIR) $(KERNEL_DIR) | |
d8a1b739 | 332 | AUTOMAKE_OPTIONS = foreign |
287b2fb1 BB |
333 | EXTRA_DIST = autogen.sh spl.spec.in spl-modules.spec.in META \ |
334 | DISCLAIMER config/config.awk config/rpm.am config/deb.am \ | |
039bae18 | 335 | config/tgz.am dkms.postinst copy-builtin |
d801db14 | 336 | noinst_HEADERS = spl_config.h spl.release |
bf9f3bac | 337 | all: spl_config.h |
338 | $(MAKE) $(AM_MAKEFLAGS) all-recursive | |
339 | ||
340 | .SUFFIXES: | |
341 | am--refresh: | |
342 | @: | |
c2dceb5c | 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) |
bf9f3bac | 344 | @for dep in $?; do \ |
345 | case '$(am__configure_deps)' in \ | |
346 | *$$dep*) \ | |
8934764e BB |
347 | echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ |
348 | $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ | |
bf9f3bac | 349 | && exit 0; \ |
350 | exit 1;; \ | |
351 | esac; \ | |
352 | done; \ | |
8934764e BB |
353 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ |
354 | $(am__cd) $(top_srcdir) && \ | |
355 | $(AUTOMAKE) --foreign Makefile | |
bf9f3bac | 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) | |
8934764e | 371 | $(am__cd) $(srcdir) && $(AUTOCONF) |
bf9f3bac | 372 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
8934764e BB |
373 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
374 | $(am__aclocal_m4_deps): | |
bf9f3bac | 375 | |
376 | spl_config.h: stamp-h1 | |
377 | @if test ! -f $@; then \ | |
378 | rm -f stamp-h1; \ | |
8934764e | 379 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ |
bf9f3bac | 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) | |
8934764e | 386 | ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
bf9f3bac | 387 | rm -f stamp-h1 |
388 | touch $@ | |
389 | ||
390 | distclean-hdr: | |
391 | -rm -f spl_config.h stamp-h1 | |
617d5a67 | 392 | module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in |
bf9f3bac | 393 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
617d5a67 | 394 | module/spl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/spl/Makefile.in |
bf9f3bac | 395 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
617d5a67 | 396 | module/splat/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/splat/Makefile.in |
bf9f3bac | 397 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
c5f70460 BB |
398 | spl.spec: $(top_builddir)/config.status $(srcdir)/spl.spec.in |
399 | cd $(top_builddir) && $(SHELL) ./config.status $@ | |
86933a6e BB |
400 | spl-modules.spec: $(top_builddir)/config.status $(srcdir)/spl-modules.spec.in |
401 | cd $(top_builddir) && $(SHELL) ./config.status $@ | |
c2dceb5c PS |
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 $@ | |
d801db14 PS |
406 | spl.release: $(top_builddir)/config.status $(srcdir)/spl.release.in |
407 | cd $(top_builddir) && $(SHELL) ./config.status $@ | |
d83d25c2 PS |
408 | dkms.conf: $(top_builddir)/config.status $(srcdir)/dkms.conf.in |
409 | cd $(top_builddir) && $(SHELL) ./config.status $@ | |
bf9f3bac | 410 | |
411 | mostlyclean-libtool: | |
412 | -rm -f *.lo | |
413 | ||
414 | clean-libtool: | |
415 | -rm -rf .libs _libs | |
416 | ||
417 | distclean-libtool: | |
8934764e | 418 | -rm -f libtool config.lt |
bf9f3bac | 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): | |
49638d83 | 427 | @fail= failcom='exit 1'; \ |
bf9f3bac | 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; \ | |
8934764e | 444 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
bf9f3bac | 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 | ||
8934764e | 451 | $(RECURSIVE_CLEAN_TARGETS): |
49638d83 | 452 | @fail= failcom='exit 1'; \ |
bf9f3bac | 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; \ | |
8934764e | 478 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
bf9f3bac | 479 | || eval $$failcom; \ |
480 | done && test -z "$$fail" | |
481 | tags-recursive: | |
482 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
8934764e | 483 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
bf9f3bac | 484 | done |
485 | ctags-recursive: | |
486 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
8934764e | 487 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
bf9f3bac | 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 | \ | |
8934764e BB |
495 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
496 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
bf9f3bac | 497 | mkid -fID $$unique |
bf9f3bac | 498 | |
499 | TAGS: tags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \ | |
500 | $(TAGS_FILES) $(LISP) | |
8934764e | 501 | set x; \ |
bf9f3bac | 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 || \ | |
8934764e | 513 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
bf9f3bac | 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 | \ | |
8934764e BB |
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 \ | |
bf9f3bac | 524 | test -n "$$unique" || unique=$$empty_fix; \ |
8934764e BB |
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; \ | |
bf9f3bac | 532 | fi |
bf9f3bac | 533 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \ |
534 | $(TAGS_FILES) $(LISP) | |
bf9f3bac | 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 | \ | |
8934764e BB |
539 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
540 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
541 | test -z "$(CTAGS_ARGS)$$unique" \ | |
bf9f3bac | 542 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
8934764e | 543 | $$unique |
bf9f3bac | 544 | |
545 | GTAGS: | |
546 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
8934764e BB |
547 | && $(am__cd) $(top_srcdir) \ |
548 | && gtags -i $(GTAGS_ARGS) "$$here" | |
bf9f3bac | 549 | |
550 | distclean-tags: | |
551 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
552 | ||
553 | distdir: $(DISTFILES) | |
554 | $(am__remove_distdir) | |
8934764e BB |
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 \ | |
bf9f3bac | 568 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
bf9f3bac | 569 | if test -d $$d/$$file; then \ |
8934764e BB |
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; \ | |
bf9f3bac | 574 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
8934764e BB |
575 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
576 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
bf9f3bac | 577 | fi; \ |
8934764e | 578 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
bf9f3bac | 579 | else \ |
8934764e BB |
580 | test -f "$(distdir)/$$file" \ |
581 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
bf9f3bac | 582 | || exit 1; \ |
583 | fi; \ | |
584 | done | |
8934764e | 585 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
bf9f3bac | 586 | if test "$$subdir" = .; then :; else \ |
587 | test -d "$(distdir)/$$subdir" \ | |
8934764e | 588 | || $(MKDIR_P) "$(distdir)/$$subdir" \ |
bf9f3bac | 589 | || exit 1; \ |
8934764e BB |
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 && \ | |
bf9f3bac | 603 | $(MAKE) $(AM_MAKEFLAGS) \ |
8934764e BB |
604 | top_distdir="$$new_top_distdir" \ |
605 | distdir="$$new_distdir" \ | |
606 | am__remove_distdir=: \ | |
607 | am__skip_length_check=: \ | |
608 | am__skip_mode_fix=: \ | |
bf9f3bac | 609 | distdir) \ |
610 | || exit 1; \ | |
611 | fi; \ | |
612 | done | |
8934764e | 613 | -test -n "$(am__skip_mode_fix)" \ |
49638d83 BB |
614 | || find "$(distdir)" -type d ! -perm -755 \ |
615 | -exec chmod u+rwx,go+rx {} \; -o \ | |
bf9f3bac | 616 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
617 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ | |
8934764e BB |
618 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
619 | || chmod -R a+r "$(distdir)" | |
bf9f3bac | 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 | ||
8934764e BB |
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 | ||
bf9f3bac | 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) | |
d8a1b739 | 643 | |
bf9f3bac | 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 | |
bf9f3bac | 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*) \ | |
49638d83 | 659 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
bf9f3bac | 660 | *.tar.bz2*) \ |
49638d83 | 661 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
8934764e | 662 | *.tar.lzma*) \ |
49638d83 | 663 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
8934764e BB |
664 | *.tar.xz*) \ |
665 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ | |
bf9f3bac | 666 | *.tar.Z*) \ |
667 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ | |
668 | *.shar.gz*) \ | |
49638d83 | 669 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
bf9f3bac | 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) | |
8934764e | 677 | test -d $(distdir)/_build || exit 0; \ |
bf9f3bac | 678 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
679 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | |
8934764e BB |
680 | && am__cwd=`pwd` \ |
681 | && $(am__cd) $(distdir)/_build \ | |
bf9f3bac | 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) \ | |
8934764e BB |
703 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
704 | && cd "$$am__cwd" \ | |
705 | || exit 1 | |
bf9f3bac | 706 | $(am__remove_distdir) |
707 | @(echo "$(distdir) archives ready for distribution: "; \ | |
708 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ | |
8934764e | 709 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
bf9f3bac | 710 | distuninstallcheck: |
8934764e | 711 | @$(am__cd) '$(distuninstallcheck_dir)' \ |
bf9f3bac | 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 | |
c5f70460 | 730 | all-am: Makefile $(HEADERS) spl_config.h |
bf9f3bac | 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) | |
8934764e | 753 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
bf9f3bac | 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." | |
86933a6e | 758 | @CONFIG_KERNEL_FALSE@install-data-local: |
bf9f3bac | 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 \ | |
c5f70460 | 767 | distclean-libtool distclean-local distclean-tags |
bf9f3bac | 768 | |
769 | dvi: dvi-recursive | |
770 | ||
771 | dvi-am: | |
772 | ||
773 | html: html-recursive | |
774 | ||
8934764e BB |
775 | html-am: |
776 | ||
bf9f3bac | 777 | info: info-recursive |
778 | ||
779 | info-am: | |
780 | ||
0c617c9a | 781 | install-data-am: install-data-local |
bf9f3bac | 782 | |
8934764e BB |
783 | install-dvi: install-dvi-recursive |
784 | ||
785 | install-dvi-am: | |
786 | ||
bf9f3bac | 787 | install-exec-am: |
788 | ||
8934764e BB |
789 | install-html: install-html-recursive |
790 | ||
791 | install-html-am: | |
792 | ||
bf9f3bac | 793 | install-info: install-info-recursive |
794 | ||
8934764e BB |
795 | install-info-am: |
796 | ||
bf9f3bac | 797 | install-man: |
798 | ||
8934764e BB |
799 | install-pdf: install-pdf-recursive |
800 | ||
801 | install-pdf-am: | |
802 | ||
803 | install-ps: install-ps-recursive | |
804 | ||
805 | install-ps-am: | |
806 | ||
bf9f3bac | 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 | ||
8934764e | 827 | uninstall-am: |
bf9f3bac | 828 | |
8934764e BB |
829 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ |
830 | ctags-recursive install-am install-strip tags-recursive | |
bf9f3bac | 831 | |
8934764e BB |
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 \ | |
c5f70460 BB |
838 | distcleancheck distdir distuninstallcheck dvi dvi-am html \ |
839 | html-am info info-am install install-am install-data \ | |
8934764e BB |
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 | |
c5f70460 | 848 | |
716154c5 | 849 | |
287b2fb1 | 850 | srpm-modules: |
016432fb | 851 | @CONFIG_KERNEL_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common |
287b2fb1 BB |
852 | |
853 | srpm-utils: | |
016432fb | 854 | @CONFIG_USER_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common |
287b2fb1 BB |
855 | |
856 | srpm: srpm-modules srpm-utils | |
857 | ||
d83d25c2 PS |
858 | rpm-dkms: srpm-modules |
859 | @CONFIG_KERNEL_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" dkms-common | |
860 | ||
287b2fb1 | 861 | rpm-modules: srpm-modules |
016432fb | 862 | @CONFIG_KERNEL_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common |
287b2fb1 BB |
863 | |
864 | rpm-utils: srpm-utils | |
016432fb | 865 | @CONFIG_USER_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common |
287b2fb1 | 866 | |
d83d25c2 | 867 | rpm: rpm-modules rpm-utils rpm-dkms |
287b2fb1 | 868 | |
86933a6e | 869 | rpm-local: |
287b2fb1 BB |
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; \ | |
86933a6e BB |
877 | mkdir -p $(rpmbuild)/TMP && \ |
878 | mkdir -p $(rpmbuild)/BUILD && \ | |
879 | mkdir -p $(rpmbuild)/RPMS && \ | |
880 | mkdir -p $(rpmbuild)/SRPMS && \ | |
287b2fb1 BB |
881 | mkdir -p $(rpmbuild)/SPECS && \ |
882 | cp $(rpmspec) $(rpmbuild)/SPECS && \ | |
883 | mkdir -p $(rpmbuild)/SOURCES && \ | |
884 | cp $(distdir).tar.gz $(rpmbuild)/SOURCES) | |
86933a6e | 885 | |
d83d25c2 PS |
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 | ||
86933a6e BB |
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; \ | |
287b2fb1 | 914 | $(RPMBUILD) \ |
86933a6e BB |
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; \ | |
287b2fb1 | 931 | ${RPMBUILD} \ |
86933a6e BB |
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)" \ | |
3c208a54 BB |
938 | --define "$(DEBUG_SPL) 1" \ |
939 | --define "$(DEBUG_LOG) 1" \ | |
940 | --define "$(DEBUG_KMEM) 1" \ | |
941 | --define "$(DEBUG_KMEM_TRACKING) 1" \ | |
86933a6e BB |
942 | --nodeps --rebuild $$rpmpkg || exit 1; \ |
943 | cp $$rpmbuild/RPMS/*/* . || exit 1; \ | |
944 | $(RM) -R $$rpmbuild | |
a7958f7e BB |
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 | |
016432fb ED |
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 | |
a7958f7e BB |
971 | |
972 | deb-utils: deb-local rpm-utils | |
016432fb ED |
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 | |
a7958f7e BB |
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 | |
016432fb ED |
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 | |
a7958f7e BB |
1000 | |
1001 | tgz-utils: tgz-local rpm-utils | |
016432fb ED |
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 | |
a7958f7e BB |
1008 | |
1009 | tgz: tgz-modules tgz-utils | |
c5f70460 | 1010 | |
c2dceb5c PS |
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: | |
016432fb | 1020 | @CONFIG_KERNEL_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" arch-common |
c2dceb5c PS |
1021 | |
1022 | arch-utils: | |
016432fb | 1023 | @CONFIG_USER_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" arch-common |
c2dceb5c PS |
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 | ||
c5f70460 BB |
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' \ | |
fe883092 BB |
1054 | -o -name 'Makefile' -o -name '$(LINUX_SYMBOLS)' \ |
1055 | -o -name '*.order' -o -name '*.markers' \) \ | |
c5f70460 BB |
1056 | -type f -print | xargs $(RM) |
1057 | ||
86933a6e | 1058 | @CONFIG_KERNEL_TRUE@install-data-local: |
a2eda2ff BB |
1059 | @CONFIG_KERNEL_TRUE@ release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \ |
1060 | @CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \ | |
86933a6e BB |
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 | |
c5f70460 BB |
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 | ||
287b2fb1 BB |
1075 | pkg: @DEFAULT_PACKAGE@ |
1076 | pkg-modules: @DEFAULT_PACKAGE@-modules | |
1077 | pkg-utils: @DEFAULT_PACKAGE@-utils | |
8934764e | 1078 | |
bf9f3bac | 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: |