]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - Makefile.in
po: update ms.po (from translationproject.org)
[thirdparty/e2fsprogs.git] / Makefile.in
CommitLineData
50e1e10f
TT
1srcdir = @srcdir@
2top_srcdir = @top_srcdir@
3VPATH = @srcdir@
4top_builddir = .
fc6d9d51 5my_dir = .
50e1e10f
TT
6INSTALL = @INSTALL@
7
8@MCONFIG@
9
24c9b558
TT
10% : %.sh
11
cdf186e4
TT
12@RESIZER_CMT@RESIZE_DIR= resize
13@DEBUGFS_CMT@DEBUGFS_DIR= debugfs
39fd3d4f 14@UUID_CMT@UUID_LIB_SUBDIR= lib/uuid
14b596d4 15@BLKID_CMT@BLKID_LIB_SUBDIR= lib/blkid
5ce368f0 16@E2SCRUB_CMT@E2SCRUB_DIR= scrub
0afb9be6
TT
17@ALL_CMT@SUPPORT_LIB_SUBDIR= lib/support
18@ALL_CMT@E2P_LIB_SUBDIR= lib/e2p
19@ALL_CMT@EXT2FS_LIB_SUBDIR= lib/ext2fs
20
21LIB_SUBDIRS=lib/et lib/ss $(E2P_LIB_SUBDIR) $(UUID_LIB_SUBDIR) \
22 $(BLKID_LIB_SUBDIR) $(SUPPORT_LIB_SUBDIR) $(EXT2FS_LIB_SUBDIR) intl
cdf186e4 23
6ac81e45
TT
24PROG_SUBDIRS=e2fsck $(DEBUGFS_DIR) misc $(RESIZE_DIR) tests/progs po \
25 $(E2SCRUB_DIR)
cdf186e4 26
f3b3dbbe 27SUBDIRS=util $(LIB_SUBDIRS) $(PROG_SUBDIRS) tests
50e1e10f 28
0355d6d0 29SUBS= util/subst.conf lib/config.h $(top_builddir)/lib/dirpaths.h \
d1154eb4 30 lib/ext2fs/ext2_types.h lib/blkid/blkid_types.h lib/uuid/uuid_types.h
50e1e10f 31
21c84b71
TT
32TAR=tar
33
78130a21 34all:: subs
6928adc9 35 $(MAKE) libs
0afb9be6
TT
36@ALL_CMT@ $(MAKE) progs
37@ALL_CMT@ $(MAKE) docs
a4d09610 38
93df80d2
TT
39all-static::
40 $(MAKE) libs
41@ALL_CMT@ $(MAKE) static-progs
42
f0eae15c 43subs: $(DEP_SUBSTITUTE)
60b30dba
TT
44 @for i in $(SUBS) ; do if test -d `dirname $$i` ; \
45 then $(MAKE) $$i || exit $$? ; fi ; done
46 @(if test -d lib/et ; then cd lib/et && $(MAKE) compile_et; fi)
47 @(if test -d lib/ext2fs ; then cd lib/ext2fs && $(MAKE) ext2_err.h; fi)
dcb8e1fa 48 @(if test -d lib/support ; then cd lib/support && $(MAKE) prof_err.h; fi)
94ba8c75 49
3a0d5d39 50progs: all-progs-recursive
93df80d2 51static-progs: all-static-progs-recursive
3a0d5d39 52libs: all-libs-recursive
ed07fd93 53all-progs-recursive all-libs-recursive:: subs
50e1e10f 54
e5f0f3ee 55rpm:
90466c19
AD
56 sh contrib/build-rpm
57
21c84b71 58docs:
47204ff9 59 -@test -d doc && cd doc && $(MAKE) libext2fs.info
21c84b71
TT
60
61install-doc-libs:
47204ff9 62 -@test -d doc && cd doc && $(MAKE) install-doc-libs
21c84b71 63
a4b2d3ce 64uninstall-doc-libs:
47204ff9 65 -@test -d doc && cd doc && $(MAKE) uninstall-doc-libs
a4b2d3ce 66
3ac9f0ef 67clean-doc:
47204ff9 68 -@test -d doc && cd doc && $(MAKE) clean
3ac9f0ef
TT
69
70distclean-doc:
94ba8c75 71 -test -d doc && cd doc && $(MAKE) distclean
3ac9f0ef 72
94ba8c75 73install: subs all-libs-recursive install-progs-recursive \
522798d3 74 install-shlibs-libs-recursive install-doc-libs
feb235e0 75@SUBSET_CMT@ $(MAKE) install-libs
50e1e10f 76
522798d3
TT
77install-strip: subs all-libs-recursive install-strip-progs-recursive \
78 install-shlibs-strip-libs-recursive install-doc-libs
79
a4b2d3ce
TT
80uninstall: uninstall-progs-recursive uninstall-shlibs-libs-recursive uninstall-doc-libs
81
50e1e10f
TT
82install-libs: install-libs-recursive
83
a4b2d3ce
TT
84uninstall-libs: uninstall-libs-recursive
85
fedfb27f
TT
86coverage.txt: coverage.txt-recursive
87
58b3d8d3
MA
88check-recursive: all
89
11b8ef8b
TT
90TAGS clean-recursive distclean-recursive depend-recursive fullcheck-recursive \
91 check-recursive mostlyclean-recursive realclean-recursive \
92 coverage.txt-recursive:
47204ff9 93 @for subdir in $(SUBDIRS); do \
24b2c7a7
TT
94 if test -d $$subdir ; then \
95 target=`echo $@|$(SED) 's/-recursive//'`; \
96 echo making $$target in $$subdir; \
97 (cd $$subdir && $(MAKE) $$target) || exit 1; \
98 fi ; \
50e1e10f
TT
99 done
100
522798d3 101all-progs-recursive install-progs-recursive install-strip-progs-recursive \
ed07fd93
TT
102 uninstall-progs-recursive coverage.txt-progs-recursive:: all-libs-recursive
103
104
93df80d2
TT
105@ALL_CMT@all-progs-recursive all-static-progs-recursive install-progs-recursive \
106@ALL_CMT@ install-strip-progs-recursive uninstall-progs-recursive \
107@ALL_CMT@ coverage.txt-progs-recursive:: all-libs-recursive
ed07fd93
TT
108@ALL_CMT@ @for subdir in $(PROG_SUBDIRS); do \
109@ALL_CMT@ if test -d $$subdir ; then \
110@ALL_CMT@ target=`echo $@|$(SED) 's/-progs-recursive//'`; \
111@ALL_CMT@ echo making $$target in $$subdir; \
112@ALL_CMT@ (cd $$subdir && $(MAKE) $$target) || exit 1; \
113@ALL_CMT@ fi ; \
114@ALL_CMT@ done
50e1e10f 115
522798d3
TT
116all-libs-recursive install-libs-recursive install-strip-libs-recursive \
117 uninstall-libs-recursive install-shlibs-libs-recursive \
fedfb27f 118 install-shlibs-strip-libs-recursive uninstall-shlibs-libs-recursive \
ed07fd93 119 coverage.txt-libs-recursive::
47204ff9 120 @for subdir in $(LIB_SUBDIRS); do \
24b2c7a7
TT
121 if test -d $$subdir ; then \
122 target=`echo $@|$(SED) 's/-libs-recursive//'`; \
123 echo making $$target in $$subdir; \
124 (cd $$subdir && $(MAKE) $$target) || exit 1; \
125 fi ; \
50e1e10f
TT
126 done
127
128mostlyclean: mostlyclean-recursive mostlyclean-local
a4d09610 129
fedfb27f 130clean:: clean-recursive clean-local clean-doc
605e6f0e 131 $(RM) -f $(SUBS)
a4d09610 132
9c3ea642 133distclean: distclean-doc distclean-recursive
e5f0f3ee 134 $(RM) -rf autom4te.cache ext2ed/Makefile po/stamp-po \
59a220dd 135 asm_types.h config.log public_config.h parse-types.log
9c3ea642 136 $(MAKE) distclean-local
a4d09610 137
50e1e10f
TT
138realclean: realclean-recursive realclean-local
139
9d564f73
TT
140depend:: depend-recursive
141
4ea7ea00
TT
142lib/ext2fs/ext2_types.h: $(DEP_SUBSTITUTE) asm_types.h \
143 $(srcdir)/lib/ext2fs/ext2_types.h.in
144 cd $(top_builddir); CONFIG_FILES=./lib/ext2fs/ext2_types.h ./config.status
145
146lib/blkid/blkid_types.h: $(DEP_SUBSTITUTE) asm_types.h \
147 $(srcdir)/lib/blkid/blkid_types.h.in
148 cd $(top_builddir); CONFIG_FILES=./lib/blkid/blkid_types.h ./config.status
149
150lib/uuid/uuid_types.h: $(DEP_SUBSTITUTE) asm_types.h \
151 $(srcdir)/lib/uuid/uuid_types.h.in
152 cd $(top_builddir); CONFIG_FILES=./lib/uuid/uuid_types.h ./config.status
94ba8c75 153
50e1e10f 154mostlyclean-local:
83d0b970 155 $(RM) -f \#* *~ *.orig core MAKELOG
5c36a2f8 156
50e1e10f 157clean-local: mostlyclean-local
5c36a2f8 158
50e1e10f 159distclean-local: clean-local
83d0b970 160 $(RM) -f $(SUBS) $(SUBST_CONF) \
5c36a2f8
TT
161 config.status config.log config.cache MCONFIG Makefile \
162 $(srcdir)/TAGS $(srcdir)/Makefile.in.old
163
50e1e10f
TT
164realclean-local: distclean-local
165 $(RM) -f configure
166
db7cb4b4 167check:: all check-recursive
50e1e10f 168
11b8ef8b 169fullcheck:: all fullcheck-recursive