1997-04-26 21:58:21 +08:00
|
|
|
#
|
|
|
|
# Makefile for e2fsck
|
|
|
|
#
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
top_builddir = ..
|
1997-04-29 22:53:37 +08:00
|
|
|
my_dir = e2fsck
|
1997-04-26 21:58:21 +08:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
LDFLAG_STATIC = @LDFLAG_STATIC@
|
|
|
|
|
|
|
|
@MCONFIG@
|
|
|
|
|
Many files:
dblist.c (ext2fs_get_num_dirs): Make ext2fs_get_num_dirs more paranoid
about validating the directory counts from the block group
information.
all files: Don't include stdlib.h anymore; include it in ext2_fs.h,
since that file requires stdlib.h
ChangeLog, Makefile.in, dirinfo.c:
dirinfo.c (e2fsck_add_dir_info): Use ext2fs_get_num_dirs instead of
e2fsck_get_num_dirs, which has been removed.
Makefile.in (PROGS): Remove @EXTRA_PROGS@, since we don't want to
compile and install flushb.
ChangeLog, configure.in:
Remove @EXTRA_PROGS@, since we aren't using it in 2fsck/Makefile.in anymore
ChangeLog, Makefile.in:
Install debugfs in /sbin, instead of /usr/sbin.
libext2fs.texinfo:
Update version string to be 1.12
Makefile.in:
Fix bug in find script which made the exclusion list, where a '-' was
missing from an -name option.
1997-12-02 02:24:10 +08:00
|
|
|
PROGS= e2fsck
|
1997-04-26 21:58:21 +08:00
|
|
|
MANPAGES= e2fsck.8
|
2006-03-27 14:03:11 +08:00
|
|
|
FMANPAGES= e2fsck.conf.5
|
2005-12-31 12:57:32 +08:00
|
|
|
XTRA_CFLAGS= -DRESOURCE_TRACK -I.
|
1997-04-26 21:58:21 +08:00
|
|
|
|
2008-02-27 09:59:56 +08:00
|
|
|
LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBBLKID) $(LIBUUID) $(LIBINTL) $(LIBE2P)
|
|
|
|
DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(DEPLIBBLKID) $(DEPLIBUUID) $(DEPLIBE2P)
|
1997-04-29 22:34:47 +08:00
|
|
|
|
2003-03-02 08:47:44 +08:00
|
|
|
STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(STATIC_LIBBLKID) \
|
2008-02-27 09:59:56 +08:00
|
|
|
$(STATIC_LIBUUID) $(LIBINTL) $(STATIC_LIBE2P)
|
2006-10-02 10:18:08 +08:00
|
|
|
STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(DEPSTATIC_LIBBLKID) \
|
2008-02-27 09:59:56 +08:00
|
|
|
$(DEPSTATIC_LIBUUID) $(DEPSTATIC_LIBE2P)
|
1997-04-29 22:34:47 +08:00
|
|
|
|
2003-03-02 08:47:44 +08:00
|
|
|
PROFILED_LIBS= $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR) \
|
2008-02-27 09:59:56 +08:00
|
|
|
$(PROFILED_LIBBLKID) $(PROFILED_LIBUUID) $(PROFILED_LIBE2P) $(LIBINTL)
|
2000-01-19 05:27:12 +08:00
|
|
|
PROFILED_DEPLIBS= $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR) \
|
2008-02-27 09:59:56 +08:00
|
|
|
$(DEPPROFILED_LIBBLKID) $(DEPPROFILED_LIBUUID) $(DEPPROFILED_LIBE2P)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
2005-12-31 12:57:32 +08:00
|
|
|
COMPILE_ET=$(top_builddir)/lib/et/compile_et --build-tree
|
|
|
|
|
1997-04-26 21:58:21 +08:00
|
|
|
.c.o:
|
2004-11-30 23:52:27 +08:00
|
|
|
@echo " CC $<"
|
|
|
|
@$(CC) -c $(ALL_CFLAGS) $< -o $@
|
|
|
|
@PROFILE_CMT@ @$(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
|
1997-04-26 21:58:21 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Flags for using Checker
|
|
|
|
# Note: The optimization flags must include -g
|
|
|
|
#
|
|
|
|
#MCHECK= -checker
|
1997-04-29 22:34:47 +08:00
|
|
|
#LIBS= $(LIBCOM_ERR) $(LIB_EXT2FS) $(CHECKLIB)
|
|
|
|
#DEPLIBS= $(LIBCOM_ERR) $(LIB_EXT2FS)
|
1997-04-26 21:58:21 +08:00
|
|
|
#CHECKLIB= /usr/lib/libchecker.o
|
|
|
|
|
|
|
|
#
|
|
|
|
# Flags for doing mtrace --- uncomment to produce mtracing e2fsck
|
|
|
|
# Note: The optimization flags must include -g
|
|
|
|
#
|
|
|
|
#MTRACE= -DMTRACE
|
|
|
|
#MTRACE_OBJ= mtrace.o
|
|
|
|
#MTRACE_SRC= $(srcdir)/mtrace.c
|
|
|
|
#OPT= -g
|
|
|
|
|
|
|
|
#
|
|
|
|
# Flags for doing mcheck --- uncomment to produce mchecking e2fsck
|
|
|
|
# Note: The optimization flags must include -g
|
|
|
|
#
|
|
|
|
#MCHECK= -DMCHECK
|
|
|
|
|
2008-05-24 10:02:05 +08:00
|
|
|
OBJS= crc32.o dict.o unix.o e2fsck.o super.o pass1.o pass1b.o pass2.o \
|
|
|
|
pass3.o pass4.o pass5.o journal.o badblocks.o util.o dirinfo.o \
|
|
|
|
dx_dirinfo.o ehandler.o problem.o message.o recovery.o region.o \
|
|
|
|
revoke.o ea_refcount.o rehash.o profile.o prof_err.o $(MTRACE_OBJ)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
2002-08-02 00:37:00 +08:00
|
|
|
PROFILED_OBJS= profiled/dict.o profiled/unix.o profiled/e2fsck.o \
|
|
|
|
profiled/super.o profiled/pass1.o profiled/pass1b.o \
|
1997-04-29 22:34:47 +08:00
|
|
|
profiled/pass2.o profiled/pass3.o profiled/pass4.o profiled/pass5.o \
|
2000-07-07 12:13:21 +08:00
|
|
|
profiled/journal.o profiled/badblocks.o profiled/util.o \
|
2002-06-26 11:26:34 +08:00
|
|
|
profiled/dirinfo.o profiled/dx_dirinfo.o profiled/ehandler.o \
|
2007-08-11 11:58:56 +08:00
|
|
|
profiled/message.o profiled/problem.o \
|
2002-06-26 11:26:34 +08:00
|
|
|
profiled/recovery.o profiled/region.o profiled/revoke.o \
|
2005-12-31 12:57:32 +08:00
|
|
|
profiled/ea_refcount.o profiled/rehash.o profiled/profile.o \
|
|
|
|
profiled/prof_err.o
|
1997-04-29 22:34:47 +08:00
|
|
|
|
1997-04-26 21:58:21 +08:00
|
|
|
SRCS= $(srcdir)/e2fsck.c \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(srcdir)/crc32.c \
|
|
|
|
$(srcdir)/gen_crc32table.c \
|
2002-08-02 00:37:00 +08:00
|
|
|
$(srcdir)/dict.c \
|
Many files:
pass*.c, super.c: Massive changes to avoid using printf and com_err
routines. All diagnostic messages are now routed through the
fix_problem interface.
pass2.c (check_dir_block): Check for duplicate '.' and '..' entries.
problem.c, problem.h: Add new problem codes PR_2_DUP_DOT and
PR_2_DUP_DOT_DOT.
problem.c: Added new problem codes for some of the superblock
corruption checks, and for the pass header messages. ("Pass
1: xxxxx")
util.c (print_resource_track): Now takes a description argument.
super.c, unix.c, e2fsck.c: New files to separate out the
operating-specific operations out from e2fsck.c. e2fsck.c now
contains the global e2fsck context management routines, and
super.c contains the "pass 0" initial validation of the
superblock and global block group descriptors.
pass1.c, pass2.c, pass3.c, pass4.c, pass5.c, util.c: Eliminate
(nearly) all global variables and moved them to the e2fsck
context structure.
problem.c, problem.h: Added new problem codes PR_0_SB_CORRUPT,
PR_0_FS_SIZE_WRONG, PR_0_NO_FRAGMENTS, PR_0_BLOCKS_PER_GROUP,
PR_0_FIRST_DATA_BLOCK
expect.1, expect.2:
Updated tests to align with e2fsck problem.c changes.
1997-10-04 01:48:10 +08:00
|
|
|
$(srcdir)/super.c \
|
1997-04-26 21:58:21 +08:00
|
|
|
$(srcdir)/pass1.c \
|
|
|
|
$(srcdir)/pass1b.c \
|
|
|
|
$(srcdir)/pass2.c \
|
|
|
|
$(srcdir)/pass3.c \
|
|
|
|
$(srcdir)/pass4.c \
|
|
|
|
$(srcdir)/pass5.c \
|
2000-07-07 12:13:21 +08:00
|
|
|
$(srcdir)/journal.c \
|
2000-08-14 22:25:19 +08:00
|
|
|
$(srcdir)/recovery.c \
|
2000-12-09 14:41:25 +08:00
|
|
|
$(srcdir)/revoke.c \
|
1997-04-26 21:58:21 +08:00
|
|
|
$(srcdir)/badblocks.c \
|
|
|
|
$(srcdir)/util.c \
|
Many files:
pass*.c, super.c: Massive changes to avoid using printf and com_err
routines. All diagnostic messages are now routed through the
fix_problem interface.
pass2.c (check_dir_block): Check for duplicate '.' and '..' entries.
problem.c, problem.h: Add new problem codes PR_2_DUP_DOT and
PR_2_DUP_DOT_DOT.
problem.c: Added new problem codes for some of the superblock
corruption checks, and for the pass header messages. ("Pass
1: xxxxx")
util.c (print_resource_track): Now takes a description argument.
super.c, unix.c, e2fsck.c: New files to separate out the
operating-specific operations out from e2fsck.c. e2fsck.c now
contains the global e2fsck context management routines, and
super.c contains the "pass 0" initial validation of the
superblock and global block group descriptors.
pass1.c, pass2.c, pass3.c, pass4.c, pass5.c, util.c: Eliminate
(nearly) all global variables and moved them to the e2fsck
context structure.
problem.c, problem.h: Added new problem codes PR_0_SB_CORRUPT,
PR_0_FS_SIZE_WRONG, PR_0_NO_FRAGMENTS, PR_0_BLOCKS_PER_GROUP,
PR_0_FIRST_DATA_BLOCK
expect.1, expect.2:
Updated tests to align with e2fsck problem.c changes.
1997-10-04 01:48:10 +08:00
|
|
|
$(srcdir)/unix.c \
|
1997-04-26 21:58:21 +08:00
|
|
|
$(srcdir)/dirinfo.c \
|
2002-06-26 11:26:34 +08:00
|
|
|
$(srcdir)/dx_dirinfo.c \
|
1997-04-26 21:58:21 +08:00
|
|
|
$(srcdir)/ehandler.c \
|
1997-04-30 00:15:03 +08:00
|
|
|
$(srcdir)/problem.c \
|
ChangeLog, Makefile.in, swapfs.c, unix.c:
Makefile.in: Add message.c and swapfs.c to the list of source files to
build the make depend.
swapfs.c, unix.c: Only support the -s and -S options to e2fsck if
ENABLE_SWAPFS is defined.
Many files:
ext2fs.h, bitops.h, block.c, bmap.c, closefs.c, dirblock.c, inode.c,
native.c, openfs.c, rw_bitmaps.c, swapfs.c: Only include the
byte-swapping logic if ENABLE_SWAPFS is turned on or if we're on a
big-endian machine.
initialize.c (ext2fs_initialize):Use WORDS_BIGENDIAN directly to set
EXT2_FLAG_SWAP_BYTES, instead of using ext2fs_native_flag.
native.c (ext2fs_native_flag): Use WORDS_BIGENDIAN provided by
autoconf to determine whether or not return EXT2_FLAG_SWAP_BYTES.
2001-06-11 15:00:04 +08:00
|
|
|
$(srcdir)/message.c \
|
2001-07-02 23:54:09 +08:00
|
|
|
$(srcdir)/ea_refcount.c \
|
2002-07-20 12:28:07 +08:00
|
|
|
$(srcdir)/rehash.c \
|
2001-07-20 04:31:25 +08:00
|
|
|
$(srcdir)/region.c \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.c \
|
|
|
|
prof_err.c \
|
1997-04-26 21:58:21 +08:00
|
|
|
$(MTRACE_SRC)
|
|
|
|
|
2008-01-28 06:43:10 +08:00
|
|
|
all:: profiled $(PROGS) e2fsck $(MANPAGES) $(FMANPAGES)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
1997-04-29 22:34:47 +08:00
|
|
|
@PROFILE_CMT@all:: e2fsck.profiled
|
|
|
|
|
2005-12-31 12:57:32 +08:00
|
|
|
prof_err.c prof_err.h: prof_err.et
|
|
|
|
@echo " COMPILE_ET prof_err.et"
|
|
|
|
@$(COMPILE_ET) $(srcdir)/prof_err.et
|
|
|
|
|
2008-01-28 06:43:10 +08:00
|
|
|
e2fsck: $(OBJS) $(DEPLIBS)
|
|
|
|
@echo " LD $@"
|
|
|
|
@$(LD) $(ALL_LDFLAGS) -o e2fsck $(OBJS) $(LIBS)
|
1997-04-29 22:34:47 +08:00
|
|
|
|
2008-01-28 06:43:10 +08:00
|
|
|
e2fsck.static: $(OBJS) $(STATIC_DEPLIBS)
|
2004-11-30 23:52:27 +08:00
|
|
|
@echo " LD $@"
|
|
|
|
@$(LD) $(ALL_LDFLAGS) $(LDFLAG_STATIC) -o e2fsck.static $(OBJS) \
|
1997-04-29 22:34:47 +08:00
|
|
|
$(STATIC_LIBS)
|
|
|
|
|
1997-04-30 00:15:03 +08:00
|
|
|
e2fsck.profiled: $(PROFILED_OBJS) $(PROFILED_DEPLIBS)
|
2004-11-30 23:52:27 +08:00
|
|
|
@echo " LD $@"
|
|
|
|
@$(LD) $(ALL_LDFLAGS) -g -pg -o e2fsck.profiled $(PROFILED_OBJS) \
|
1997-04-29 22:34:47 +08:00
|
|
|
$(PROFILED_LIBS)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
2008-05-24 10:02:05 +08:00
|
|
|
gen_crc32table: $(srcdir)/gen_crc32table.c
|
|
|
|
@echo " CC $@"
|
|
|
|
@$(BUILD_CC) $(ALL_CFLAGS) -o gen_crc32table \
|
|
|
|
$(srcdir)/gen_crc32table.c
|
|
|
|
|
|
|
|
crc32table.h: gen_crc32table
|
|
|
|
@echo " GEN32TABLE $@"
|
|
|
|
@./gen_crc32table > crc32table.h
|
|
|
|
|
|
|
|
tst_crc32: $(srcdir)/crc32.c $(LIBEXT2FS)
|
|
|
|
@$(CC) $(BUILD_LDFLAGS) $(ALL_CFLAGS) -o tst_crc32 $(srcdir)/crc32.c \
|
|
|
|
-DUNITTEST $(LIBEXT2FS)
|
|
|
|
|
2001-07-02 23:54:09 +08:00
|
|
|
tst_refcount: ea_refcount.c
|
2004-11-30 23:52:27 +08:00
|
|
|
@echo " LD $@"
|
|
|
|
@$(CC) -o tst_refcount $(srcdir)/ea_refcount.c \
|
2001-07-02 23:54:09 +08:00
|
|
|
$(ALL_CFLAGS) -DTEST_PROGRAM -lcom_err
|
|
|
|
|
2001-07-20 04:31:25 +08:00
|
|
|
tst_region: region.c
|
2004-11-30 23:52:27 +08:00
|
|
|
@echo " LD $@"
|
|
|
|
@$(CC) -o tst_region $(srcdir)/region.c \
|
2001-07-20 04:31:25 +08:00
|
|
|
$(ALL_CFLAGS) -DTEST_PROGRAM -lcom_err
|
|
|
|
|
2008-05-24 10:02:05 +08:00
|
|
|
check:: tst_refcount tst_region tst_crc32
|
|
|
|
./tst_refcount
|
|
|
|
./tst_region
|
|
|
|
./tst_crc32
|
|
|
|
|
1997-04-26 21:58:21 +08:00
|
|
|
extend: extend.o
|
2004-11-30 23:52:27 +08:00
|
|
|
@echo " LD $@"
|
|
|
|
@$(LD) $(ALL_LDFLAGS) -o extend extend.o $(CHECKLIB)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
|
|
|
flushb: flushb.o
|
2004-11-30 23:52:27 +08:00
|
|
|
@echo " LD $@"
|
|
|
|
@$(LD) $(ALL_LDFLAGS) -o flushb flushb.o $(CHECKLIB)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
2001-08-09 08:50:57 +08:00
|
|
|
iscan: iscan.o util.o ehandler.o $(DEPLIBS)
|
2004-11-30 23:52:27 +08:00
|
|
|
@echo " LD $@"
|
|
|
|
@$(LD) $(ALL_LDFLAGS) -o iscan iscan.o util.o ehandler.o $(LIBS)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
2006-01-03 11:04:41 +08:00
|
|
|
test_profile: $(srcdir)/profile.c profile_helpers.o argv_parse.o \
|
|
|
|
prof_err.o profile.h $(STATIC_LIBCOM_ERR)
|
2005-12-31 12:57:32 +08:00
|
|
|
@echo " LD $@"
|
|
|
|
@$(CC) -o test_profile -DDEBUG_PROGRAM $(srcdir)/profile.c prof_err.o \
|
2006-01-03 11:04:41 +08:00
|
|
|
profile_helpers.o argv_parse.o $(STATIC_LIBCOM_ERR) \
|
|
|
|
$(ALL_CFLAGS)
|
2005-12-31 12:57:32 +08:00
|
|
|
|
1997-04-29 22:34:47 +08:00
|
|
|
profiled:
|
2004-12-16 00:28:55 +08:00
|
|
|
@PROFILE_CMT@ @echo " MKDIR $@"
|
|
|
|
@PROFILE_CMT@ @mkdir profiled
|
1997-04-29 22:34:47 +08:00
|
|
|
|
1997-10-15 10:47:20 +08:00
|
|
|
e2fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.8.in
|
2004-11-30 23:52:27 +08:00
|
|
|
@echo " SUBST $@"
|
|
|
|
@$(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.8.in e2fsck.8
|
1997-04-26 21:58:21 +08:00
|
|
|
|
2006-03-27 14:03:11 +08:00
|
|
|
e2fsck.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.conf.5.in
|
|
|
|
@echo " SUBST $@"
|
|
|
|
@$(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.conf.5.in e2fsck.conf.5
|
|
|
|
|
1997-04-26 21:58:21 +08:00
|
|
|
installdirs:
|
2004-12-16 00:28:55 +08:00
|
|
|
@echo " MKINSTALLDIRS $(root_sbindir) $(man8dir)"
|
|
|
|
@$(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
|
2006-03-27 14:03:11 +08:00
|
|
|
$(DESTDIR)$(man8dir) $(DESTDIR)$(man5dir)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
2008-02-29 09:41:17 +08:00
|
|
|
install: $(PROGS) $(MANPAGES) $(FMANPAGES) installdirs
|
2004-12-16 00:28:55 +08:00
|
|
|
@for i in $(PROGS); do \
|
|
|
|
echo " INSTALL $(root_sbindir)/$$i"; \
|
1998-04-01 11:16:29 +08:00
|
|
|
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
|
1997-04-26 21:58:21 +08:00
|
|
|
done
|
2004-12-16 00:28:55 +08:00
|
|
|
@echo " LINK $(root_sbindir)/fsck.ext2"
|
|
|
|
@$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
|
1998-04-01 11:16:29 +08:00
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext2
|
2004-12-16 00:28:55 +08:00
|
|
|
@echo " LINK $(root_sbindir)/fsck.ext3"
|
|
|
|
@$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
|
2000-05-19 10:38:14 +08:00
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext3
|
2008-05-15 06:23:47 +08:00
|
|
|
@echo " LINK $(root_sbindir)/fsck.ext4"
|
|
|
|
@$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
|
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext4
|
|
|
|
@echo " LINK $(root_sbindir)/fsck.ext4dev"
|
|
|
|
@$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
|
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext4dev
|
2004-12-16 00:28:55 +08:00
|
|
|
@for i in $(MANPAGES); do \
|
2002-10-31 16:32:34 +08:00
|
|
|
for j in $(COMPRESS_EXT); do \
|
|
|
|
$(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
|
|
|
|
done; \
|
2004-12-16 00:28:55 +08:00
|
|
|
echo " INSTALL_DATA $(man8dir)/$$i"; \
|
1997-04-26 22:37:06 +08:00
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
|
1997-04-26 21:58:21 +08:00
|
|
|
done
|
2006-03-27 14:03:11 +08:00
|
|
|
@for i in $(FMANPAGES); do \
|
|
|
|
for j in $(COMPRESS_EXT); do \
|
|
|
|
$(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
|
|
|
|
done; \
|
|
|
|
echo " INSTALL_DATA $(man5dir)/$$i"; \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
|
|
|
|
done
|
2004-12-16 00:28:55 +08:00
|
|
|
@echo " LINK $(man8dir)/fsck.ext2.8"
|
|
|
|
@$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
|
|
|
|
$(DESTDIR)$(man8dir)/fsck.ext2.8
|
|
|
|
@echo " LINK $(man8dir)/fsck.ext3.8"
|
|
|
|
@$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
|
|
|
|
$(DESTDIR)$(man8dir)/fsck.ext3.8
|
2008-05-15 06:23:47 +08:00
|
|
|
@echo " LINK $(man8dir)/fsck.ext4.8"
|
|
|
|
@$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
|
|
|
|
$(DESTDIR)$(man8dir)/fsck.ext4.8
|
|
|
|
@echo " LINK $(man8dir)/fsck.ext4.8"
|
|
|
|
@$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
|
|
|
|
$(DESTDIR)$(man8dir)/fsck.ext4dev.8
|
2004-12-16 00:28:55 +08:00
|
|
|
|
|
|
|
install-strip: install
|
|
|
|
@for i in $(PROGS); do \
|
|
|
|
echo " STRIP $(root_sbindir)/$$i"; \
|
|
|
|
$(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
|
|
|
|
done
|
1997-04-26 22:37:06 +08:00
|
|
|
|
1997-04-26 21:58:21 +08:00
|
|
|
uninstall:
|
1997-04-30 00:15:03 +08:00
|
|
|
for i in $(PROGS); do \
|
1998-04-01 11:16:29 +08:00
|
|
|
$(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
|
1997-04-30 00:15:03 +08:00
|
|
|
done
|
2000-05-19 10:38:14 +08:00
|
|
|
$(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
|
2008-05-15 06:23:47 +08:00
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext3 \
|
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext4 \
|
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext4dev
|
1997-04-26 21:58:21 +08:00
|
|
|
for i in $(MANPAGES); do \
|
1998-04-01 11:16:29 +08:00
|
|
|
$(RM) -f $(DESTDIR)$(man8dir)/$$i; \
|
1997-04-26 21:58:21 +08:00
|
|
|
done
|
2006-03-27 14:03:11 +08:00
|
|
|
for i in $(FMANPAGES); do \
|
|
|
|
$(RM) -f $(DESTDIR)$(man5dir)/$$i; \
|
|
|
|
done
|
2002-02-24 16:08:57 +08:00
|
|
|
$(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
|
2008-05-15 06:23:47 +08:00
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext3 \
|
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext4 \
|
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext4dev
|
1997-04-26 21:58:21 +08:00
|
|
|
|
|
|
|
clean:
|
1997-04-29 22:34:47 +08:00
|
|
|
$(RM) -f $(PROGS) \#* *\# *.s *.o *.a *~ core e2fsck.static \
|
2008-05-24 10:02:05 +08:00
|
|
|
e2fsck.shared e2fsck.profiled flushb e2fsck.8 \
|
|
|
|
tst_crc32 tst_region tst_refcount gen_crc32table \
|
|
|
|
crc32table.h e2fsck.conf.5 prof_err.c prof_err.h \
|
|
|
|
test_profile
|
1997-04-29 22:34:47 +08:00
|
|
|
$(RM) -rf profiled
|
|
|
|
|
1997-04-26 21:58:21 +08:00
|
|
|
mostlyclean: clean
|
|
|
|
distclean: clean
|
1999-11-20 02:42:30 +08:00
|
|
|
$(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
|
1997-04-26 21:58:21 +08:00
|
|
|
|
|
|
|
# +++ Dependency line eater +++
|
|
|
|
#
|
|
|
|
# Makefile dependencies follow. This must be the last section in
|
|
|
|
# the Makefile.in file
|
|
|
|
#
|
Many files:
Makefile.in: Update the make dependencies
problem.c, problem.h: Add the problem codes:
PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, PR_0_ORPHAN_ALREADY_CLEARED_BLOCK,
PR_0_ORPHAN_ILLEGAL_HEAD_INODE, PR_0_ORPHAN_ILLEGAL_INODE,
PR_0_ORPHAN_INODE_INUSE
super.c (release_inode_blocks, release_orphan_inodes,
check_super_block): Add support for clearing orphaned inodes from the
unmounted filesystem.
journal.c (e2fsck_recover_ext3_journal): Remove the last orphan check;
this is now handled in check_super_block --- non-journaled filesystems
can use the orphan list in the future. Also, move the the re-opening
of the filesystem to e2fsck_run_ext3_journal().
debugfs.c:
debugfs.c (finish_range): Make sure the pager FILE pointer to use.
configure, configure.in, ChangeLog:
configure.in (JFS_DEBUG): Add support for --enable-jfs-debug
2000-08-18 23:08:37 +08:00
|
|
|
e2fsck.o: $(srcdir)/e2fsck.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
|
2008-05-24 10:02:05 +08:00
|
|
|
crc32.o: $(srcdir)/crc32.c $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
|
|
|
$(srcdir)/profile.h prof_err.h $(srcdir)/crc32defs.h crc32table.h
|
|
|
|
gen_crc32table.o: $(srcdir)/gen_crc32table.c $(srcdir)/crc32defs.h
|
2002-08-31 15:00:33 +08:00
|
|
|
dict.o: $(srcdir)/dict.c $(srcdir)/dict.h
|
1997-11-04 03:42:40 +08:00
|
|
|
super.o: $(srcdir)/super.c $(top_srcdir)/lib/uuid/uuid.h $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
|
Many files:
Makefile.in: Update the make dependencies
problem.c, problem.h: Add the problem codes:
PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, PR_0_ORPHAN_ALREADY_CLEARED_BLOCK,
PR_0_ORPHAN_ILLEGAL_HEAD_INODE, PR_0_ORPHAN_ILLEGAL_INODE,
PR_0_ORPHAN_INODE_INUSE
super.c (release_inode_blocks, release_orphan_inodes,
check_super_block): Add support for clearing orphaned inodes from the
unmounted filesystem.
journal.c (e2fsck_recover_ext3_journal): Remove the last orphan check;
this is now handled in check_super_block --- non-journaled filesystems
can use the orphan list in the future. Also, move the the re-opening
of the filesystem to e2fsck_run_ext3_journal().
debugfs.c:
debugfs.c (finish_range): Make sure the pager FILE pointer to use.
configure, configure.in, ChangeLog:
configure.in (JFS_DEBUG): Add support for --enable-jfs-debug
2000-08-18 23:08:37 +08:00
|
|
|
pass1.o: $(srcdir)/pass1.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
|
1997-04-30 05:26:48 +08:00
|
|
|
pass1b.o: $(srcdir)/pass1b.c $(top_srcdir)/lib/et/com_err.h \
|
Many files:
badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c, lsattr.c,
mke2fs.c, mklost+found.c, tune2fs.c, util.c: Change location of
ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, resize2fs.h:
resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, debugfs.h:
debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, e2fsck.h, scantest.c:
e2fsck.h, scantest.c: Change location of ext2_fs.h to be
ext2fs/ext2_fs.h
ChangeLog, Makefile.in, tst_uuid.c, uuid_time.c:
tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h
ChangeLog, Makefile.in, e2p.h:
e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, test_icount.c, test_rel.c:
test_icount.c, test_rel.c: Change location of ext2_fs.h to be
ext2fs/ext2_fs.h
2001-05-14 19:45:38 +08:00
|
|
|
$(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/dict.h
|
1998-12-04 00:40:38 +08:00
|
|
|
pass2.o: $(srcdir)/pass2.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/dict.h
|
1997-11-04 03:42:40 +08:00
|
|
|
pass3.o: $(srcdir)/pass3.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
|
1997-04-29 22:34:47 +08:00
|
|
|
pass4.o: $(srcdir)/pass4.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
|
1997-11-04 03:42:40 +08:00
|
|
|
pass5.o: $(srcdir)/pass5.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
|
2001-12-25 04:33:49 +08:00
|
|
|
journal.o: $(srcdir)/journal.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h \
|
|
|
|
$(srcdir)/problem.h $(top_srcdir)/lib/uuid/uuid.h
|
2001-12-25 04:33:49 +08:00
|
|
|
recovery.o: $(srcdir)/recovery.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h
|
2001-12-25 04:33:49 +08:00
|
|
|
revoke.o: $(srcdir)/revoke.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h
|
Many files:
Makefile.in: Update the make dependencies
problem.c, problem.h: Add the problem codes:
PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, PR_0_ORPHAN_ALREADY_CLEARED_BLOCK,
PR_0_ORPHAN_ILLEGAL_HEAD_INODE, PR_0_ORPHAN_ILLEGAL_INODE,
PR_0_ORPHAN_INODE_INUSE
super.c (release_inode_blocks, release_orphan_inodes,
check_super_block): Add support for clearing orphaned inodes from the
unmounted filesystem.
journal.c (e2fsck_recover_ext3_journal): Remove the last orphan check;
this is now handled in check_super_block --- non-journaled filesystems
can use the orphan list in the future. Also, move the the re-opening
of the filesystem to e2fsck_run_ext3_journal().
debugfs.c:
debugfs.c (finish_range): Make sure the pager FILE pointer to use.
configure, configure.in, ChangeLog:
configure.in (JFS_DEBUG): Add support for --enable-jfs-debug
2000-08-18 23:08:37 +08:00
|
|
|
badblocks.o: $(srcdir)/badblocks.c $(top_srcdir)/lib/et/com_err.h \
|
Many files:
badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c, lsattr.c,
mke2fs.c, mklost+found.c, tune2fs.c, util.c: Change location of
ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, resize2fs.h:
resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, debugfs.h:
debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, e2fsck.h, scantest.c:
e2fsck.h, scantest.c: Change location of ext2_fs.h to be
ext2fs/ext2_fs.h
ChangeLog, Makefile.in, tst_uuid.c, uuid_time.c:
tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h
ChangeLog, Makefile.in, e2p.h:
e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, test_icount.c, test_rel.c:
test_icount.c, test_rel.c: Change location of ext2_fs.h to be
ext2fs/ext2_fs.h
2001-05-14 19:45:38 +08:00
|
|
|
$(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
|
|
|
$(srcdir)/profile.h prof_err.h
|
Many files:
Makefile.in: Update the make dependencies
problem.c, problem.h: Add the problem codes:
PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, PR_0_ORPHAN_ALREADY_CLEARED_BLOCK,
PR_0_ORPHAN_ILLEGAL_HEAD_INODE, PR_0_ORPHAN_ILLEGAL_INODE,
PR_0_ORPHAN_INODE_INUSE
super.c (release_inode_blocks, release_orphan_inodes,
check_super_block): Add support for clearing orphaned inodes from the
unmounted filesystem.
journal.c (e2fsck_recover_ext3_journal): Remove the last orphan check;
this is now handled in check_super_block --- non-journaled filesystems
can use the orphan list in the future. Also, move the the re-opening
of the filesystem to e2fsck_run_ext3_journal().
debugfs.c:
debugfs.c (finish_range): Make sure the pager FILE pointer to use.
configure, configure.in, ChangeLog:
configure.in (JFS_DEBUG): Add support for --enable-jfs-debug
2000-08-18 23:08:37 +08:00
|
|
|
util.o: $(srcdir)/util.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
|
|
|
$(srcdir)/profile.h prof_err.h
|
2008-05-24 10:02:05 +08:00
|
|
|
unix.o: $(srcdir)/unix.c $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
|
|
|
$(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2003-03-17 09:21:16 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(top_srcdir)/version.h
|
Many files:
Makefile.in: Update the make dependencies
problem.c, problem.h: Add the problem codes:
PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, PR_0_ORPHAN_ALREADY_CLEARED_BLOCK,
PR_0_ORPHAN_ILLEGAL_HEAD_INODE, PR_0_ORPHAN_ILLEGAL_INODE,
PR_0_ORPHAN_INODE_INUSE
super.c (release_inode_blocks, release_orphan_inodes,
check_super_block): Add support for clearing orphaned inodes from the
unmounted filesystem.
journal.c (e2fsck_recover_ext3_journal): Remove the last orphan check;
this is now handled in check_super_block --- non-journaled filesystems
can use the orphan list in the future. Also, move the the re-opening
of the filesystem to e2fsck_run_ext3_journal().
debugfs.c:
debugfs.c (finish_range): Make sure the pager FILE pointer to use.
configure, configure.in, ChangeLog:
configure.in (JFS_DEBUG): Add support for --enable-jfs-debug
2000-08-18 23:08:37 +08:00
|
|
|
dirinfo.o: $(srcdir)/dirinfo.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/uuid/uuid.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/tdb.h
|
2002-08-31 15:00:33 +08:00
|
|
|
dx_dirinfo.o: $(srcdir)/dx_dirinfo.c $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
|
|
|
$(srcdir)/profile.h prof_err.h
|
1997-04-30 05:26:48 +08:00
|
|
|
ehandler.o: $(srcdir)/ehandler.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
|
|
|
$(srcdir)/profile.h prof_err.h
|
1997-04-30 05:26:48 +08:00
|
|
|
problem.o: $(srcdir)/problem.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/problemP.h
|
2001-06-14 05:40:58 +08:00
|
|
|
message.o: $(srcdir)/message.c $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
|
2001-07-20 04:31:25 +08:00
|
|
|
ea_refcount.o: $(srcdir)/ea_refcount.c $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
|
|
|
$(srcdir)/profile.h prof_err.h
|
2002-08-31 15:00:33 +08:00
|
|
|
rehash.o: $(srcdir)/rehash.c $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
|
2001-07-20 04:31:25 +08:00
|
|
|
region.o: $(srcdir)/region.c $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
2005-05-06 21:37:58 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2008-05-24 10:02:05 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
2005-12-31 12:57:32 +08:00
|
|
|
$(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
|
|
|
|
$(srcdir)/profile.h prof_err.h
|
2008-05-24 10:02:05 +08:00
|
|
|
profile.o: $(srcdir)/profile.c $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(srcdir)/profile.h prof_err.h
|
2005-12-31 12:57:32 +08:00
|
|
|
prof_err.o: prof_err.c
|