1997-04-26 17:58:21 +04:00
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
top_builddir = .
|
1997-04-29 18:51:31 +04:00
|
|
|
my_dir = .
|
1997-04-26 17:58:21 +04:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
|
|
|
|
@MCONFIG@
|
|
|
|
|
2001-06-14 02:16:47 +04:00
|
|
|
@RESIZER_CMT@RESIZE_DIR= resize
|
|
|
|
@DEBUGFS_CMT@DEBUGFS_DIR= debugfs
|
2003-05-05 17:00:24 +04:00
|
|
|
@EVMS_CMT@EVMS_DIR= lib/evms
|
2001-06-14 02:16:47 +04:00
|
|
|
|
2003-05-04 00:35:17 +04:00
|
|
|
LIB_SUBDIRS=lib/et lib/ss lib/e2p lib/ext2fs lib/uuid lib/blkid intl
|
2003-05-04 02:45:55 +04:00
|
|
|
PROG_SUBDIRS=e2fsck $(DEBUGFS_DIR) misc $(RESIZE_DIR) tests/progs po \
|
|
|
|
$(EVMS_DIR)
|
1999-07-19 20:18:52 +04:00
|
|
|
SUBDIRS=util $(LIB_SUBDIRS) $(PROG_SUBDIRS) tests
|
1997-04-26 17:58:21 +04:00
|
|
|
|
2003-03-02 10:07:14 +03:00
|
|
|
SUBS= lib/ext2fs/ext2_types.h lib/blkid/blkid_types.h lib/uuid/uuid_types.h
|
1997-04-26 17:58:21 +04:00
|
|
|
|
1997-04-29 20:15:03 +04:00
|
|
|
TAR=tar
|
|
|
|
|
2003-03-14 10:42:42 +03:00
|
|
|
all:: subs
|
2000-05-26 03:28:50 +04:00
|
|
|
$(MAKE) libs
|
|
|
|
$(MAKE) progs
|
|
|
|
$(MAKE) docs
|
1997-04-29 18:28:00 +04:00
|
|
|
|
2003-03-02 10:07:14 +03:00
|
|
|
subs:
|
2003-08-01 17:09:15 +04:00
|
|
|
for i in $(SUBS) ; do if test -d `dirname $$i` ; then $(MAKE) $$i ; fi ; done
|
2003-03-02 10:07:14 +03:00
|
|
|
|
|
|
|
progs: subs all-progs-recursive
|
|
|
|
libs: subs all-libs-recursive
|
1997-04-26 17:58:21 +04:00
|
|
|
|
1997-04-29 20:15:03 +04:00
|
|
|
docs:
|
2003-03-02 10:07:14 +03:00
|
|
|
-test -d doc && cd doc && $(MAKE) libext2fs.info
|
1997-04-29 20:15:03 +04:00
|
|
|
|
|
|
|
install-doc-libs:
|
2003-03-02 10:07:14 +03:00
|
|
|
-test -d doc && cd doc && $(MAKE) install-doc-libs
|
1997-04-29 20:15:03 +04:00
|
|
|
|
Many files:
configure.in: Change how the installation directions are selected.
Previously, we had prefix and usr_prefix, where prefix was '' and
usr_prefix was /usr, and we then defined bindir, ubindir, libdir,
ulibdir, etc. in terms of that. In autoconf 2.12, it's possible to
override bindir, libdir, etc., and so in order to make our
installation directory makefile variables more in line with autoconf
2.12, I've changed all of the various makefiles to use prefix and
root_prefix, where the default Linux definitions are /usr and '',
respectively. What used to be bindir is now root_bindir, and what
used to be ubindir, is now bindir.
MCONFIG.in: Change directories to match with new installation
directory convention (see above). Add Makefile
dependencies for makefile fragments, and define
DEP_LIB_MAKEFILES which library makefiles can use to
define DEP_MAKEFILES, so that the library makefiles will
get regenerated when the makefile fragments change.
Remove the cat?dir variables, since we aren't creating
those directories any more.
Makefile.in: Add top-level uninstall targets.
e2fsprogs-1.12.spec: Add to the RPM package the e2label man page, and
to reflect that fact that we now compile_et and mk_cmds for the
development package.
ChangeLog, Makefile.in:
Makefile.in: Add uninstall target (which is a just a no-op).
version.h, RELEASE-NOTES:
Update to interim version numbers for release purposes.
1998-04-03 20:12:25 +04:00
|
|
|
uninstall-doc-libs:
|
2003-03-02 10:07:14 +03:00
|
|
|
-test -d doc && cd doc && $(MAKE) uninstall-doc-libs
|
Many files:
configure.in: Change how the installation directions are selected.
Previously, we had prefix and usr_prefix, where prefix was '' and
usr_prefix was /usr, and we then defined bindir, ubindir, libdir,
ulibdir, etc. in terms of that. In autoconf 2.12, it's possible to
override bindir, libdir, etc., and so in order to make our
installation directory makefile variables more in line with autoconf
2.12, I've changed all of the various makefiles to use prefix and
root_prefix, where the default Linux definitions are /usr and '',
respectively. What used to be bindir is now root_bindir, and what
used to be ubindir, is now bindir.
MCONFIG.in: Change directories to match with new installation
directory convention (see above). Add Makefile
dependencies for makefile fragments, and define
DEP_LIB_MAKEFILES which library makefiles can use to
define DEP_MAKEFILES, so that the library makefiles will
get regenerated when the makefile fragments change.
Remove the cat?dir variables, since we aren't creating
those directories any more.
Makefile.in: Add top-level uninstall targets.
e2fsprogs-1.12.spec: Add to the RPM package the e2label man page, and
to reflect that fact that we now compile_et and mk_cmds for the
development package.
ChangeLog, Makefile.in:
Makefile.in: Add uninstall target (which is a just a no-op).
version.h, RELEASE-NOTES:
Update to interim version numbers for release purposes.
1998-04-03 20:12:25 +04:00
|
|
|
|
1999-07-20 01:02:11 +04:00
|
|
|
clean-doc:
|
2003-03-02 10:07:14 +03:00
|
|
|
-test -d doc && cd doc && $(MAKE) clean
|
1999-07-20 01:02:11 +04:00
|
|
|
|
|
|
|
distclean-doc:
|
2003-03-02 10:07:14 +03:00
|
|
|
-test -d doc && cd doc && $(MAKE) distclean
|
1999-07-20 01:02:11 +04:00
|
|
|
|
2003-03-02 10:07:14 +03:00
|
|
|
install: subs all-libs-recursive install-progs-recursive \
|
1997-04-29 20:15:03 +04:00
|
|
|
install-shlibs-libs-recursive install-doc-libs
|
2000-04-03 17:17:59 +04:00
|
|
|
# export MANPATH=$(DESTDIR)$(mandir); $(srcdir)/install-utils/compile_manpages
|
2003-03-02 10:07:14 +03:00
|
|
|
if test ! -d e2fsck -a ! -d debugfs -a ! -d misc -a ! -d ext2ed ; then $(MAKE) install-libs ; fi
|
1997-04-26 17:58:21 +04:00
|
|
|
|
Many files:
configure.in: Change how the installation directions are selected.
Previously, we had prefix and usr_prefix, where prefix was '' and
usr_prefix was /usr, and we then defined bindir, ubindir, libdir,
ulibdir, etc. in terms of that. In autoconf 2.12, it's possible to
override bindir, libdir, etc., and so in order to make our
installation directory makefile variables more in line with autoconf
2.12, I've changed all of the various makefiles to use prefix and
root_prefix, where the default Linux definitions are /usr and '',
respectively. What used to be bindir is now root_bindir, and what
used to be ubindir, is now bindir.
MCONFIG.in: Change directories to match with new installation
directory convention (see above). Add Makefile
dependencies for makefile fragments, and define
DEP_LIB_MAKEFILES which library makefiles can use to
define DEP_MAKEFILES, so that the library makefiles will
get regenerated when the makefile fragments change.
Remove the cat?dir variables, since we aren't creating
those directories any more.
Makefile.in: Add top-level uninstall targets.
e2fsprogs-1.12.spec: Add to the RPM package the e2label man page, and
to reflect that fact that we now compile_et and mk_cmds for the
development package.
ChangeLog, Makefile.in:
Makefile.in: Add uninstall target (which is a just a no-op).
version.h, RELEASE-NOTES:
Update to interim version numbers for release purposes.
1998-04-03 20:12:25 +04:00
|
|
|
uninstall: uninstall-progs-recursive uninstall-shlibs-libs-recursive uninstall-doc-libs
|
|
|
|
|
1997-04-26 17:58:21 +04:00
|
|
|
install-libs: install-libs-recursive
|
|
|
|
|
Many files:
configure.in: Change how the installation directions are selected.
Previously, we had prefix and usr_prefix, where prefix was '' and
usr_prefix was /usr, and we then defined bindir, ubindir, libdir,
ulibdir, etc. in terms of that. In autoconf 2.12, it's possible to
override bindir, libdir, etc., and so in order to make our
installation directory makefile variables more in line with autoconf
2.12, I've changed all of the various makefiles to use prefix and
root_prefix, where the default Linux definitions are /usr and '',
respectively. What used to be bindir is now root_bindir, and what
used to be ubindir, is now bindir.
MCONFIG.in: Change directories to match with new installation
directory convention (see above). Add Makefile
dependencies for makefile fragments, and define
DEP_LIB_MAKEFILES which library makefiles can use to
define DEP_MAKEFILES, so that the library makefiles will
get regenerated when the makefile fragments change.
Remove the cat?dir variables, since we aren't creating
those directories any more.
Makefile.in: Add top-level uninstall targets.
e2fsprogs-1.12.spec: Add to the RPM package the e2label man page, and
to reflect that fact that we now compile_et and mk_cmds for the
development package.
ChangeLog, Makefile.in:
Makefile.in: Add uninstall target (which is a just a no-op).
version.h, RELEASE-NOTES:
Update to interim version numbers for release purposes.
1998-04-03 20:12:25 +04:00
|
|
|
uninstall-libs: uninstall-libs-recursive
|
|
|
|
|
2000-12-09 05:37:33 +03:00
|
|
|
TAGS clean-recursive distclean-recursive depend-recursive check-recursive \
|
1997-04-26 17:58:21 +04:00
|
|
|
mostlyclean-recursive realclean-recursive install-recursive:
|
|
|
|
for subdir in $(SUBDIRS); do \
|
1997-06-08 00:42:58 +04:00
|
|
|
if test -d $$subdir ; then \
|
|
|
|
target=`echo $@|$(SED) 's/-recursive//'`; \
|
|
|
|
echo making $$target in $$subdir; \
|
|
|
|
(cd $$subdir && $(MAKE) $$target) || exit 1; \
|
|
|
|
fi ; \
|
1997-04-26 17:58:21 +04:00
|
|
|
done
|
|
|
|
|
Many files:
configure.in: Change how the installation directions are selected.
Previously, we had prefix and usr_prefix, where prefix was '' and
usr_prefix was /usr, and we then defined bindir, ubindir, libdir,
ulibdir, etc. in terms of that. In autoconf 2.12, it's possible to
override bindir, libdir, etc., and so in order to make our
installation directory makefile variables more in line with autoconf
2.12, I've changed all of the various makefiles to use prefix and
root_prefix, where the default Linux definitions are /usr and '',
respectively. What used to be bindir is now root_bindir, and what
used to be ubindir, is now bindir.
MCONFIG.in: Change directories to match with new installation
directory convention (see above). Add Makefile
dependencies for makefile fragments, and define
DEP_LIB_MAKEFILES which library makefiles can use to
define DEP_MAKEFILES, so that the library makefiles will
get regenerated when the makefile fragments change.
Remove the cat?dir variables, since we aren't creating
those directories any more.
Makefile.in: Add top-level uninstall targets.
e2fsprogs-1.12.spec: Add to the RPM package the e2label man page, and
to reflect that fact that we now compile_et and mk_cmds for the
development package.
ChangeLog, Makefile.in:
Makefile.in: Add uninstall target (which is a just a no-op).
version.h, RELEASE-NOTES:
Update to interim version numbers for release purposes.
1998-04-03 20:12:25 +04:00
|
|
|
all-progs-recursive install-progs-recursive uninstall-progs-recursive:
|
1997-04-26 17:58:21 +04:00
|
|
|
for subdir in $(PROG_SUBDIRS); do \
|
1997-06-08 00:42:58 +04:00
|
|
|
if test -d $$subdir ; then \
|
|
|
|
target=`echo $@|$(SED) 's/-progs-recursive//'`; \
|
|
|
|
echo making $$target in $$subdir; \
|
|
|
|
(cd $$subdir && $(MAKE) $$target) || exit 1; \
|
|
|
|
fi ; \
|
1997-04-26 17:58:21 +04:00
|
|
|
done
|
|
|
|
|
Many files:
configure.in: Change how the installation directions are selected.
Previously, we had prefix and usr_prefix, where prefix was '' and
usr_prefix was /usr, and we then defined bindir, ubindir, libdir,
ulibdir, etc. in terms of that. In autoconf 2.12, it's possible to
override bindir, libdir, etc., and so in order to make our
installation directory makefile variables more in line with autoconf
2.12, I've changed all of the various makefiles to use prefix and
root_prefix, where the default Linux definitions are /usr and '',
respectively. What used to be bindir is now root_bindir, and what
used to be ubindir, is now bindir.
MCONFIG.in: Change directories to match with new installation
directory convention (see above). Add Makefile
dependencies for makefile fragments, and define
DEP_LIB_MAKEFILES which library makefiles can use to
define DEP_MAKEFILES, so that the library makefiles will
get regenerated when the makefile fragments change.
Remove the cat?dir variables, since we aren't creating
those directories any more.
Makefile.in: Add top-level uninstall targets.
e2fsprogs-1.12.spec: Add to the RPM package the e2label man page, and
to reflect that fact that we now compile_et and mk_cmds for the
development package.
ChangeLog, Makefile.in:
Makefile.in: Add uninstall target (which is a just a no-op).
version.h, RELEASE-NOTES:
Update to interim version numbers for release purposes.
1998-04-03 20:12:25 +04:00
|
|
|
all-libs-recursive install-libs-recursive uninstall-libs-recursive install-shlibs-libs-recursive uninstall-shlibs-libs-recursive:
|
1997-04-26 17:58:21 +04:00
|
|
|
for subdir in $(LIB_SUBDIRS); do \
|
1997-06-08 00:42:58 +04:00
|
|
|
if test -d $$subdir ; then \
|
|
|
|
target=`echo $@|$(SED) 's/-libs-recursive//'`; \
|
|
|
|
echo making $$target in $$subdir; \
|
|
|
|
(cd $$subdir && $(MAKE) $$target) || exit 1; \
|
|
|
|
fi ; \
|
1997-04-26 17:58:21 +04:00
|
|
|
done
|
|
|
|
|
|
|
|
mostlyclean: mostlyclean-recursive mostlyclean-local
|
1997-04-29 18:28:00 +04:00
|
|
|
|
1999-07-20 01:02:11 +04:00
|
|
|
clean: clean-recursive clean-local clean-doc
|
1997-04-29 18:28:00 +04:00
|
|
|
$(RM) -f $(SUBS)
|
|
|
|
|
1999-07-20 01:02:11 +04:00
|
|
|
distclean: distclean-doc distclean-recursive distclean-local
|
1997-04-29 18:28:00 +04:00
|
|
|
|
1997-04-26 17:58:21 +04:00
|
|
|
realclean: realclean-recursive realclean-local
|
|
|
|
|
1999-07-04 00:25:58 +04:00
|
|
|
depend:: depend-recursive
|
|
|
|
|
2001-06-02 03:49:46 +04:00
|
|
|
lib/ext2fs/ext2_types.h: $(DEP_SUBSTITUTE) $(srcdir)/lib/ext2fs/ext2_types.h.in
|
|
|
|
$(SUBSTITUTE) $(srcdir)/lib/ext2fs/ext2_types.h.in \
|
|
|
|
> lib/ext2fs/ext2_types.h
|
1997-04-29 18:28:00 +04:00
|
|
|
|
2003-03-02 03:29:01 +03:00
|
|
|
lib/blkid/blkid_types.h: $(DEP_SUBSTITUTE) $(srcdir)/lib/blkid/blkid_types.h.in
|
|
|
|
$(SUBSTITUTE) $(srcdir)/lib/blkid/blkid_types.h.in \
|
|
|
|
> lib/blkid/blkid_types.h
|
|
|
|
|
2003-03-02 10:07:14 +03:00
|
|
|
lib/uuid/uuid_types.h: $(DEP_SUBSTITUTE) $(srcdir)/lib/uuid/uuid_types.h.in
|
|
|
|
$(SUBSTITUTE) $(srcdir)/lib/uuid/uuid_types.h.in \
|
|
|
|
> lib/uuid/uuid_types.h
|
|
|
|
|
1997-04-26 17:58:21 +04:00
|
|
|
mostlyclean-local:
|
2001-08-04 11:02:34 +04:00
|
|
|
$(RM) -f \#* *~ *.orig core MAKELOG
|
1999-11-19 21:42:30 +03:00
|
|
|
|
1997-04-26 17:58:21 +04:00
|
|
|
clean-local: mostlyclean-local
|
1999-11-19 21:42:30 +03:00
|
|
|
|
1997-04-26 17:58:21 +04:00
|
|
|
distclean-local: clean-local
|
2001-08-04 11:02:34 +04:00
|
|
|
$(RM) -f $(SUBS) $(SUBST_CONF) \
|
1999-11-19 21:42:30 +03:00
|
|
|
config.status config.log config.cache MCONFIG Makefile \
|
|
|
|
$(srcdir)/TAGS $(srcdir)/Makefile.in.old
|
|
|
|
|
1997-04-26 17:58:21 +04:00
|
|
|
realclean-local: distclean-local
|
|
|
|
$(RM) -f configure
|
|
|
|
|
2003-03-02 10:07:14 +03:00
|
|
|
check:: subs check-recursive
|
1997-04-26 17:58:21 +04:00
|
|
|
|