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 LDFLAG_STATIC = @LDFLAG_STATIC@
     12 
     13 @MCONFIG@
     14 
     15 PROGS=		e2fsck
     16 MANPAGES=	e2fsck.8
     17 FMANPAGES=	e2fsck.conf.5
     18 XTRA_CFLAGS=	-DRESOURCE_TRACK -I.
     19 
     20 LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBBLKID) $(LIBUUID) $(LIBINTL) $(LIBE2P)
     21 DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(DEPLIBBLKID) $(DEPLIBUUID) $(DEPLIBE2P)
     22 
     23 STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(STATIC_LIBBLKID) \
     24 	$(STATIC_LIBUUID) $(LIBINTL) $(STATIC_LIBE2P)
     25 STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(DEPSTATIC_LIBBLKID) \
     26 	$(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) $(PROFILED_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 	@echo "	CC $<"
     37 	@$(CC) -c $(ALL_CFLAGS) $< -o $@
     38 @PROFILE_CMT@	@$(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= dict.o unix.o e2fsck.o super.o pass1.o pass1b.o pass2.o pass3.o pass4.o \
     65 	pass5.o journal.o swapfs.o badblocks.o util.o dirinfo.o dx_dirinfo.o \
     66 	ehandler.o problem.o message.o recovery.o region.o revoke.o \
     67 	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 profiled/swapfs.o \
     75 	profiled/recovery.o profiled/region.o profiled/revoke.o \
     76 	profiled/ea_refcount.o profiled/rehash.o profiled/profile.o \
     77 	profiled/prof_err.o
     78 
     79 SRCS= $(srcdir)/e2fsck.c \
     80 	$(srcdir)/dict.c \
     81 	$(srcdir)/super.c \
     82 	$(srcdir)/pass1.c \
     83 	$(srcdir)/pass1b.c \
     84 	$(srcdir)/pass2.c \
     85 	$(srcdir)/pass3.c \
     86 	$(srcdir)/pass4.c \
     87 	$(srcdir)/pass5.c \
     88 	$(srcdir)/journal.c \
     89 	$(srcdir)/recovery.c \
     90 	$(srcdir)/revoke.c \
     91 	$(srcdir)/badblocks.c \
     92 	$(srcdir)/util.c \
     93 	$(srcdir)/unix.c \
     94 	$(srcdir)/dirinfo.c \
     95 	$(srcdir)/dx_dirinfo.c \
     96 	$(srcdir)/ehandler.c \
     97 	$(srcdir)/problem.c \
     98 	$(srcdir)/message.c \
     99 	$(srcdir)/swapfs.c \
    100 	$(srcdir)/ea_refcount.c \
    101 	$(srcdir)/rehash.c \
    102 	$(srcdir)/region.c \
    103 	$(srcdir)/profile.c \
    104 	prof_err.c \
    105 	$(MTRACE_SRC)
    106 
    107 all:: profiled $(PROGS) e2fsck $(MANPAGES) $(FMANPAGES)
    108 
    109 @PROFILE_CMT@all:: e2fsck.profiled
    110 
    111 prof_err.c prof_err.h: prof_err.et
    112 	@echo "	COMPILE_ET prof_err.et"
    113 	@$(COMPILE_ET) $(srcdir)/prof_err.et
    114 
    115 e2fsck: $(OBJS)  $(DEPLIBS)
    116 	@echo "	LD $@"
    117 	@$(LD) $(ALL_LDFLAGS) -o e2fsck $(OBJS) $(LIBS) 
    118 
    119 e2fsck.static: $(OBJS) $(STATIC_DEPLIBS)
    120 	@echo "	LD $@"
    121 	@$(LD) $(ALL_LDFLAGS) $(LDFLAG_STATIC) -o e2fsck.static $(OBJS) \
    122 		$(STATIC_LIBS) 
    123 
    124 e2fsck.profiled: $(PROFILED_OBJS)  $(PROFILED_DEPLIBS)
    125 	@echo "	LD $@"
    126 	@$(LD) $(ALL_LDFLAGS) -g -pg -o e2fsck.profiled $(PROFILED_OBJS) \
    127 		$(PROFILED_LIBS) 
    128 
    129 tst_refcount: ea_refcount.c
    130 	@echo "	LD $@"
    131 	@$(CC) -o tst_refcount $(srcdir)/ea_refcount.c \
    132 		$(ALL_CFLAGS) -DTEST_PROGRAM -lcom_err
    133 
    134 tst_region: region.c
    135 	@echo "	LD $@"
    136 	@$(CC) -o tst_region $(srcdir)/region.c \
    137 		$(ALL_CFLAGS) -DTEST_PROGRAM -lcom_err
    138 
    139 extend: extend.o
    140 	@echo "	LD $@"
    141 	@$(LD) $(ALL_LDFLAGS) -o extend extend.o $(CHECKLIB)
    142 
    143 flushb: flushb.o
    144 	@echo "	LD $@"
    145 	@$(LD) $(ALL_LDFLAGS) -o flushb flushb.o $(CHECKLIB)
    146 
    147 iscan: iscan.o util.o ehandler.o $(DEPLIBS)
    148 	@echo "	LD $@"
    149 	@$(LD) $(ALL_LDFLAGS) -o iscan iscan.o util.o ehandler.o $(LIBS)
    150 
    151 test_profile: $(srcdir)/profile.c profile_helpers.o argv_parse.o \
    152 		prof_err.o profile.h $(STATIC_LIBCOM_ERR)
    153 	@echo "	LD $@"
    154 	@$(CC) -o test_profile -DDEBUG_PROGRAM $(srcdir)/profile.c prof_err.o \
    155 		profile_helpers.o argv_parse.o $(STATIC_LIBCOM_ERR) \
    156 		$(ALL_CFLAGS)
    157 
    158 profiled:
    159 @PROFILE_CMT@	@echo "	MKDIR $@"
    160 @PROFILE_CMT@	@mkdir profiled
    161 
    162 e2fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.8.in
    163 	@echo "	SUBST $@"
    164 	@$(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.8.in e2fsck.8
    165 
    166 e2fsck.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.conf.5.in
    167 	@echo "	SUBST $@"
    168 	@$(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.conf.5.in e2fsck.conf.5
    169 
    170 installdirs:
    171 	@echo "	MKINSTALLDIRS $(root_sbindir) $(man8dir)"
    172 	@$(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
    173 		$(DESTDIR)$(man8dir) $(DESTDIR)$(man5dir)
    174 
    175 install: $(PROGS) $(MANPAGES) $(FMANPAGES) installdirs
    176 	@for i in $(PROGS); do \
    177 		echo "	INSTALL $(root_sbindir)/$$i"; \
    178 		$(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
    179 	done
    180 	@echo "	LINK $(root_sbindir)/fsck.ext2"
    181 	@$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
    182 			$(DESTDIR)$(root_sbindir)/fsck.ext2
    183 	@echo "	LINK $(root_sbindir)/fsck.ext3"
    184 	@$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
    185 			$(DESTDIR)$(root_sbindir)/fsck.ext3
    186 	@for i in $(MANPAGES); do \
    187 		for j in $(COMPRESS_EXT); do \
    188 			$(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
    189 		done; \
    190 		echo "	INSTALL_DATA $(man8dir)/$$i"; \
    191 		$(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
    192 	done
    193 	@for i in $(FMANPAGES); do \
    194 		for j in $(COMPRESS_EXT); do \
    195 			$(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
    196 		done; \
    197 		echo "	INSTALL_DATA $(man5dir)/$$i"; \
    198 		$(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
    199 	done
    200 	@echo "	LINK $(man8dir)/fsck.ext2.8"
    201 	@$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
    202 		$(DESTDIR)$(man8dir)/fsck.ext2.8
    203 	@echo "	LINK $(man8dir)/fsck.ext3.8"
    204 	@$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
    205 		$(DESTDIR)$(man8dir)/fsck.ext3.8
    206 
    207 install-strip: install
    208 	@for i in $(PROGS); do \
    209 		echo "	STRIP $(root_sbindir)/$$i"; \
    210 		$(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
    211 	done
    212 
    213 uninstall:
    214 	for i in $(PROGS); do \
    215 		$(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
    216 	done
    217 	$(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
    218 		$(DESTDIR)$(root_sbindir)/fsck.ext3
    219 	for i in $(MANPAGES); do \
    220 		$(RM) -f $(DESTDIR)$(man8dir)/$$i; \
    221 	done
    222 	for i in $(FMANPAGES); do \
    223 		$(RM) -f $(DESTDIR)$(man5dir)/$$i; \
    224 	done
    225 	$(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
    226 			$(DESTDIR)$(root_sbindir)/fsck.ext3
    227 
    228 clean:
    229 	$(RM) -f $(PROGS) \#* *\# *.s *.o *.a *~ core e2fsck.static \
    230 		e2fsck.shared e2fsck.profiled flushb e2fsck.8
    231 	$(RM) -rf profiled
    232 
    233 mostlyclean: clean
    234 distclean: clean
    235 	$(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
    236 
    237 # +++ Dependency line eater +++
    238 # 
    239 # Makefile dependencies follow.  This must be the last section in
    240 # the Makefile.in file
    241 #
    242 e2fsck.o: $(srcdir)/e2fsck.c $(srcdir)/e2fsck.h \
    243  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    244  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    245  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    246  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    247  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    248  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    249 dict.o: $(srcdir)/dict.c $(srcdir)/dict.h
    250 super.o: $(srcdir)/super.c $(top_srcdir)/lib/uuid/uuid.h $(srcdir)/e2fsck.h \
    251  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    252  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    253  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    254  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    255  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    256  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    257 pass1.o: $(srcdir)/pass1.c $(srcdir)/e2fsck.h \
    258  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    259  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    260  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    261  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    262  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    263  $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h \
    264  $(srcdir)/problem.h
    265 pass1b.o: $(srcdir)/pass1b.c $(top_srcdir)/lib/et/com_err.h \
    266  $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    267  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
    268  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    269  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    270  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    271  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/dict.h
    272 pass2.o: $(srcdir)/pass2.c $(srcdir)/e2fsck.h \
    273  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    274  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    275  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    276  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    277  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    278  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/dict.h
    279 pass3.o: $(srcdir)/pass3.c $(srcdir)/e2fsck.h \
    280  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    281  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    282  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    283  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    284  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    285  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    286 pass4.o: $(srcdir)/pass4.c $(srcdir)/e2fsck.h \
    287  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    288  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    289  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    290  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    291  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    292  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    293 pass5.o: $(srcdir)/pass5.c $(srcdir)/e2fsck.h \
    294  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    295  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    296  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    297  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    298  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    299  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    300 journal.o: $(srcdir)/journal.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
    301  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    302  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    303  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    304  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    305  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    306  $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
    307  $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h \
    308  $(srcdir)/problem.h $(top_srcdir)/lib/uuid/uuid.h
    309 recovery.o: $(srcdir)/recovery.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
    310  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    311  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    312  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    313  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    314  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    315  $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
    316  $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h
    317 revoke.o: $(srcdir)/revoke.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
    318  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    319  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    320  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    321  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    322  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    323  $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
    324  $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h
    325 badblocks.o: $(srcdir)/badblocks.c $(top_srcdir)/lib/et/com_err.h \
    326  $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    327  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
    328  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    329  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    330  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    331  $(srcdir)/profile.h prof_err.h
    332 util.o: $(srcdir)/util.c $(srcdir)/e2fsck.h \
    333  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    334  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    335  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    336  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    337  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    338  $(srcdir)/profile.h prof_err.h
    339 unix.o: $(srcdir)/unix.c $(top_srcdir)/lib/et/com_err.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/ext2_fs.h \
    342  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    343  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    344  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    345  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(top_srcdir)/version.h
    346 dirinfo.o: $(srcdir)/dirinfo.c $(srcdir)/e2fsck.h \
    347  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    348  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    349  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    350  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    351  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    352  $(srcdir)/profile.h prof_err.h
    353 dx_dirinfo.o: $(srcdir)/dx_dirinfo.c $(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/ext2_fs.h \
    356  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    357  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    358  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    359  $(srcdir)/profile.h prof_err.h
    360 ehandler.o: $(srcdir)/ehandler.c $(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/ext2_fs.h \
    363  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    364  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    365  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    366  $(srcdir)/profile.h prof_err.h
    367 problem.o: $(srcdir)/problem.c $(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/ext2_fs.h \
    370  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    371  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    372  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    373  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/problemP.h
    374 message.o: $(srcdir)/message.c $(srcdir)/e2fsck.h \
    375  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    376  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    377  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    378  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    379  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    380  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    381 swapfs.o: $(srcdir)/swapfs.c $(top_srcdir)/lib/et/com_err.h \
    382  $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    383  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
    384  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    385  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    386  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    387  $(srcdir)/profile.h prof_err.h
    388 ea_refcount.o: $(srcdir)/ea_refcount.c $(srcdir)/e2fsck.h \
    389  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    390  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    391  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    392  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    393  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    394  $(srcdir)/profile.h prof_err.h
    395 rehash.o: $(srcdir)/rehash.c $(srcdir)/e2fsck.h \
    396  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    397  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    398  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    399  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    400  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    401  $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
    402 region.o: $(srcdir)/region.c $(srcdir)/e2fsck.h \
    403  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
    404  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
    405  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
    406  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
    407  $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
    408  $(srcdir)/profile.h prof_err.h
    409 profile.o: $(srcdir)/profile.c $(srcdir)/profile.h prof_err.h \
    410  $(top_srcdir)/lib/et/com_err.h
    411 prof_err.o: prof_err.c
    412