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 XTRA_CFLAGS=	-DRESOURCE_TRACK -I.
     18 
     19 LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBBLKID) $(LIBUUID) $(LIBINTL) $(LIBE2P)
     20 DEPLIBS= $(LIBEXT2FS) $(DEPLIBCOM_ERR) $(DEPLIBBLKID) $(DEPLIBUUID) \
     21 	$(DEPLIBE2P)
     22 
     23 STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(STATIC_LIBBLKID) \
     24 	$(STATIC_LIBUUID) $(LIBINTL) $(STATIC_LIBE2P)
     25 STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(DEPSTATIC_LIBCOM_ERR) \
     26 	$(DEPSTATIC_LIBBLKID) $(DEPSTATIC_LIBUUID) $(DEPSTATIC_LIBE2P)
     27 
     28 PROFILED_LIBS= $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR) \
     29 	$(PROFILED_LIBBLKID) $(PROFILED_LIBUUID) $(PROFILED_LIBE2P) $(LIBINTL)
     30 PROFILED_DEPLIBS= $(PROFILED_LIBEXT2FS) $(DEPPROFILED_LIBCOM_ERR) \
     31 	$(DEPPROFILED_LIBBLKID) $(DEPPROFILED_LIBUUID) $(DEPPROFILED_LIBE2P)
     32 
     33 COMPILE_ET=$(top_builddir)/lib/et/compile_et --build-tree
     34 
     35 .c.o:
     36 	$(E) "	CC $<"
     37 	$(Q) $(CC) -c $(ALL_CFLAGS) $< -o $@
     38 @PROFILE_CMT@	$(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
     39 
     40 #
     41 # Flags for using Checker
     42 #	Note: The optimization flags must include -g
     43 #
     44 #MCHECK=	-checker
     45 #LIBS= $(LIBCOM_ERR) $(LIB_EXT2FS) $(CHECKLIB)
     46 #DEPLIBS= $(LIBCOM_ERR) $(LIB_EXT2FS) 
     47 #CHECKLIB= /usr/lib/libchecker.o
     48 
     49 #
     50 # Flags for doing mtrace --- uncomment to produce mtracing e2fsck
     51 # 	Note:  The optimization flags must include -g
     52 #
     53 #MTRACE=	-DMTRACE
     54 #MTRACE_OBJ= mtrace.o
     55 #MTRACE_SRC= $(srcdir)/mtrace.c
     56 #OPT= -g
     57 
     58 #
     59 # Flags for doing mcheck --- uncomment to produce mchecking e2fsck
     60 # 	Note:  The optimization flags must include -g
     61 #
     62 #MCHECK= -DMCHECK
     63 
     64 OBJS= crc32.o dict.o unix.o e2fsck.o super.o pass1.o pass1b.o pass2.o \
     65 	pass3.o pass4.o pass5.o journal.o badblocks.o util.o dirinfo.o \
     66 	dx_dirinfo.o ehandler.o problem.o message.o recovery.o region.o \
     67 	revoke.o ea_refcount.o rehash.o profile.o prof_err.o $(MTRACE_OBJ)
     68 
     69 PROFILED_OBJS= profiled/dict.o profiled/unix.o profiled/e2fsck.o \
     70 	profiled/super.o profiled/pass1.o profiled/pass1b.o \
     71 	profiled/pass2.o profiled/pass3.o profiled/pass4.o profiled/pass5.o \
     72 	profiled/journal.o profiled/badblocks.o profiled/util.o \
     73 	profiled/dirinfo.o profiled/dx_dirinfo.o profiled/ehandler.o \
     74 	profiled/message.o profiled/problem.o \
     75 	profiled/recovery.o profiled/region.o profiled/revoke.o \
     76 	profiled/ea_refcount.o profiled/rehash.o profiled/profile.o \
     77 	profiled/crc32.o profiled/prof_err.o
     78 
     79 SRCS= $(srcdir)/e2fsck.c \
     80 	$(srcdir)/crc32.c \
     81 	$(srcdir)/gen_crc32table.c \
     82 	$(srcdir)/dict.c \
     83 	$(srcdir)/super.c \
     84 	$(srcdir)/pass1.c \
     85 	$(srcdir)/pass1b.c \
     86 	$(srcdir)/pass2.c \
     87 	$(srcdir)/pass3.c \
     88 	$(srcdir)/pass4.c \
     89 	$(srcdir)/pass5.c \
     90 	$(srcdir)/journal.c \
     91 	$(srcdir)/recovery.c \
     92 	$(srcdir)/revoke.c \
     93 	$(srcdir)/badblocks.c \
     94 	$(srcdir)/util.c \
     95 	$(srcdir)/unix.c \
     96 	$(srcdir)/dirinfo.c \
     97 	$(srcdir)/dx_dirinfo.c \
     98 	$(srcdir)/ehandler.c \
     99 	$(srcdir)/problem.c \
    100 	$(srcdir)/message.c \
    101 	$(srcdir)/ea_refcount.c \
    102 	$(srcdir)/rehash.c \
    103 	$(srcdir)/region.c \
    104 	$(srcdir)/profile.c \
    105 	prof_err.c \
    106 	$(MTRACE_SRC)
    107 
    108 all:: profiled $(PROGS) e2fsck $(MANPAGES) $(FMANPAGES)
    109 
    110 @PROFILE_CMT@all:: e2fsck.profiled
    111 
    112 prof_err.c prof_err.h: prof_err.et
    113 	$(E) "	COMPILE_ET prof_err.et"
    114 	$(Q) $(COMPILE_ET) $(srcdir)/prof_err.et
    115 
    116 e2fsck: $(OBJS)  $(DEPLIBS)
    117 	$(E) "	LD $@"
    118 	$(Q) $(LD) $(ALL_LDFLAGS) -o e2fsck $(OBJS) $(LIBS) 
    119 
    120 e2fsck.static: $(OBJS) $(STATIC_DEPLIBS)
    121 	$(E) "	LD $@"
    122 	$(Q) $(LD) $(LDFLAGS_STATIC) -o e2fsck.static $(OBJS) $(STATIC_LIBS) 
    123 
    124 e2fsck.profiled: $(PROFILED_OBJS)  $(PROFILED_DEPLIBS)
    125 	$(E) "	LD $@"
    126 	$(Q) $(LD) $(ALL_LDFLAGS) -g -pg -o e2fsck.profiled $(PROFILED_OBJS) \
    127 		$(PROFILED_LIBS) 
    128 
    129 gen_crc32table: $(srcdir)/gen_crc32table.c
    130 	$(E) "	CC $@"
    131 	$(Q) $(BUILD_CC) $(BUILD_CFLAGS) -o gen_crc32table \
    132 		$(srcdir)/gen_crc32table.c
    133 
    134 crc32table.h: gen_crc32table
    135 	$(E) "	GEN32TABLE $@"
    136 	$(Q) ./gen_crc32table > crc32table.h
    137 
    138 tst_problem: $(srcdir)/problem.c $(srcdir)/problem.h $(LIBEXT2FS) \
    139 	$(DEPLIBCOM_ERR)
    140 	$(Q) $(CC) $(BUILD_LDFLAGS) $(ALL_CFLAGS) -o tst_problem \
    141 		$(srcdir)/problem.c -DUNITTEST $(LIBEXT2FS) $(LIBCOM_ERR)
    142 
    143 tst_crc32: $(srcdir)/crc32.c $(LIBEXT2FS) $(DEPLIBCOM_ERR)
    144 	$(Q) $(CC) $(BUILD_LDFLAGS) $(ALL_CFLAGS) -o tst_crc32 $(srcdir)/crc32.c \
    145 		-DUNITTEST $(LIBEXT2FS) $(LIBCOM_ERR)
    146 
    147 tst_refcount: ea_refcount.c $(DEPLIBCOM_ERR)
    148 	$(E) "	LD $@"
    149 	$(Q) $(CC) -o tst_refcount $(srcdir)/ea_refcount.c \
    150 		$(ALL_CFLAGS) -DTEST_PROGRAM $(LIBCOM_ERR) $(LIBEXT2FS) 
    151 
    152 tst_region: region.c $(DEPLIBCOM_ERR)
    153 	$(E) "	LD $@"
    154 	$(Q) $(CC) -o tst_region $(srcdir)/region.c \
    155 		$(ALL_CFLAGS) -DTEST_PROGRAM $(LIBCOM_ERR)
    156 
    157 check:: tst_refcount tst_region tst_crc32 tst_problem
    158 	LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_refcount
    159 	LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_region
    160 	LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_crc32
    161 	LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_problem
    162 
    163 extend: extend.o
    164 	$(E) "	LD $@"
    165 	$(Q) $(LD) $(ALL_LDFLAGS) -o extend extend.o $(CHECKLIB)
    166 
    167 flushb: flushb.o
    168 	$(E) "	LD $@"
    169 	$(Q) $(LD) $(ALL_LDFLAGS) -o flushb flushb.o $(CHECKLIB)
    170 
    171 iscan: iscan.o util.o ehandler.o $(DEPLIBS)
    172 	$(E) "	LD $@"
    173 	$(Q) $(LD) $(ALL_LDFLAGS) -o iscan iscan.o util.o ehandler.o $(LIBS)
    174 
    175 test_profile: $(srcdir)/profile.c profile_helpers.o argv_parse.o \
    176 		prof_err.o profile.h $(DEPSTATIC_LIBCOM_ERR)
    177 	$(E) "	LD $@"
    178 	$(Q) $(CC) -o test_profile -DDEBUG_PROGRAM $(srcdir)/profile.c prof_err.o \
    179 		profile_helpers.o argv_parse.o $(STATIC_LIBCOM_ERR) \
    180 		$(ALL_CFLAGS)
    181 
    182 profiled:
    183 @PROFILE_CMT@	$(E) "	MKDIR $@"
    184 @PROFILE_CMT@	$(Q) mkdir profiled
    185 
    186 e2fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.8.in
    187 	$(E) "	SUBST $@"
    188 	$(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.8.in e2fsck.8
    189 
    190 e2fsck.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.conf.5.in
    191 	$(E) "	SUBST $@"
    192 	$(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.conf.5.in e2fsck.conf.5
    193 
    194 installdirs:
    195 	$(E) "	MKINSTALLDIRS $(root_sbindir) $(man8dir)"
    196 	$(Q) $(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
    197 		$(DESTDIR)$(man8dir) $(DESTDIR)$(man5dir)
    198 
    199 install: $(PROGS) $(MANPAGES) $(FMANPAGES) installdirs
    200 	$(Q) for i in $(PROGS); do \
    201 		echo "	INSTALL $(root_sbindir)/$$i"; \
    202 		$(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
    203 	done
    204 	$(Q) for i in ext2 ext3 ext4 ext4dev; do \
    205 		echo "	LINK $(root_sbindir)/fsck.$$i"; \
    206 		(cd $(DESTDIR)$(root_sbindir); \
    207 			$(LN) $(LINK_INSTALL_FLAGS) e2fsck fsck.$$i); \
    208 	done
    209 	$(Q) for i in $(MANPAGES); do \
    210 		for j in $(COMPRESS_EXT); do \
    211 			$(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
    212 		done; \
    213 		echo "	INSTALL_DATA $(man8dir)/$$i"; \
    214 		$(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
    215 	done
    216 	$(Q) for i in $(FMANPAGES); do \
    217 		for j in $(COMPRESS_EXT); do \
    218 			$(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
    219 		done; \
    220 		echo "	INSTALL_DATA $(man5dir)/$$i"; \
    221 		$(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
    222 	done
    223 	$(Q) for i in ext2 ext3 ext4 ext4dev; do \
    224 		echo "	LINK $(man8dir)/fsck.$$i.8"; \
    225 		(cd $(DESTDIR)$(man8dir); \
    226 			$(LN) $(LINK_INSTALL_FLAGS) e2fsck.8 fsck.$$i.8); \
    227 	done
    228 
    229 install-strip: install
    230 	$(Q) for i in $(PROGS); do \
    231 		echo "	STRIP $(root_sbindir)/$$i"; \
    232 		$(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
    233 	done
    234 
    235 uninstall:
    236 	for i in $(PROGS); do \
    237 		$(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
    238 	done
    239 	$(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
    240 		$(DESTDIR)$(root_sbindir)/fsck.ext3 \
    241 		$(DESTDIR)$(root_sbindir)/fsck.ext4 \
    242 		$(DESTDIR)$(root_sbindir)/fsck.ext4dev
    243 	for i in $(MANPAGES); do \
    244 		$(RM) -f $(DESTDIR)$(man8dir)/$$i; \
    245 	done
    246 	for i in $(FMANPAGES); do \
    247 		$(RM) -f $(DESTDIR)$(man5dir)/$$i; \
    248 	done
    249 	$(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
    250 			$(DESTDIR)$(root_sbindir)/fsck.ext3 \
    251 			$(DESTDIR)$(root_sbindir)/fsck.ext4 \
    252 			$(DESTDIR)$(root_sbindir)/fsck.ext4dev
    253 
    254 clean:
    255 	$(RM) -f $(PROGS) \#* *\# *.s *.o *.a *~ core e2fsck.static \
    256 		e2fsck.shared e2fsck.profiled flushb e2fsck.8 \
    257 		tst_problem tst_crc32 tst_region tst_refcount gen_crc32table \
    258 		crc32table.h e2fsck.conf.5 prof_err.c prof_err.h \
    259 		test_profile
    260 	$(RM) -rf profiled
    261 
    262 mostlyclean: clean
    263 distclean: clean
    264 	$(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
    265 
    266 # +++ Dependency line eater +++
    267 # 
    268 # Makefile dependencies follow.  This must be the last section in
    269 # the Makefile.in file
    270 #
    271 e2fsck.o: $(srcdir)/e2fsck.c $(srcdir)/e2fsck.h \
    272  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    273  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    274  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    275  $(top_builddir)/lib/ext2fs/ext2_err.h \
    276  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    277  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    278 crc32.o: $(srcdir)/crc32.c $(srcdir)/e2fsck.h \
    279  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    280  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    281  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    282  $(top_builddir)/lib/ext2fs/ext2_err.h \
    283  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    284  $(srcdir)/profile.h prof_err.h $(srcdir)/crc32defs.h crc32table.h
    285 gen_crc32table.o: $(srcdir)/gen_crc32table.c $(srcdir)/crc32defs.h
    286 dict.o: $(srcdir)/dict.c $(srcdir)/dict.h
    287 super.o: $(srcdir)/super.c $(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  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    294 pass1.o: $(srcdir)/pass1.c $(srcdir)/e2fsck.h \
    295  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    296  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    297  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    298  $(top_builddir)/lib/ext2fs/ext2_err.h \
    299  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    300  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    301 pass1b.o: $(srcdir)/pass1b.c $(top_srcdir)/lib/et/com_err.h \
    302  $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    303  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
    304  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    305  $(top_builddir)/lib/ext2fs/ext2_err.h \
    306  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    307  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/dict.h
    308 pass2.o: $(srcdir)/pass2.c $(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  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/dict.h
    315 pass3.o: $(srcdir)/pass3.c $(srcdir)/e2fsck.h \
    316  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    317  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    318  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    319  $(top_builddir)/lib/ext2fs/ext2_err.h \
    320  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    321  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    322 pass4.o: $(srcdir)/pass4.c $(srcdir)/e2fsck.h \
    323  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    324  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    325  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    326  $(top_builddir)/lib/ext2fs/ext2_err.h \
    327  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    328  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    329 pass5.o: $(srcdir)/pass5.c $(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  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    336 journal.o: $(srcdir)/journal.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
    337  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    338  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    339  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    340  $(top_builddir)/lib/ext2fs/ext2_err.h \
    341  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    342  $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
    343  $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h \
    344  $(srcdir)/problem.h
    345 recovery.o: $(srcdir)/recovery.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
    346  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    347  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    348  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    349  $(top_builddir)/lib/ext2fs/ext2_err.h \
    350  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    351  $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
    352  $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h
    353 revoke.o: $(srcdir)/revoke.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
    354  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    355  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    356  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    357  $(top_builddir)/lib/ext2fs/ext2_err.h \
    358  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    359  $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
    360  $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h
    361 badblocks.o: $(srcdir)/badblocks.c $(top_srcdir)/lib/et/com_err.h \
    362  $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    363  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
    364  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    365  $(top_builddir)/lib/ext2fs/ext2_err.h \
    366  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    367  $(srcdir)/profile.h prof_err.h
    368 util.o: $(srcdir)/util.c $(srcdir)/e2fsck.h \
    369  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    370  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    371  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    372  $(top_builddir)/lib/ext2fs/ext2_err.h \
    373  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    374  $(srcdir)/profile.h prof_err.h
    375 unix.o: $(srcdir)/unix.c $(top_srcdir)/lib/e2p/e2p.h \
    376  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    377  $(top_srcdir)/lib/et/com_err.h $(srcdir)/e2fsck.h \
    378  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    379  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
    380  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    381  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(top_srcdir)/version.h
    382 dirinfo.o: $(srcdir)/dirinfo.c $(srcdir)/e2fsck.h \
    383  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    384  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    385  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    386  $(top_builddir)/lib/ext2fs/ext2_err.h \
    387  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    388  $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/tdb.h
    389 dx_dirinfo.o: $(srcdir)/dx_dirinfo.c $(srcdir)/e2fsck.h \
    390  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    391  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    392  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    393  $(top_builddir)/lib/ext2fs/ext2_err.h \
    394  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    395  $(srcdir)/profile.h prof_err.h
    396 ehandler.o: $(srcdir)/ehandler.c $(srcdir)/e2fsck.h \
    397  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    398  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    399  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    400  $(top_builddir)/lib/ext2fs/ext2_err.h \
    401  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    402  $(srcdir)/profile.h prof_err.h
    403 problem.o: $(srcdir)/problem.c $(srcdir)/e2fsck.h \
    404  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    405  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    406  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    407  $(top_builddir)/lib/ext2fs/ext2_err.h \
    408  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    409  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/problemP.h
    410 message.o: $(srcdir)/message.c $(srcdir)/e2fsck.h \
    411  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    412  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    413  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    414  $(top_builddir)/lib/ext2fs/ext2_err.h \
    415  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    416  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    417 ea_refcount.o: $(srcdir)/ea_refcount.c $(srcdir)/e2fsck.h \
    418  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    419  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    420  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    421  $(top_builddir)/lib/ext2fs/ext2_err.h \
    422  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    423  $(srcdir)/profile.h prof_err.h
    424 rehash.o: $(srcdir)/rehash.c $(srcdir)/e2fsck.h \
    425  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    426  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    427  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    428  $(top_builddir)/lib/ext2fs/ext2_err.h \
    429  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    430  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    431 region.o: $(srcdir)/region.c $(srcdir)/e2fsck.h \
    432  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    433  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    434  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    435  $(top_builddir)/lib/ext2fs/ext2_err.h \
    436  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    437  $(srcdir)/profile.h prof_err.h
    438 profile.o: $(srcdir)/profile.c $(top_srcdir)/lib/et/com_err.h \
    439  $(srcdir)/profile.h prof_err.h
    440 prof_err.o: prof_err.c
    441