OSDN Git Service

Many files:
[android-x86/external-e2fsprogs.git] / Makefile.in
1 srcdir = @srcdir@
2 top_srcdir = @top_srcdir@
3 VPATH = @srcdir@
4 top_builddir = .
5 INSTALL = @INSTALL@
6
7 @MCONFIG@
8
9 LIB_SUBDIRS=lib/et lib/ss lib/ext2fs lib/e2p
10 PROG_SUBDIRS=e2fsck debugfs misc
11 SUBDIRS=$(LIB_SUBDIRS) $(PROG_SUBDIRS) tests
12
13 all:: libs progs check
14
15 progs: all-progs-recursive
16 libs: all-libs-recursive
17
18 install: all-libs-recursive install-progs-recursive \
19         install-shlibs-libs-recursive
20         (export MANPATH=$(DESTDIR)$(mandir); $(srcdir)/install-utils/compile_manpages)
21
22 install-libs: install-libs-recursive
23
24 TAGS clean-recursive distclean-recursive \
25             mostlyclean-recursive realclean-recursive install-recursive:
26         for subdir in $(SUBDIRS); do \
27           target=`echo $@|$(SED) 's/-recursive//'`; \
28           echo making $$target in $$subdir; \
29           (cd $$subdir && $(MAKE) $$target) || exit 1; \
30         done
31
32 all-progs-recursive install-progs-recursive:
33         for subdir in $(PROG_SUBDIRS); do \
34           target=`echo $@|$(SED) 's/-progs-recursive//'`; \
35           echo making $$target in $$subdir; \
36           (cd $$subdir && $(MAKE) $$target) || exit 1; \
37         done
38
39 all-libs-recursive install-libs-recursive install-shlibs-libs-recursive:
40         for subdir in $(LIB_SUBDIRS); do \
41           target=`echo $@|$(SED) 's/-libs-recursive//'`; \
42           echo making $$target in $$subdir; \
43           (cd $$subdir && $(MAKE) $$target) || exit 1; \
44         done
45
46 mostlyclean: mostlyclean-recursive mostlyclean-local
47 clean: clean-recursive clean-local
48 distclean: distclean-recursive distclean-local
49 realclean: realclean-recursive realclean-local
50
51 mostlyclean-local:
52         $(RM) -f \#* *~ core MAKELOG 
53 clean-local: mostlyclean-local
54 distclean-local: clean-local
55         $(RM) -f include/linux/types.h
56         $(RM) -f config.status config.log config.cache MCONFIG Makefile
57 realclean-local: distclean-local
58         $(RM) -f configure
59
60 check:
61         (cd tests; make check)
62
63 Makefile: config.status $(srcdir)/Makefile.in
64         CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
65
66 config.status: $(srcdir)/configure
67         ./config.status --recheck
68 $(srcdir)/configure: $(srcdir)/configure.in
69         cd $(srcdir) && autoconf