OSDN Git Service

Added all.
[clfsja/cross-lfs-ja.git] / src / chroot / Makefile.am
1 ##
2 ## This is part of CLFSja package.
3 ##
4 SUBDIRS=64 common                \
5         mips  mips64  mips64-64  \
6         multilib                 \
7         ppc   ppc64              \
8         sparc sparc64 sparc64-64 \
9         x86   x86_64  x86_64-64
10 BOOKdir = @abs_bookdir@/chroot
11 CHANGE_FILES = \
12         mips-chapter.ch       \
13         mips64-64-chapter.ch  \
14         mips64-chapter.ch     \
15         ppc-chapter.ch        \
16         ppc64-64-chapter.ch   \
17         ppc64-chapter.ch      \
18         sparc-chapter.ch      \
19         sparc64-64-chapter.ch \
20         sparc64-chapter.ch    \
21         x86-chapter.ch        \
22         x86_64-64-chapter.ch  \
23         x86_64-chapter.ch
24
25 EXTRA_DIST = $(CHANGE_FILES)
26 srcdir = @srcdir@
27 srcs = $(CHANGE_FILES:.ch=.xml)
28
29 SUFFIXES = .ch .xml
30 .ch.xml:
31         $(top_builddir)/$(CTIE) -m $@ $(BOOKdir)/$@ $(srcdir)/$*.ch >/dev/null
32
33 all: ctie $(srcs)
34
35 ctie:
36         @$(MAKE) -C $(top_builddir)/$@ $@ >/dev/null
37
38 $(srcs): $(BOOKdir)/$@ $(srcdir)/$(@:.xml=.ch)