OSDN Git Service

Update to gettext 0.11.5. We now enable NLS support by default.
[android-x86/external-e2fsprogs.git] / Makefile.in
1 srcdir = @srcdir@
2 top_srcdir = @top_srcdir@
3 VPATH = @srcdir@
4 top_builddir = .
5 my_dir = .
6 INSTALL = @INSTALL@
7
8 @MCONFIG@
9
10 @RESIZER_CMT@RESIZE_DIR= resize
11 @DEBUGFS_CMT@DEBUGFS_DIR= debugfs
12 @LINUX_CMT@EVMS_DIR= lib/evms
13
14 LIB_SUBDIRS=lib/et lib/ss lib/e2p lib/ext2fs lib/uuid lib/blkid intl
15 PROG_SUBDIRS=e2fsck $(DEBUGFS_DIR) misc $(RESIZE_DIR) tests/progs $(EVMS_DIR)
16 SUBDIRS=util $(LIB_SUBDIRS) $(PROG_SUBDIRS) tests
17
18 SUBS= lib/ext2fs/ext2_types.h lib/blkid/blkid_types.h lib/uuid/uuid_types.h
19
20 TAR=tar
21
22 all:: subs
23         $(MAKE) libs
24         $(MAKE) progs
25         $(MAKE) docs
26
27 subs:
28         for i in $(SUBS) ; do if test -d `dirname $$i` ; then make $$i ; fi ; done
29
30 progs: subs all-progs-recursive
31 libs: subs all-libs-recursive
32
33 docs:
34         -test -d doc && cd doc && $(MAKE) libext2fs.info
35
36 install-doc-libs:
37         -test -d doc && cd doc && $(MAKE) install-doc-libs
38
39 uninstall-doc-libs:
40         -test -d doc && cd doc && $(MAKE) uninstall-doc-libs
41
42 clean-doc:
43         -test -d doc && cd doc && $(MAKE) clean
44
45 distclean-doc:
46         -test -d doc && cd doc && $(MAKE) distclean
47
48 install: subs all-libs-recursive install-progs-recursive \
49         install-shlibs-libs-recursive install-doc-libs
50 #       export MANPATH=$(DESTDIR)$(mandir); $(srcdir)/install-utils/compile_manpages
51         if test ! -d e2fsck -a ! -d debugfs -a ! -d misc -a ! -d ext2ed ; then $(MAKE) install-libs ; fi
52
53 uninstall: uninstall-progs-recursive uninstall-shlibs-libs-recursive uninstall-doc-libs
54
55 install-libs: install-libs-recursive
56
57 uninstall-libs: uninstall-libs-recursive
58
59 TAGS clean-recursive distclean-recursive depend-recursive check-recursive \
60             mostlyclean-recursive realclean-recursive install-recursive:
61         for subdir in $(SUBDIRS); do \
62           if test -d $$subdir ; then \
63             target=`echo $@|$(SED) 's/-recursive//'`; \
64             echo making $$target in $$subdir; \
65             (cd $$subdir && $(MAKE) $$target) || exit 1; \
66           fi ; \
67         done
68
69 all-progs-recursive install-progs-recursive uninstall-progs-recursive:
70         for subdir in $(PROG_SUBDIRS); do \
71           if test -d $$subdir ; then \
72             target=`echo $@|$(SED) 's/-progs-recursive//'`; \
73             echo making $$target in $$subdir; \
74             (cd $$subdir && $(MAKE) $$target) || exit 1; \
75           fi ; \
76         done
77
78 all-libs-recursive install-libs-recursive uninstall-libs-recursive install-shlibs-libs-recursive uninstall-shlibs-libs-recursive:
79         for subdir in $(LIB_SUBDIRS); do \
80           if test -d $$subdir ; then \
81             target=`echo $@|$(SED) 's/-libs-recursive//'`; \
82             echo making $$target in $$subdir; \
83             (cd $$subdir && $(MAKE) $$target) || exit 1; \
84           fi ; \
85         done
86
87 mostlyclean: mostlyclean-recursive mostlyclean-local
88
89 clean: clean-recursive clean-local clean-doc
90         $(RM) -f $(SUBS)
91
92 distclean: distclean-doc distclean-recursive distclean-local 
93
94 realclean: realclean-recursive realclean-local
95
96 depend:: depend-recursive
97
98 lib/ext2fs/ext2_types.h: $(DEP_SUBSTITUTE) $(srcdir)/lib/ext2fs/ext2_types.h.in
99         $(SUBSTITUTE) $(srcdir)/lib/ext2fs/ext2_types.h.in \
100         > lib/ext2fs/ext2_types.h
101
102 lib/blkid/blkid_types.h: $(DEP_SUBSTITUTE) $(srcdir)/lib/blkid/blkid_types.h.in
103         $(SUBSTITUTE) $(srcdir)/lib/blkid/blkid_types.h.in \
104         > lib/blkid/blkid_types.h
105
106 lib/uuid/uuid_types.h: $(DEP_SUBSTITUTE) $(srcdir)/lib/uuid/uuid_types.h.in
107         $(SUBSTITUTE) $(srcdir)/lib/uuid/uuid_types.h.in \
108         > lib/uuid/uuid_types.h
109
110 mostlyclean-local:
111         $(RM) -f \#* *~ *.orig core MAKELOG 
112
113 clean-local: mostlyclean-local
114
115 distclean-local: clean-local
116         $(RM) -f $(SUBS) $(SUBST_CONF) \
117                 config.status config.log config.cache MCONFIG Makefile \
118                 $(srcdir)/TAGS $(srcdir)/Makefile.in.old
119
120 realclean-local: distclean-local
121         $(RM) -f configure
122
123 check:: subs check-recursive
124