Home | History | Annotate | Download | only in e2fsck
      1 #
      2 # Makefile for e2fsck
      3 #
      4 
      5 srcdir = @srcdir@
      6 top_srcdir = @top_srcdir@
      7 VPATH = @srcdir@
      8 top_builddir = ..
      9 my_dir = e2fsck
     10 INSTALL = @INSTALL@
     11 
     12 @MCONFIG@
     13 
     14 PROGS=		e2fsck
     15 MANPAGES=	e2fsck.8
     16 FMANPAGES=	e2fsck.conf.5
     17 
     18 LIBS= $(LIBSUPPORT) $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBBLKID) $(LIBUUID) \
     19 	$(LIBINTL) $(LIBE2P) $(LIBMAGIC) $(SYSLIBS)
     20 DEPLIBS= $(DEPLIBSUPPORT) $(LIBEXT2FS) $(DEPLIBCOM_ERR) $(DEPLIBBLKID) \
     21 	 $(DEPLIBUUID) $(DEPLIBE2P)
     22 
     23 STATIC_LIBS= $(STATIC_LIBSUPPORT) $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) \
     24 	     $(STATIC_LIBBLKID) $(STATIC_LIBUUID) $(LIBINTL) $(STATIC_LIBE2P) \
     25 	     $(LIBMAGIC) $(SYSLIBS)
     26 STATIC_DEPLIBS= $(DEPSTATIC_LIBSUPPORT) $(STATIC_LIBEXT2FS) \
     27 		$(DEPSTATIC_LIBCOM_ERR) $(DEPSTATIC_LIBBLKID) \
     28 		$(DEPSTATIC_LIBUUID) $(DEPSTATIC_LIBE2P)
     29 
     30 PROFILED_LIBS= $(PROFILED_LIBSUPPORT) $(PROFILED_LIBEXT2FS) \
     31 	       $(PROFILED_LIBCOM_ERR) $(PROFILED_LIBBLKID) $(PROFILED_LIBUUID) \
     32 	       $(PROFILED_LIBE2P) $(LIBINTL) $(LIBMAGIC) $(SYSLIBS)
     33 PROFILED_DEPLIBS= $(DEPPROFILED_LIBSUPPORT) $(PROFILED_LIBEXT2FS) \
     34 		  $(DEPPROFILED_LIBCOM_ERR) $(DEPPROFILED_LIBBLKID) \
     35 		  $(DEPPROFILED_LIBUUID) $(DEPPROFILED_LIBE2P)
     36 
     37 COMPILE_ET=	_ET_DIR_OVERRIDE=$(srcdir)/../lib/et/et ../lib/et/compile_et
     38 
     39 .c.o:
     40 	$(E) "	CC $<"
     41 	$(Q) $(CC) -c $(ALL_CFLAGS) $< -o $@
     42 	$(Q) $(CHECK_CMD) $(ALL_CFLAGS) $<
     43 	$(Q) $(CPPCHECK_CMD) $(CPPFLAGS) $<
     44 @PROFILE_CMT@	$(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
     45 
     46 #
     47 # Flags for doing mtrace --- uncomment to produce mtracing e2fsck
     48 # 	Note:  The optimization flags must include -g
     49 #
     50 #MTRACE=	-DMTRACE
     51 #MTRACE_OBJ= mtrace.o
     52 #MTRACE_SRC= $(srcdir)/mtrace.c
     53 #OPT= -g
     54 
     55 #
     56 # Flags for doing mcheck --- uncomment to produce mchecking e2fsck
     57 # 	Note:  The optimization flags must include -g
     58 #
     59 #MCHECK= -DMCHECK
     60 
     61 OBJS= unix.o e2fsck.o super.o pass1.o pass1b.o pass2.o \
     62 	pass3.o pass4.o pass5.o journal.o badblocks.o util.o dirinfo.o \
     63 	dx_dirinfo.o ehandler.o problem.o message.o quota.o recovery.o \
     64 	region.o revoke.o ea_refcount.o rehash.o \
     65 	logfile.o sigcatcher.o $(MTRACE_OBJ) readahead.o \
     66 	extents.o
     67 
     68 PROFILED_OBJS= profiled/unix.o profiled/e2fsck.o \
     69 	profiled/super.o profiled/pass1.o profiled/pass1b.o \
     70 	profiled/pass2.o profiled/pass3.o profiled/pass4.o profiled/pass5.o \
     71 	profiled/journal.o profiled/badblocks.o profiled/util.o \
     72 	profiled/dirinfo.o profiled/dx_dirinfo.o profiled/ehandler.o \
     73 	profiled/message.o profiled/problem.o profiled/quota.o \
     74 	profiled/recovery.o profiled/region.o profiled/revoke.o \
     75 	profiled/ea_refcount.o profiled/rehash.o \
     76 	profiled/logfile.o profiled/sigcatcher.o \
     77 	profiled/readahead.o profiled/extents.o
     78 
     79 SRCS= $(srcdir)/e2fsck.c \
     80 	$(srcdir)/super.c \
     81 	$(srcdir)/pass1.c \
     82 	$(srcdir)/pass1b.c \
     83 	$(srcdir)/pass2.c \
     84 	$(srcdir)/pass3.c \
     85 	$(srcdir)/pass4.c \
     86 	$(srcdir)/pass5.c \
     87 	$(srcdir)/journal.c \
     88 	$(srcdir)/recovery.c \
     89 	$(srcdir)/revoke.c \
     90 	$(srcdir)/badblocks.c \
     91 	$(srcdir)/util.c \
     92 	$(srcdir)/unix.c \
     93 	$(srcdir)/dirinfo.c \
     94 	$(srcdir)/dx_dirinfo.c \
     95 	$(srcdir)/ehandler.c \
     96 	$(srcdir)/problem.c \
     97 	$(srcdir)/message.c \
     98 	$(srcdir)/ea_refcount.c \
     99 	$(srcdir)/rehash.c \
    100 	$(srcdir)/readahead.c \
    101 	$(srcdir)/region.c \
    102 	$(srcdir)/sigcatcher.c \
    103 	$(srcdir)/logfile.c \
    104 	$(srcdir)/quota.c \
    105 	$(srcdir)/extents.c \
    106 	$(MTRACE_SRC)
    107 
    108 all:: profiled $(PROGS) e2fsck $(MANPAGES) $(FMANPAGES)
    109 
    110 @PROFILE_CMT@all:: e2fsck.profiled
    111 
    112 e2fsck: $(OBJS)  $(DEPLIBS)
    113 	$(E) "	LD $@"
    114 	$(Q) $(LD) $(ALL_LDFLAGS) $(RDYNAMIC) -o e2fsck $(OBJS) $(LIBS) 
    115 
    116 e2fsck.static: $(OBJS) $(STATIC_DEPLIBS)
    117 	$(E) "	LD $@"
    118 	$(Q) $(LD) $(LDFLAGS_STATIC) -o e2fsck.static $(OBJS) $(STATIC_LIBS) 
    119 
    120 e2fsck.profiled: $(OBJS)  $(PROFILED_DEPLIBS)
    121 	$(E) "	LD $@"
    122 	$(Q) $(LD) $(ALL_LDFLAGS) -g -pg -o e2fsck.profiled $(PROFILED_OBJS) \
    123 		$(PROFILED_LIBS) 
    124 
    125 tst_sigcatcher: $(srcdir)/sigcatcher.c sigcatcher.o
    126 	$(E) "	CC $@"
    127 	$(Q) $(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(RDYNAMIC) \
    128 		$(srcdir)/sigcatcher.c -DDEBUG -o tst_sigcatcher
    129 
    130 tst_problem: $(srcdir)/problem.c $(srcdir)/problem.h $(LIBEXT2FS) \
    131 	$(DEPLIBCOM_ERR)
    132 	$(Q) $(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) -o tst_problem \
    133 		$(srcdir)/problem.c -DUNITTEST $(LIBEXT2FS) $(LIBCOM_ERR) \
    134 		$(LIBINTL) $(SYSLIBS)
    135 
    136 tst_refcount: ea_refcount.c $(DEPLIBCOM_ERR)
    137 	$(E) "	LD $@"
    138 	$(Q) $(CC) -o tst_refcount $(srcdir)/ea_refcount.c \
    139 		$(ALL_CFLAGS) $(ALL_LDFLAGS) -DTEST_PROGRAM \
    140 		$(LIBCOM_ERR) $(LIBEXT2FS) $(SYSLIBS)
    141 
    142 tst_logfile: $(srcdir)/logfile.c
    143 	$(E) "	LD $@"
    144 	$(Q) $(CC) -o tst_logfile $(srcdir)/logfile.c \
    145 		$(ALL_CFLAGS) $(ALL_LDFLAGS) -DTEST_PROGRAM $(SYSLIBS)
    146 
    147 tst_region: region.c $(DEPLIBCOM_ERR)
    148 	$(E) "	LD $@"
    149 	$(Q) $(CC) -o tst_region $(srcdir)/region.c \
    150 		$(ALL_CFLAGS) $(ALL_LDFLAGS) -DTEST_PROGRAM \
    151 		$(LIBCOM_ERR) $(SYSLIBS)
    152 
    153 check:: tst_refcount tst_region tst_problem
    154 	$(TESTENV) ./tst_refcount
    155 	$(TESTENV) ./tst_region
    156 	$(TESTENV) ./tst_problem
    157 
    158 extend: extend.o
    159 	$(E) "	LD $@"
    160 	$(Q) $(LD) $(ALL_LDFLAGS) -o extend extend.o $(CHECKLIB)
    161 
    162 flushb: flushb.o
    163 	$(E) "	LD $@"
    164 	$(Q) $(LD) $(ALL_LDFLAGS) -o flushb flushb.o $(CHECKLIB)
    165 
    166 iscan: iscan.o util.o ehandler.o $(DEPLIBS)
    167 	$(E) "	LD $@"
    168 	$(Q) $(LD) $(ALL_LDFLAGS) -o iscan iscan.o util.o ehandler.o $(LIBS)
    169 
    170 test_profile: $(srcdir)/profile.c profile_helpers.o argv_parse.o \
    171 		prof_err.o profile.h $(DEPSTATIC_LIBCOM_ERR)
    172 	$(E) "	LD $@"
    173 	$(Q) $(CC) -o test_profile -DDEBUG_PROGRAM $(srcdir)/profile.c prof_err.o \
    174 		profile_helpers.o argv_parse.o $(STATIC_LIBCOM_ERR) \
    175 		$(ALL_CFLAGS)
    176 
    177 profiled:
    178 @PROFILE_CMT@	$(E) "	MKDIR $@"
    179 @PROFILE_CMT@	$(Q) mkdir profiled
    180 
    181 e2fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.8.in
    182 	$(E) "	SUBST $@"
    183 	$(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.8.in e2fsck.8
    184 
    185 e2fsck.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.conf.5.in
    186 	$(E) "	SUBST $@"
    187 	$(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.conf.5.in e2fsck.conf.5
    188 
    189 installdirs:
    190 	$(E) "	MKINSTALLDIRS $(root_sbindir) $(man8dir)"
    191 	$(Q) $(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
    192 		$(DESTDIR)$(man8dir) $(DESTDIR)$(man5dir)
    193 
    194 install: $(PROGS) $(MANPAGES) $(FMANPAGES) installdirs
    195 	$(Q) for i in $(PROGS); do \
    196 		$(ES) "	INSTALL $(root_sbindir)/$$i"; \
    197 		$(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
    198 	done
    199 	$(Q) for i in ext2 ext3 ext4 ext4dev; do \
    200 		$(ES) "	LINK $(root_sbindir)/fsck.$$i"; \
    201 		(cd $(DESTDIR)$(root_sbindir); \
    202 			$(LN) $(LINK_INSTALL_FLAGS) e2fsck fsck.$$i); \
    203 	done
    204 	$(Q) for i in $(MANPAGES); do \
    205 		for j in $(COMPRESS_EXT); do \
    206 			$(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
    207 		done; \
    208 		$(ES) "	INSTALL_DATA $(man8dir)/$$i"; \
    209 		$(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
    210 	done
    211 	$(Q) for i in $(FMANPAGES); do \
    212 		for j in $(COMPRESS_EXT); do \
    213 			$(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
    214 		done; \
    215 		$(ES) "	INSTALL_DATA $(man5dir)/$$i"; \
    216 		$(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
    217 	done
    218 	$(Q) for i in ext2 ext3 ext4 ext4dev; do \
    219 		$(ES) "	LINK $(man8dir)/fsck.$$i.8"; \
    220 		(cd $(DESTDIR)$(man8dir); \
    221 			$(LN) $(LINK_INSTALL_FLAGS) e2fsck.8 fsck.$$i.8); \
    222 	done
    223 
    224 install-strip: install
    225 	$(Q) for i in $(PROGS); do \
    226 		$(ES) "	STRIP $(root_sbindir)/$$i"; \
    227 		$(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
    228 	done
    229 
    230 uninstall:
    231 	for i in $(PROGS); do \
    232 		$(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
    233 	done
    234 	$(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
    235 		$(DESTDIR)$(root_sbindir)/fsck.ext3 \
    236 		$(DESTDIR)$(root_sbindir)/fsck.ext4 \
    237 		$(DESTDIR)$(root_sbindir)/fsck.ext4dev
    238 	for i in $(MANPAGES); do \
    239 		$(RM) -f $(DESTDIR)$(man8dir)/$$i; \
    240 	done
    241 	for i in $(FMANPAGES); do \
    242 		$(RM) -f $(DESTDIR)$(man5dir)/$$i; \
    243 	done
    244 	$(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
    245 			$(DESTDIR)$(root_sbindir)/fsck.ext3 \
    246 			$(DESTDIR)$(root_sbindir)/fsck.ext4 \
    247 			$(DESTDIR)$(root_sbindir)/fsck.ext4dev
    248 
    249 clean::
    250 	$(RM) -f $(PROGS) \#* *\# *.s *.o *.a *~ core e2fsck.static \
    251 		e2fsck.shared e2fsck.profiled flushb e2fsck.8 \
    252 		tst_problem tst_region tst_refcount tst_crc32 \
    253 		gen_crc32table e2fsck.conf.5 \
    254 		prof_err.c prof_err.h test_profile
    255 	$(RM) -rf profiled
    256 
    257 mostlyclean: clean
    258 distclean: clean
    259 	$(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
    260 
    261 # +++ Dependency line eater +++
    262 # 
    263 # Makefile dependencies follow.  This must be the last section in
    264 # the Makefile.in file
    265 #
    266 e2fsck.o: $(srcdir)/e2fsck.c $(top_builddir)/lib/config.h \
    267  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    268  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    269  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    270  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    271  $(top_builddir)/lib/ext2fs/ext2_err.h \
    272  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    273  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    274  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    275  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
    276 super.o: $(srcdir)/super.c $(top_builddir)/lib/config.h \
    277  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    278  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    279  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    280  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    281  $(top_builddir)/lib/ext2fs/ext2_err.h \
    282  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    283  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    284  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    285  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
    286 pass1.o: $(srcdir)/pass1.c $(top_builddir)/lib/config.h \
    287  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    288  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    289  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    290  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    291  $(top_builddir)/lib/ext2fs/ext2_err.h \
    292  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    293  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    294  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    295  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
    296 pass1b.o: $(srcdir)/pass1b.c $(top_builddir)/lib/config.h \
    297  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/et/com_err.h \
    298  $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    299  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
    300  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    301  $(top_builddir)/lib/ext2fs/ext2_err.h \
    302  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    303  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    304  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    305  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h \
    306  $(top_srcdir)/lib/support/dict.h
    307 pass2.o: $(srcdir)/pass2.c $(top_builddir)/lib/config.h \
    308  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    309  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    310  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    311  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    312  $(top_builddir)/lib/ext2fs/ext2_err.h \
    313  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    314  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    315  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    316  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h \
    317  $(top_srcdir)/lib/support/dict.h
    318 pass3.o: $(srcdir)/pass3.c $(top_builddir)/lib/config.h \
    319  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    320  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    321  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    322  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    323  $(top_builddir)/lib/ext2fs/ext2_err.h \
    324  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    325  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    326  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    327  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
    328 pass4.o: $(srcdir)/pass4.c $(top_builddir)/lib/config.h \
    329  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    330  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    331  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    332  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    333  $(top_builddir)/lib/ext2fs/ext2_err.h \
    334  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    335  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    336  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    337  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
    338 pass5.o: $(srcdir)/pass5.c $(top_builddir)/lib/config.h \
    339  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    340  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    341  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    342  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    343  $(top_builddir)/lib/ext2fs/ext2_err.h \
    344  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    345  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    346  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    347  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
    348 journal.o: $(srcdir)/journal.c $(top_builddir)/lib/config.h \
    349  $(top_builddir)/lib/dirpaths.h $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
    350  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    351  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    352  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    353  $(top_builddir)/lib/ext2fs/ext2_err.h \
    354  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    355  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    356  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    357  $(top_srcdir)/lib/support/quotaio_tree.h \
    358  $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
    359  $(top_srcdir)/lib/ext2fs/kernel-list.h $(srcdir)/problem.h
    360 recovery.o: $(srcdir)/recovery.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
    361  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    362  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    363  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    364  $(top_builddir)/lib/ext2fs/ext2_err.h \
    365  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    366  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    367  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    368  $(top_srcdir)/lib/support/quotaio_tree.h \
    369  $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
    370  $(top_srcdir)/lib/ext2fs/kernel-list.h
    371 revoke.o: $(srcdir)/revoke.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
    372  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    373  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    374  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    375  $(top_builddir)/lib/ext2fs/ext2_err.h \
    376  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    377  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    378  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    379  $(top_srcdir)/lib/support/quotaio_tree.h \
    380  $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
    381  $(top_srcdir)/lib/ext2fs/kernel-list.h
    382 badblocks.o: $(srcdir)/badblocks.c $(top_builddir)/lib/config.h \
    383  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/et/com_err.h \
    384  $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    385  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
    386  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    387  $(top_builddir)/lib/ext2fs/ext2_err.h \
    388  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    389  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    390  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    391  $(top_srcdir)/lib/support/quotaio_tree.h
    392 util.o: $(srcdir)/util.c $(top_builddir)/lib/config.h \
    393  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    394  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    395  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    396  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    397  $(top_builddir)/lib/ext2fs/ext2_err.h \
    398  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    399  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    400  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    401  $(top_srcdir)/lib/support/quotaio_tree.h
    402 unix.o: $(srcdir)/unix.c $(top_builddir)/lib/config.h \
    403  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/e2p/e2p.h \
    404  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    405  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/support/plausible.h \
    406  $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
    407  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    408  $(top_builddir)/lib/ext2fs/ext2_err.h \
    409  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    410  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    411  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    412  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h \
    413  $(top_srcdir)/version.h
    414 dirinfo.o: $(srcdir)/dirinfo.c $(top_builddir)/lib/config.h \
    415  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    416  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    417  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    418  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    419  $(top_builddir)/lib/ext2fs/ext2_err.h \
    420  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    421  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    422  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    423  $(top_srcdir)/lib/support/quotaio_tree.h $(top_srcdir)/lib/ext2fs/tdb.h
    424 dx_dirinfo.o: $(srcdir)/dx_dirinfo.c $(top_builddir)/lib/config.h \
    425  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    426  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    427  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    428  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    429  $(top_builddir)/lib/ext2fs/ext2_err.h \
    430  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    431  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    432  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    433  $(top_srcdir)/lib/support/quotaio_tree.h
    434 ehandler.o: $(srcdir)/ehandler.c $(top_builddir)/lib/config.h \
    435  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    436  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    437  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    438  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    439  $(top_builddir)/lib/ext2fs/ext2_err.h \
    440  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    441  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    442  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    443  $(top_srcdir)/lib/support/quotaio_tree.h
    444 problem.o: $(srcdir)/problem.c $(top_builddir)/lib/config.h \
    445  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    446  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    447  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    448  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    449  $(top_builddir)/lib/ext2fs/ext2_err.h \
    450  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    451  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    452  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    453  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h \
    454  $(srcdir)/problemP.h
    455 message.o: $(srcdir)/message.c $(top_builddir)/lib/config.h \
    456  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    457  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    458  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    459  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    460  $(top_builddir)/lib/ext2fs/ext2_err.h \
    461  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    462  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    463  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    464  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
    465 ea_refcount.o: $(srcdir)/ea_refcount.c $(top_builddir)/lib/config.h \
    466  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    467  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    468  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    469  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    470  $(top_builddir)/lib/ext2fs/ext2_err.h \
    471  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    472  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    473  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    474  $(top_srcdir)/lib/support/quotaio_tree.h
    475 rehash.o: $(srcdir)/rehash.c $(top_builddir)/lib/config.h \
    476  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    477  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    478  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    479  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    480  $(top_builddir)/lib/ext2fs/ext2_err.h \
    481  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    482  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    483  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    484  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
    485 readahead.o: $(srcdir)/readahead.c $(top_builddir)/lib/config.h \
    486  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    487  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    488  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    489  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    490  $(top_builddir)/lib/ext2fs/ext2_err.h \
    491  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    492  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    493  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    494  $(top_srcdir)/lib/support/quotaio_tree.h
    495 region.o: $(srcdir)/region.c $(top_builddir)/lib/config.h \
    496  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    497  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    498  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    499  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    500  $(top_builddir)/lib/ext2fs/ext2_err.h \
    501  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    502  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    503  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    504  $(top_srcdir)/lib/support/quotaio_tree.h
    505 sigcatcher.o: $(srcdir)/sigcatcher.c $(top_builddir)/lib/config.h \
    506  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    507  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    508  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    509  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    510  $(top_builddir)/lib/ext2fs/ext2_err.h \
    511  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    512  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    513  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    514  $(top_srcdir)/lib/support/quotaio_tree.h
    515 logfile.o: $(srcdir)/logfile.c $(top_builddir)/lib/config.h \
    516  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    517  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    518  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    519  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    520  $(top_builddir)/lib/ext2fs/ext2_err.h \
    521  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    522  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    523  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    524  $(top_srcdir)/lib/support/quotaio_tree.h
    525 quota.o: $(srcdir)/quota.c $(top_builddir)/lib/config.h \
    526  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    527  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    528  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    529  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    530  $(top_builddir)/lib/ext2fs/ext2_err.h \
    531  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    532  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    533  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    534  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
    535 extents.o: $(srcdir)/extents.c $(top_builddir)/lib/config.h \
    536  $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
    537  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    538  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    539  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    540  $(top_builddir)/lib/ext2fs/ext2_err.h \
    541  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    542  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
    543  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
    544  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
    545