OSDN Git Service

Modified some.
[clfsja/cross-lfs-ja.git] / src / Makefile.in
1 # Makefile.in generated by automake 1.15 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18   if test -z '$(MAKELEVEL)'; then \
19     false; \
20   elif test -n '$(MAKE_HOST)'; then \
21     true; \
22   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23     true; \
24   else \
25     false; \
26   fi; \
27 }
28 am__make_running_with_option = \
29   case $${target_option-} in \
30       ?) ;; \
31       *) echo "am__make_running_with_option: internal error: invalid" \
32               "target option '$${target_option-}' specified" >&2; \
33          exit 1;; \
34   esac; \
35   has_opt=no; \
36   sane_makeflags=$$MAKEFLAGS; \
37   if $(am__is_gnu_make); then \
38     sane_makeflags=$$MFLAGS; \
39   else \
40     case $$MAKEFLAGS in \
41       *\\[\ \   ]*) \
42         bs=\\; \
43         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
45     esac; \
46   fi; \
47   skip_next=no; \
48   strip_trailopt () \
49   { \
50     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51   }; \
52   for flg in $$sane_makeflags; do \
53     test $$skip_next = yes && { skip_next=no; continue; }; \
54     case $$flg in \
55       *=*|--*) continue;; \
56         -*I) strip_trailopt 'I'; skip_next=yes;; \
57       -*I?*) strip_trailopt 'I';; \
58         -*O) strip_trailopt 'O'; skip_next=yes;; \
59       -*O?*) strip_trailopt 'O';; \
60         -*l) strip_trailopt 'l'; skip_next=yes;; \
61       -*l?*) strip_trailopt 'l';; \
62       -[dEDm]) skip_next=yes;; \
63       -[JT]) skip_next=yes;; \
64     esac; \
65     case $$flg in \
66       *$$target_option*) has_opt=yes; break;; \
67     esac; \
68   done; \
69   test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 subdir = src
89 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
90 am__aclocal_m4_deps = $(top_srcdir)/version.ac \
91         $(top_srcdir)/m4/progs.m4 \
92         $(top_srcdir)/m4/ax_compare_version.m4 \
93         $(top_srcdir)/m4/ac_check_docbook_xslt.m4 \
94         $(top_srcdir)/m4/ac_check_docbook_dtd.m4 \
95         $(top_srcdir)/m4/ac_check_takaofontdir.m4 \
96         $(top_srcdir)/configure.ac
97 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
98         $(ACLOCAL_M4)
99 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
100 mkinstalldirs = $(install_sh) -d
101 CONFIG_HEADER = $(top_builddir)/config.h
102 CONFIG_CLEAN_FILES = userconfig.xml
103 CONFIG_CLEAN_VPATH_FILES =
104 AM_V_P = $(am__v_P_@AM_V@)
105 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
106 am__v_P_0 = false
107 am__v_P_1 = :
108 AM_V_GEN = $(am__v_GEN_@AM_V@)
109 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
110 am__v_GEN_0 = @echo "  GEN     " $@;
111 am__v_GEN_1 = 
112 AM_V_at = $(am__v_at_@AM_V@)
113 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
114 am__v_at_0 = @
115 am__v_at_1 = 
116 SOURCES =
117 DIST_SOURCES =
118 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
119         ctags-recursive dvi-recursive html-recursive info-recursive \
120         install-data-recursive install-dvi-recursive \
121         install-exec-recursive install-html-recursive \
122         install-info-recursive install-pdf-recursive \
123         install-ps-recursive install-recursive installcheck-recursive \
124         installdirs-recursive pdf-recursive ps-recursive \
125         tags-recursive uninstall-recursive
126 am__can_run_installinfo = \
127   case $$AM_UPDATE_INFO_DIR in \
128     n|no|NO) false;; \
129     *) (install-info --version) >/dev/null 2>&1;; \
130   esac
131 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
132   distclean-recursive maintainer-clean-recursive
133 am__recursive_targets = \
134   $(RECURSIVE_TARGETS) \
135   $(RECURSIVE_CLEAN_TARGETS) \
136   $(am__extra_recursive_targets)
137 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
138         distdir
139 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
140 # Read a list of newline-separated strings from the standard input,
141 # and print each of them once, without duplicates.  Input order is
142 # *not* preserved.
143 am__uniquify_input = $(AWK) '\
144   BEGIN { nonempty = 0; } \
145   { items[$$0] = 1; nonempty = 1; } \
146   END { if (nonempty) { for (i in items) print i; }; } \
147 '
148 # Make sure the list of sources is unique.  This is necessary because,
149 # e.g., the same source file might be shared among _SOURCES variables
150 # for different programs/libraries.
151 am__define_uniq_tagged_files = \
152   list='$(am__tagged_files)'; \
153   unique=`for i in $$list; do \
154     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
155   done | $(am__uniquify_input)`
156 ETAGS = etags
157 CTAGS = ctags
158 DIST_SUBDIRS = $(SUBDIRS)
159 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/userconfig.xml.in
160 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
161 am__relativize = \
162   dir0=`pwd`; \
163   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
164   sed_rest='s,^[^/]*/*,,'; \
165   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
166   sed_butlast='s,/*[^/]*$$,,'; \
167   while test -n "$$dir1"; do \
168     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
169     if test "$$first" != "."; then \
170       if test "$$first" = ".."; then \
171         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
172         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
173       else \
174         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
175         if test "$$first2" = "$$first"; then \
176           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
177         else \
178           dir2="../$$dir2"; \
179         fi; \
180         dir0="$$dir0"/"$$first"; \
181       fi; \
182     fi; \
183     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
184   done; \
185   reldir="$$dir2"
186 ACLOCAL = @ACLOCAL@
187 AMTAR = @AMTAR@
188 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
189 AUTOCONF = @AUTOCONF@
190 AUTOHEADER = @AUTOHEADER@
191 AUTOMAKE = @AUTOMAKE@
192 AWK = @AWK@
193 CC = @CC@
194 CCDEPMODE = @CCDEPMODE@
195 CFLAGS = @CFLAGS@
196 CPP = @CPP@
197 CPPFLAGS = @CPPFLAGS@
198 CTIE = @CTIE@
199 CYGPATH_W = @CYGPATH_W@
200 DEFS = @DEFS@
201 DEPDIR = @DEPDIR@
202 ECHO_C = @ECHO_C@
203 ECHO_N = @ECHO_N@
204 ECHO_T = @ECHO_T@
205 EGREP = @EGREP@
206 EXEEXT = @EXEEXT@
207 FOP = @FOP@
208 GREP = @GREP@
209 INSTALL = @INSTALL@
210 INSTALL_DATA = @INSTALL_DATA@
211 INSTALL_PROGRAM = @INSTALL_PROGRAM@
212 INSTALL_SCRIPT = @INSTALL_SCRIPT@
213 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
214 LDFLAGS = @LDFLAGS@
215 LIBOBJS = @LIBOBJS@
216 LIBS = @LIBS@
217 LTLIBOBJS = @LTLIBOBJS@
218 LYNX = @LYNX@
219 MAKEINFO = @MAKEINFO@
220 MKDIR_P = @MKDIR_P@
221 OBJEXT = @OBJEXT@
222 PACKAGE = @PACKAGE@
223 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
224 PACKAGE_NAME = @PACKAGE_NAME@
225 PACKAGE_STRING = @PACKAGE_STRING@
226 PACKAGE_TARNAME = @PACKAGE_TARNAME@
227 PACKAGE_URL = @PACKAGE_URL@
228 PACKAGE_VERSION = @PACKAGE_VERSION@
229 PATH_SEPARATOR = @PATH_SEPARATOR@
230 PDF = @PDF@
231 SET_MAKE = @SET_MAKE@
232 SHELL = @SHELL@
233 STRIP = @STRIP@
234 SVNVER = @SVNVER@
235 TAKAO = @TAKAO@
236 TAKAOGEXFILE = @TAKAOGEXFILE@
237 TAKAOGFILE = @TAKAOGFILE@
238 TAKAOGFONTDIR = @TAKAOGFONTDIR@
239 TAKAOMFILE = @TAKAOMFILE@
240 TAKAOMFONTDIR = @TAKAOMFONTDIR@
241 TIDY = @TIDY@
242 TXT = @TXT@
243 VERSION = @VERSION@
244 XMLLINT = @XMLLINT@
245 XSLTPROC = @XSLTPROC@
246 abs_bookdir = @abs_bookdir@
247 abs_builddir = @abs_builddir@
248 abs_srcdir = @abs_srcdir@
249 abs_top_builddir = @abs_top_builddir@
250 abs_top_srcdir = @abs_top_srcdir@
251 ac_ct_CC = @ac_ct_CC@
252 am__include = @am__include@
253 am__leading_dot = @am__leading_dot@
254 am__quote = @am__quote@
255 am__tar = @am__tar@
256 am__untar = @am__untar@
257 bindir = @bindir@
258 bookdir = @bookdir@
259 build_alias = @build_alias@
260 builddir = @builddir@
261 datadir = @datadir@
262 datarootdir = @datarootdir@
263 docdir = @docdir@
264 dvidir = @dvidir@
265 exec_prefix = @exec_prefix@
266 host_alias = @host_alias@
267 htmldir = @htmldir@
268 includedir = @includedir@
269 infodir = @infodir@
270 install_sh = @install_sh@
271 libdir = @libdir@
272 libexecdir = @libexecdir@
273 localedir = @localedir@
274 localstatedir = @localstatedir@
275 mandir = @mandir@
276 mkdir_p = @mkdir_p@
277 oldincludedir = @oldincludedir@
278 pdfdir = @pdfdir@
279 prefix = @prefix@
280 program_transform_name = @program_transform_name@
281 psdir = @psdir@
282 sbindir = @sbindir@
283 sharedstatedir = @sharedstatedir@
284 srcdir = @srcdir@
285 sysconfdir = @sysconfdir@
286 target_alias = @target_alias@
287 top_build_prefix = @top_build_prefix@
288 top_builddir = @top_builddir@
289 top_srcdir = @top_srcdir@
290 SUBDIRS = appendices boot bootable chroot cross-tools \
291         final-preps final-system introduction materials network \
292         partitioning prologue schema stylesheets system-config \
293         temp-system testsuite-tools the-end
294
295 BOOKdir = @abs_bookdir@
296 CHANGE_FILES = \
297         index.ch            \
298         mips-index.ch       \
299         mips64-64-index.ch  \
300         mips64-index.ch     \
301         ppc-index.ch        \
302         ppc64-64-index.ch   \
303         ppc64-index.ch      \
304         sparc-index.ch      \
305         sparc64-64-index.ch \
306         sparc64-index.ch    \
307         x86-index.ch        \
308         x86_64-64-index.ch  \
309         x86_64-index.ch
310
311 CHANGE_FILES_ENT = \
312         general.ch     \
313         general_ja.ch  \
314         packages.ch    \
315         patches.ch     \
316         users_groups.ch
317
318 EXTRA_DIST = $(CHANGE_FILES) $(CHANGE_FILES_ENT) \
319         tidy.ch userconfig.xml.in
320
321 srcs = $(CHANGE_FILES:.ch=.xml) $(CHANGE_FILES_ENT:.ch=.ent)
322 EXTRACLEANFILES = $(srcs)
323 SUFFIXES = .ch .ent .xml
324 TOP = $(shell pwd)
325 RENDERDIR = $(TOP)/../render
326 VALIDATEDIR = $(RENDERDIR)/validate
327 PROFILEDIR = $(RENDERDIR)/profile
328 HTMLDIR = $(RENDERDIR)/html
329 NOCHUNKDIR = $(RENDERDIR)/nochunk
330 FODIR = $(RENDERDIR)/fo
331 PDFDIR = $(RENDERDIR)/pdf
332 TROUBLEDIR = $(RENDERDIR)/trouble
333 DUMPDIR = $(RENDERDIR)/commands
334 DLLISTDIR = $(RENDERDIR)/download-list
335 CHUNK_QUIET = 1
336 ROOT_ID = 
337 ARCHS = x86 x86_64 x86_64-64 \
338                    sparc sparc64 sparc64-64 \
339                    mips mips64 mips64-64 \
340                    ppc ppc64 ppc64-64
341
342
343 #ifdef V
344 Q = 
345 ARCHS_VD_XML = $(ARCHS:%=%-validate_dump-xml)
346 ARCHS_P_XML = $(ARCHS:%=%-profiled-xml)
347 ARCHS_HTML = $(ARCHS:%=%-html)
348 ARCHS_NOCHUNKS = $(ARCHS:%=%-nochunks)
349 ARCHS_FO = $(ARCHS:%=%-fo)
350 ARCHS_PDF = $(ARCHS:%=%-pdf)
351 ARCHS_VALIDATE = $(ARCHS:%=%-validate)
352 ARCHS_TROUBLE = $(ARCHS:%=%-trouble)
353 ARCHS_DUMP = $(ARCHS:%=%-dump)
354 ARCHS_DLLIST = $(ARCHS:%=%-dllist)
355 FG_GREEN = $(shell echo -e '\e[0;32m')
356 FG_BLUE = $(shell echo -e '\e[0;34m')
357 FG_DEFAULT = $(shell echo -e '\e[0;0m')
358 all: all-recursive
359
360 .SUFFIXES:
361 .SUFFIXES: .ch .ent .xml
362 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
363         @for dep in $?; do \
364           case '$(am__configure_deps)' in \
365             *$$dep*) \
366               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
367                 && { if test -f $@; then exit 0; else break; fi; }; \
368               exit 1;; \
369           esac; \
370         done; \
371         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
372         $(am__cd) $(top_srcdir) && \
373           $(AUTOMAKE) --gnu src/Makefile
374 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
375         @case '$?' in \
376           *config.status*) \
377             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
378           *) \
379             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
380             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
381         esac;
382
383 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
384         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
385
386 $(top_srcdir)/configure:  $(am__configure_deps)
387         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
388 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
389         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
390 $(am__aclocal_m4_deps):
391 userconfig.xml: $(top_builddir)/config.status $(srcdir)/userconfig.xml.in
392         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
393
394 # This directory's subdirectories are mostly independent; you can cd
395 # into them and run 'make' without going through this Makefile.
396 # To change the values of 'make' variables: instead of editing Makefiles,
397 # (1) if the variable is set in 'config.status', edit 'config.status'
398 #     (which will cause the Makefiles to be regenerated when you run 'make');
399 # (2) otherwise, pass the desired values on the 'make' command line.
400 $(am__recursive_targets):
401         @fail=; \
402         if $(am__make_keepgoing); then \
403           failcom='fail=yes'; \
404         else \
405           failcom='exit 1'; \
406         fi; \
407         dot_seen=no; \
408         target=`echo $@ | sed s/-recursive//`; \
409         case "$@" in \
410           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
411           *) list='$(SUBDIRS)' ;; \
412         esac; \
413         for subdir in $$list; do \
414           echo "Making $$target in $$subdir"; \
415           if test "$$subdir" = "."; then \
416             dot_seen=yes; \
417             local_target="$$target-am"; \
418           else \
419             local_target="$$target"; \
420           fi; \
421           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
422           || eval $$failcom; \
423         done; \
424         if test "$$dot_seen" = "no"; then \
425           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
426         fi; test -z "$$fail"
427
428 ID: $(am__tagged_files)
429         $(am__define_uniq_tagged_files); mkid -fID $$unique
430 tags: tags-recursive
431 TAGS: tags
432
433 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
434         set x; \
435         here=`pwd`; \
436         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
437           include_option=--etags-include; \
438           empty_fix=.; \
439         else \
440           include_option=--include; \
441           empty_fix=; \
442         fi; \
443         list='$(SUBDIRS)'; for subdir in $$list; do \
444           if test "$$subdir" = .; then :; else \
445             test ! -f $$subdir/TAGS || \
446               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
447           fi; \
448         done; \
449         $(am__define_uniq_tagged_files); \
450         shift; \
451         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
452           test -n "$$unique" || unique=$$empty_fix; \
453           if test $$# -gt 0; then \
454             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
455               "$$@" $$unique; \
456           else \
457             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
458               $$unique; \
459           fi; \
460         fi
461 ctags: ctags-recursive
462
463 CTAGS: ctags
464 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
465         $(am__define_uniq_tagged_files); \
466         test -z "$(CTAGS_ARGS)$$unique" \
467           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
468              $$unique
469
470 GTAGS:
471         here=`$(am__cd) $(top_builddir) && pwd` \
472           && $(am__cd) $(top_srcdir) \
473           && gtags -i $(GTAGS_ARGS) "$$here"
474 cscopelist: cscopelist-recursive
475
476 cscopelist-am: $(am__tagged_files)
477         list='$(am__tagged_files)'; \
478         case "$(srcdir)" in \
479           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
480           *) sdir=$(subdir)/$(srcdir) ;; \
481         esac; \
482         for i in $$list; do \
483           if test -f "$$i"; then \
484             echo "$(subdir)/$$i"; \
485           else \
486             echo "$$sdir/$$i"; \
487           fi; \
488         done >> $(top_builddir)/cscope.files
489
490 distclean-tags:
491         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
492
493 distdir: $(DISTFILES)
494         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
495         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
496         list='$(DISTFILES)'; \
497           dist_files=`for file in $$list; do echo $$file; done | \
498           sed -e "s|^$$srcdirstrip/||;t" \
499               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
500         case $$dist_files in \
501           */*) $(MKDIR_P) `echo "$$dist_files" | \
502                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
503                            sort -u` ;; \
504         esac; \
505         for file in $$dist_files; do \
506           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
507           if test -d $$d/$$file; then \
508             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
509             if test -d "$(distdir)/$$file"; then \
510               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
511             fi; \
512             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
513               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
514               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
515             fi; \
516             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
517           else \
518             test -f "$(distdir)/$$file" \
519             || cp -p $$d/$$file "$(distdir)/$$file" \
520             || exit 1; \
521           fi; \
522         done
523         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
524           if test "$$subdir" = .; then :; else \
525             $(am__make_dryrun) \
526               || test -d "$(distdir)/$$subdir" \
527               || $(MKDIR_P) "$(distdir)/$$subdir" \
528               || exit 1; \
529             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
530             $(am__relativize); \
531             new_distdir=$$reldir; \
532             dir1=$$subdir; dir2="$(top_distdir)"; \
533             $(am__relativize); \
534             new_top_distdir=$$reldir; \
535             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
536             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
537             ($(am__cd) $$subdir && \
538               $(MAKE) $(AM_MAKEFLAGS) \
539                 top_distdir="$$new_top_distdir" \
540                 distdir="$$new_distdir" \
541                 am__remove_distdir=: \
542                 am__skip_length_check=: \
543                 am__skip_mode_fix=: \
544                 distdir) \
545               || exit 1; \
546           fi; \
547         done
548 check-am: all-am
549 check: check-recursive
550 all-am: Makefile
551 installdirs: installdirs-recursive
552 installdirs-am:
553 install: install-recursive
554 install-exec: install-exec-recursive
555 install-data: install-data-recursive
556 uninstall: uninstall-recursive
557
558 install-am: all-am
559         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
560
561 installcheck: installcheck-recursive
562 install-strip:
563         if test -z '$(STRIP)'; then \
564           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
565             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
566               install; \
567         else \
568           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
569             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
570             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
571         fi
572 mostlyclean-generic:
573
574 clean-generic:
575
576 distclean-generic:
577         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
578         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
579
580 maintainer-clean-generic:
581         @echo "This command is intended for maintainers to use"
582         @echo "it deletes files that may require special tools to rebuild."
583 clean: clean-recursive
584
585 clean-am: clean-generic mostlyclean-am
586
587 distclean: distclean-recursive
588         -rm -f Makefile
589 distclean-am: clean-am distclean-generic distclean-tags
590
591 dvi: dvi-recursive
592
593 dvi-am:
594
595 html: html-recursive
596
597 html-am:
598
599 info: info-recursive
600
601 info-am:
602
603 install-data-am:
604
605 install-dvi: install-dvi-recursive
606
607 install-dvi-am:
608
609 install-exec-am:
610
611 install-html: install-html-recursive
612
613 install-html-am:
614
615 install-info: install-info-recursive
616
617 install-info-am:
618
619 install-man:
620
621 install-pdf: install-pdf-recursive
622
623 install-pdf-am:
624
625 install-ps: install-ps-recursive
626
627 install-ps-am:
628
629 installcheck-am:
630
631 maintainer-clean: maintainer-clean-recursive
632         -rm -f Makefile
633 maintainer-clean-am: distclean-am maintainer-clean-generic
634
635 mostlyclean: mostlyclean-recursive
636
637 mostlyclean-am: mostlyclean-generic
638
639 pdf-am:
640
641 ps: ps-recursive
642
643 ps-am:
644
645 uninstall-am:
646
647 .MAKE: $(am__recursive_targets) install-am install-strip
648
649 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
650         check-am clean clean-generic cscopelist-am ctags ctags-am \
651         distclean distclean-generic distclean-tags distdir dvi dvi-am \
652         html html-am info info-am install install-am install-data \
653         install-data-am install-dvi install-dvi-am install-exec \
654         install-exec-am install-html install-html-am install-info \
655         install-info-am install-man install-pdf install-pdf-am \
656         install-ps install-ps-am install-strip installcheck \
657         installcheck-am installdirs installdirs-am maintainer-clean \
658         maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
659         pdf-am ps ps-am tags tags-am uninstall uninstall-am
660
661 .PRECIOUS: Makefile
662
663 .ch.xml:
664         $(top_builddir)/$(CTIE) -m $@ $(BOOKdir)/$@ $(srcdir)/$*.ch >/dev/null
665 .ch.ent:
666         $(top_builddir)/$(CTIE) -m $@ $(BOOKdir)/$@ $(srcdir)/$*.ch >/dev/null
667
668 all: ctie $(srcs) tidy.conf _images _shells html
669
670 ctie:
671         @$(MAKE) -C $(top_builddir)/$@ $@ >/dev/null
672
673 general_ja.ent: $(srcdir)/general_ja.ch
674         cp -p $^ $@
675
676 #_stylesheets:
677 #       $(MKDIR_P) stylesheets
678 #       cp -R $(BOOKdir)/stylesheets/* stylesheets
679 .PHONY: _stylesheets
680 _stylesheets:
681         @$(MAKE) -C stylesheets
682
683 _images:
684         $(MKDIR_P) images
685         cp -R $(BOOKdir)/images/* images
686
687 _shells:
688         cp -p $(BOOKdir)/tidy.sh .
689         cp -p $(BOOKdir)/obfuscate.sh .
690
691 tidy.conf: $(BOOKdir)/tidy.conf $(srcdir)/tidy.ch
692         $(top_builddir)/$(CTIE) -m $@ $^ >/dev/null
693 #else
694 #  Q = @
695 #endif
696
697 .PHONY: clfs lfs
698 clfs lfs: html
699
700 .PHONY: tidy tidy-f tidy-d
701 #ifeq ($(shell which tidy >/dev/null 2>&1 && echo yes),yes)
702 tidy:
703         @$(MAKE) --no-print-directory tidy-d TIDY_DIR=$(HTMLDIR)
704
705 tidy-f:
706         @echo "Running tidy on F:$(shell basename $(TIDY_FILE))"
707         @$(TOP)/tidy.sh "$(TIDY_FILE)"
708
709 tidy-d:
710         @echo "Running tidy on D:$(shell basename $(TIDY_DIR))"
711         @$(TOP)/tidy.sh "$(TIDY_DIR)"
712 #else
713 #tidy tidy-f tidy-d:
714 #       @echo "Tidy is not installed on this system"
715 #endif
716
717 #.PHONY: titlepage
718 titlepage: _stylesheets
719         @echo "Rendering the top-level index..."
720         $(XSLTPROC) --nonet --output $(HTMLDIR)/index.html \
721           $(TOP)/stylesheets/top-index.xsl \
722           $(TOP)/index.xml
723         @$(MAKE) --no-print-directory tidy-f TIDY_FILE=$(HTMLDIR)/index.html
724 .PHONY: $(ARCHS_VD_XML)
725 $(ARCHS_VD_XML): override arch = $(@:%-validate_dump-xml=%)
726 $(ARCHS_VD_XML):
727         @echo "Validating $(arch) book..."
728         $(MKDIR_P) $(VALIDATEDIR)
729         $(Q)xmllint --nonet --noent --xinclude \
730           --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
731           -o $(VALIDATEDIR)/$(arch)-full.xml \
732           $(TOP)/$(arch)-index.xml
733 .PHONY: $(ARCHS_P_XML)
734 $(ARCHS_P_XML): override arch = $(@:%-profiled-xml=%)
735 $(ARCHS_P_XML):
736         @$(MAKE) --no-print-directory $(arch)-validate_dump-xml
737         @echo "Generating profiled $(arch) book..."
738         $(MKDIR_P) $(PROFILEDIR)
739         $(XSLTPROC) --nonet --stringparam profile.condition html \
740           --output $(PROFILEDIR)/$(arch)-html.xml \
741           $(TOP)/stylesheets/lfs-xsl/profile.xsl \
742           $(VALIDATEDIR)/$(arch)-full.xml
743 .PHONY: html render $(ARCHS_HTML)
744 html render: $(ARCHS_HTML) titlepage
745 $(ARCHS_HTML): override arch = $(@:%-html=%)
746 $(ARCHS_HTML):
747         @$(MAKE) --no-print-directory $(arch)-profiled-xml
748
749         @echo "Rendering chunked XHTML of $(arch)..."
750         $(MKDIR_P) $(HTMLDIR)/$(arch)
751         $(XSLTPROC) --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
752           -stringparam rootid "$(ROOT_ID)" \
753           -stringparam base.dir $(HTMLDIR)/$(arch)/ \
754           $(TOP)/stylesheets/clfs-chunked.xsl \
755           $(PROFILEDIR)/$(arch)-html.xml
756
757         @echo "Copying CSS code and images for $(arch)..."
758         $(MKDIR_P) $(HTMLDIR)/$(arch)/stylesheets
759         $(Q)cp $(TOP)/stylesheets/lfs-xsl/*.css $(HTMLDIR)/$(arch)/stylesheets
760         $(Q)sed -i -e "s@../stylesheets@stylesheets@g" $(HTMLDIR)/$(arch)/*.html
761         $(MKDIR_P) -p $(HTMLDIR)/$(arch)/images
762         $(Q)cp $(TOP)/images/*.png $(HTMLDIR)/$(arch)/images
763         $(Q)sed -i -e "s@../images@images@g" $(HTMLDIR)/$(arch)/*.html
764
765         @$(MAKE) --no-print-directory tidy-d TIDY_DIR=$(HTMLDIR)/$(arch)
766 .PHONY: nochunks $(ARCHS_NOCHUNKS)
767 nochunks: $(ARCHS_NOCHUNKS)
768 $(ARCHS_NOCHUNKS): override arch = $(@:%-nochunks=%)
769 $(ARCHS_NOCHUNKS):
770         @$(MAKE) --no-print-directory $(arch)-profiled-xml
771
772         @echo "Rendering Single File HTML of $(arch)..."
773         $(MKDIR_P) $(NOCHUNKDIR)
774         $(XSLTPROC) --nonet -stringparam rootid "$(ROOT_ID)" \
775           --output $(NOCHUNKDIR)/CLFS-$(arch).html \
776           $(TOP)/stylesheets/clfs-nochunks.xsl \
777           $(PROFILEDIR)/$(arch)-html.xml
778
779         @$(MAKE) --no-print-directory tidy-f TIDY_FILE=$(NOCHUNKDIR)/CLFS-$(arch).html
780 .PHONY: fo $(ARCHS_FO)
781 fo: $(ARCHS_FO)
782 $(ARCHS_FO): override arch = $(@:%-fo=%)
783 $(ARCHS_FO):
784         @$(MAKE) --no-print-directory $(arch)-profiled-xml
785
786         @echo "Generating FO file of $(arch)..."
787         $(MKDIR_P) $(FODIR)
788         $(XSLTPROC) --nonet -stringparam rootid "$(ROOT_ID)" \
789           --output $(FODIR)/$(arch).fo \
790           $(TOP)/stylesheets/clfs-pdf.xsl \
791           $(PROFILEDIR)/$(arch)-html.xml
792         $(Q)sed -i -e 's/span="inherit"/span="all"/' $(FODIR)/$(arch).fo
793 .PHONY: pdf $(ARCHS_PDF)
794 pdf: $(ARCHS_PDF)
795 $(ARCHS_PDF): override arch = $(@:%-pdf=%)
796 $(ARCHS_PDF):
797         @$(MAKE) --no-print-directory $(arch)-fo
798
799         @echo "Rendering PDF of $(arch)..."
800         $(MKDIR_P) $(PDFDIR)
801         $(Q)fop -c userconfig.xml $(FODIR)/$(arch).fo $(PDFDIR)/CLFS-$(arch).pdf
802 .PHONY: validate $(ARCHS_VALIDATE)
803 validate: $(ARCHS_VALIDATE)
804 $(ARCHS_VALIDATE): override arch =  $(@:%-validate=%)
805 $(ARCHS_VALIDATE):
806         @echo "Validating $(arch)..."
807         $(Q)xmllint --xinclude --noout --nonet \
808           --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
809           $(TOP)/$(arch)-index.xml
810 .PHONY: trouble $(ARCHS_TROUBLE)
811 trouble: $(ARCHS_TROUBLE)
812 $(ARCHS_TROUBLE): override arch = $(@:%-trouble=%)
813 $(ARCHS_TROUBLE):
814         @echo "Troubleshooting $(arch)..."
815         $(MKDIR_P) $(TROUBLEDIR)
816         $(Q)xmllint --xinclude --nonet \
817           --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
818           -o $(TROUBLEDIR)/dump-$(arch) \
819           $(TOP)/$(arch)-index.xml
820         $(Q)xmllint --xinclude --noout --nonet \
821           --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
822           $(TROUBLEDIR)/dump-$(arch)
823         @echo "You can now look at $(TROUBLEDIR)/dump-$(arch) to see the errors"
824 .PHONY: dump-commands $(ARCHS_DUMP)
825 dump-commands: $(ARCHS_DUMP)
826 $(ARCHS_DUMP): override arch = $(@:%-dump=%)
827 $(ARCHS_DUMP):
828         @echo "Extracting commands from $(arch)..."
829         $(MKDIR_P) $(DUMPDIR)/$(arch)
830         $(XSLTPROC) --xinclude --nonet \
831           --output $(DUMPDIR)/$(arch)/ \
832           $(TOP)/stylesheets/dump-commands.xsl \
833           $(TOP)/$(arch)-index.xml
834 .PHONY: download-list $(ARCHS_DLLIST)
835 download-list: $(ARCHS_DLLIST)
836 $(ARCHS_DLLIST): override arch = $(@:%-dllist=%)
837 $(ARCHS_DLLIST):
838         @echo "Creating download list for $(arch)..."
839         $(MKDIR_P) $(DLLISTDIR)
840         $(XSLTPROC) --xinclude --nonet \
841           --output $(DLLISTDIR)/$(arch).list \
842           $(TOP)/stylesheets/wget.xsl \
843           $(TOP)/$(arch)-index.xml
844 help:
845         @echo "Output: $(RENDERDIR)"
846         @echo
847         @echo "HTML Targets"
848         @echo "  $(FG_GREEN)clfs lfs tidy html render titlepage $(FG_BLUE)$(ARCHS_HTML)$(FG_DEFAULT)"
849         @echo
850         @echo "NoChunks Targets"
851         @echo "  $(FG_GREEN)nochunks tidy $(FG_BLUE)$(ARCHS_NOCHUNKS)$(FG_DEFAULT)"
852         @echo
853         @echo "FO Targets"
854         @echo "  $(FG_GREEN)fo $(FG_BLUE)$(ARCHS_FO)$(FG_DEFAULT)"
855         @echo
856         @echo "PDF Targets"
857         @echo "  $(FG_GREEN)pdf $(FG_BLUE)$(ARCHS_PDF)$(FG_DEFAULT)"
858         @echo
859         @echo "Validate Targets"
860         @echo "  $(FG_GREEN)validate $(FG_BLUE)$(ARCHS_VALIDATE)$(FG_DEFAULT)"
861         @echo
862         @echo "Trouble Targets"
863         @echo "  $(FG_GREEN)trouble $(FG_BLUE)$(ARCHS_TROUBLE)$(FG_DEFAULT)"
864         @echo
865         @echo "Dump-Commands Targets"
866         @echo "  $(FG_GREEN)dump-commands $(FG_BLUE)$(ARCHS_DUMP)$(FG_DEFAULT)"
867         @echo
868         @echo "Download-List Targets"
869         @echo "  $(FG_GREEN)download-list $(FG_BLUE)$(ARCHS_DLLIST)$(FG_DEFAULT)"
870
871 # Tell versions [3.59,3.63) of GNU make to not export all variables.
872 # Otherwise a system limit (for SysV at least) may be exceeded.
873 .NOEXPORT: