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 	$(E) "	LINK $(root_sbindir)/fsck.ext2"
    205 	$(Q) $(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
    206 			$(DESTDIR)$(root_sbindir)/fsck.ext2
    207 	$(E) "	LINK $(root_sbindir)/fsck.ext3"
    208 	$(Q) $(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
    209 			$(DESTDIR)$(root_sbindir)/fsck.ext3
    210 	$(E) "	LINK $(root_sbindir)/fsck.ext4"
    211 	$(Q) $(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
    212 			$(DESTDIR)$(root_sbindir)/fsck.ext4
    213 	$(E) "	LINK $(root_sbindir)/fsck.ext4dev"
    214 	$(Q) $(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
    215 			$(DESTDIR)$(root_sbindir)/fsck.ext4dev
    216 	$(Q) for i in $(MANPAGES); do \
    217 		for j in $(COMPRESS_EXT); do \
    218 			$(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
    219 		done; \
    220 		echo "	INSTALL_DATA $(man8dir)/$$i"; \
    221 		$(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
    222 	done
    223 	$(Q) for i in $(FMANPAGES); do \
    224 		for j in $(COMPRESS_EXT); do \
    225 			$(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
    226 		done; \
    227 		echo "	INSTALL_DATA $(man5dir)/$$i"; \
    228 		$(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
    229 	done
    230 	$(E) "	LINK $(man8dir)/fsck.ext2.8"
    231 	$(Q) $(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
    232 		$(DESTDIR)$(man8dir)/fsck.ext2.8
    233 	$(E) "	LINK $(man8dir)/fsck.ext3.8"
    234 	$(Q) $(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
    235 		$(DESTDIR)$(man8dir)/fsck.ext3.8
    236 	$(E) "	LINK $(man8dir)/fsck.ext4.8"
    237 	$(Q) $(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
    238 		$(DESTDIR)$(man8dir)/fsck.ext4.8
    239 	$(E) "	LINK $(man8dir)/fsck.ext4.8"
    240 	$(Q) $(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
    241 		$(DESTDIR)$(man8dir)/fsck.ext4dev.8
    242 
    243 install-strip: install
    244 	$(Q) for i in $(PROGS); do \
    245 		echo "	STRIP $(root_sbindir)/$$i"; \
    246 		$(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
    247 	done
    248 
    249 uninstall:
    250 	for i in $(PROGS); do \
    251 		$(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
    252 	done
    253 	$(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
    254 		$(DESTDIR)$(root_sbindir)/fsck.ext3 \
    255 		$(DESTDIR)$(root_sbindir)/fsck.ext4 \
    256 		$(DESTDIR)$(root_sbindir)/fsck.ext4dev
    257 	for i in $(MANPAGES); do \
    258 		$(RM) -f $(DESTDIR)$(man8dir)/$$i; \
    259 	done
    260 	for i in $(FMANPAGES); do \
    261 		$(RM) -f $(DESTDIR)$(man5dir)/$$i; \
    262 	done
    263 	$(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
    264 			$(DESTDIR)$(root_sbindir)/fsck.ext3 \
    265 			$(DESTDIR)$(root_sbindir)/fsck.ext4 \
    266 			$(DESTDIR)$(root_sbindir)/fsck.ext4dev
    267 
    268 clean:
    269 	$(RM) -f $(PROGS) \#* *\# *.s *.o *.a *~ core e2fsck.static \
    270 		e2fsck.shared e2fsck.profiled flushb e2fsck.8 \
    271 		tst_problem tst_crc32 tst_region tst_refcount gen_crc32table \
    272 		crc32table.h e2fsck.conf.5 prof_err.c prof_err.h \
    273 		test_profile
    274 	$(RM) -rf profiled
    275 
    276 mostlyclean: clean
    277 distclean: clean
    278 	$(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
    279 
    280 # +++ Dependency line eater +++
    281 # 
    282 # Makefile dependencies follow.  This must be the last section in
    283 # the Makefile.in file
    284 #
    285 e2fsck.o: $(srcdir)/e2fsck.c $(srcdir)/e2fsck.h \
    286  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    287  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    288  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    289  $(top_builddir)/lib/ext2fs/ext2_err.h \
    290  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    291  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    292 crc32.o: $(srcdir)/crc32.c $(srcdir)/e2fsck.h \
    293  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    294  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    295  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    296  $(top_builddir)/lib/ext2fs/ext2_err.h \
    297  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    298  $(srcdir)/profile.h prof_err.h $(srcdir)/crc32defs.h crc32table.h
    299 gen_crc32table.o: $(srcdir)/gen_crc32table.c $(srcdir)/crc32defs.h
    300 dict.o: $(srcdir)/dict.c $(srcdir)/dict.h
    301 super.o: $(srcdir)/super.c $(srcdir)/e2fsck.h \
    302  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    303  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    304  $(top_srcdir)/lib/et/com_err.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
    308 pass1.o: $(srcdir)/pass1.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
    315 pass1b.o: $(srcdir)/pass1b.c $(top_srcdir)/lib/et/com_err.h \
    316  $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    317  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
    318  $(top_srcdir)/lib/ext2fs/ext3_extents.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 $(srcdir)/dict.h
    322 pass2.o: $(srcdir)/pass2.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 $(srcdir)/dict.h
    329 pass3.o: $(srcdir)/pass3.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 pass4.o: $(srcdir)/pass4.c $(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 $(srcdir)/problem.h
    343 pass5.o: $(srcdir)/pass5.c $(srcdir)/e2fsck.h \
    344  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    345  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    346  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    347  $(top_builddir)/lib/ext2fs/ext2_err.h \
    348  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    349  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    350 journal.o: $(srcdir)/journal.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
    351  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    352  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    353  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    354  $(top_builddir)/lib/ext2fs/ext2_err.h \
    355  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    356  $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
    357  $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h \
    358  $(srcdir)/problem.h
    359 recovery.o: $(srcdir)/recovery.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
    360  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    361  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    362  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    363  $(top_builddir)/lib/ext2fs/ext2_err.h \
    364  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    365  $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
    366  $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h
    367 revoke.o: $(srcdir)/revoke.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
    368  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    369  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    370  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    371  $(top_builddir)/lib/ext2fs/ext2_err.h \
    372  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    373  $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
    374  $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h
    375 badblocks.o: $(srcdir)/badblocks.c $(top_srcdir)/lib/et/com_err.h \
    376  $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    377  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
    378  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    379  $(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
    382 util.o: $(srcdir)/util.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
    389 unix.o: $(srcdir)/unix.c $(top_srcdir)/lib/e2p/e2p.h \
    390  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    391  $(top_srcdir)/lib/et/com_err.h $(srcdir)/e2fsck.h \
    392  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    393  $(top_srcdir)/lib/ext2fs/ext2_io.h $(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 $(srcdir)/problem.h $(top_srcdir)/version.h
    396 dirinfo.o: $(srcdir)/dirinfo.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 $(top_srcdir)/lib/ext2fs/tdb.h
    403 dx_dirinfo.o: $(srcdir)/dx_dirinfo.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
    410 ehandler.o: $(srcdir)/ehandler.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
    417 problem.o: $(srcdir)/problem.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 $(srcdir)/problem.h $(srcdir)/problemP.h
    424 message.o: $(srcdir)/message.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 ea_refcount.o: $(srcdir)/ea_refcount.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 rehash.o: $(srcdir)/rehash.c $(srcdir)/e2fsck.h \
    439  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    440  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
    441  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    442  $(top_builddir)/lib/ext2fs/ext2_err.h \
    443  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
    444  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    445 region.o: $(srcdir)/region.c $(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  $(srcdir)/profile.h prof_err.h
    452 profile.o: $(srcdir)/profile.c $(top_srcdir)/lib/et/com_err.h \
    453  $(srcdir)/profile.h prof_err.h
    454 prof_err.o: prof_err.c
    455