blob: 595c104024f03b4973601c96032ed03bb5fff690 [file] [log] [blame]
Theodore Ts'o50e1e101997-04-26 13:58:21 +00001#
2# Makefile for e2fsck
3#
4
5srcdir = @srcdir@
6top_srcdir = @top_srcdir@
7VPATH = @srcdir@
8top_builddir = ..
Theodore Ts'o1e3472c1997-04-29 14:53:37 +00009my_dir = e2fsck
Theodore Ts'o50e1e101997-04-26 13:58:21 +000010INSTALL = @INSTALL@
11LDFLAG_STATIC = @LDFLAG_STATIC@
12
13@MCONFIG@
14
Theodore Ts'o5be8dc21997-12-01 18:24:10 +000015PROGS= e2fsck
Theodore Ts'o50e1e101997-04-26 13:58:21 +000016MANPAGES= e2fsck.8
Theodore Ts'o1abdba42006-03-27 01:03:11 -050017FMANPAGES= e2fsck.conf.5
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -050018XTRA_CFLAGS= -DRESOURCE_TRACK -I.
Theodore Ts'o50e1e101997-04-26 13:58:21 +000019
Theodore Ts'oa04eba32003-05-03 16:35:17 -040020LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBBLKID) $(LIBUUID) $(LIBINTL)
Theodore Ts'occe2f492006-10-01 22:18:08 -040021DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(DEPLIBBLKID) $(DEPLIBUUID)
Theodore Ts'o62c06f71997-04-29 14:34:47 +000022
Theodore Ts'of3640932003-03-01 19:47:44 -050023STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(STATIC_LIBBLKID) \
Theodore Ts'oa04eba32003-05-03 16:35:17 -040024 $(STATIC_LIBUUID) $(LIBINTL)
Theodore Ts'occe2f492006-10-01 22:18:08 -040025STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(DEPSTATIC_LIBBLKID) \
Theodore Ts'of3640932003-03-01 19:47:44 -050026 $(DEPSTATIC_LIBUUID)
Theodore Ts'o62c06f71997-04-29 14:34:47 +000027
Theodore Ts'of3640932003-03-01 19:47:44 -050028PROFILED_LIBS= $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR) \
Theodore Ts'oed52f622004-02-23 21:26:23 -050029 $(PROFILED_LIBBLKID) $(PROFILED_LIBUUID) $(LIBINTL)
Theodore Ts'o894edb22000-01-18 21:27:12 +000030PROFILED_DEPLIBS= $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR) \
Theodore Ts'occe2f492006-10-01 22:18:08 -040031 $(DEPPROFILED_LIBBLKID) $(DEPPROFILED_LIBUUID)
Theodore Ts'o50e1e101997-04-26 13:58:21 +000032
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -050033COMPILE_ET=$(top_builddir)/lib/et/compile_et --build-tree
34
Theodore Ts'o50e1e101997-04-26 13:58:21 +000035.c.o:
Theodore Ts'o47204ff2004-11-30 10:52:27 -050036 @echo " CC $<"
37 @$(CC) -c $(ALL_CFLAGS) $< -o $@
38@PROFILE_CMT@ @$(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
Theodore Ts'o50e1e101997-04-26 13:58:21 +000039
40#
41# Flags for using Checker
42# Note: The optimization flags must include -g
43#
44#MCHECK= -checker
Theodore Ts'o62c06f71997-04-29 14:34:47 +000045#LIBS= $(LIBCOM_ERR) $(LIB_EXT2FS) $(CHECKLIB)
46#DEPLIBS= $(LIBCOM_ERR) $(LIB_EXT2FS)
Theodore Ts'o50e1e101997-04-26 13:58:21 +000047#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
Theodore Ts'o838e7732002-08-01 12:37:00 -040064OBJS= dict.o unix.o e2fsck.o super.o pass1.o pass1b.o pass2.o pass3.o pass4.o \
Theodore Ts'o8fdc9982002-06-25 23:26:34 -040065 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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -050067 ea_refcount.o rehash.o profile.o prof_err.o $(MTRACE_OBJ)
Theodore Ts'o50e1e101997-04-26 13:58:21 +000068
Theodore Ts'o838e7732002-08-01 12:37:00 -040069PROFILED_OBJS= profiled/dict.o profiled/unix.o profiled/e2fsck.o \
70 profiled/super.o profiled/pass1.o profiled/pass1b.o \
Theodore Ts'o62c06f71997-04-29 14:34:47 +000071 profiled/pass2.o profiled/pass3.o profiled/pass4.o profiled/pass5.o \
Theodore Ts'o17390c02000-07-07 04:13:21 +000072 profiled/journal.o profiled/badblocks.o profiled/util.o \
Theodore Ts'o8fdc9982002-06-25 23:26:34 -040073 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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -050076 profiled/ea_refcount.o profiled/rehash.o profiled/profile.o \
77 profiled/prof_err.o
Theodore Ts'o62c06f71997-04-29 14:34:47 +000078
Theodore Ts'o50e1e101997-04-26 13:58:21 +000079SRCS= $(srcdir)/e2fsck.c \
Theodore Ts'o838e7732002-08-01 12:37:00 -040080 $(srcdir)/dict.c \
Theodore Ts'o1b6bf171997-10-03 17:48:10 +000081 $(srcdir)/super.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000082 $(srcdir)/pass1.c \
83 $(srcdir)/pass1b.c \
84 $(srcdir)/pass2.c \
85 $(srcdir)/pass3.c \
86 $(srcdir)/pass4.c \
87 $(srcdir)/pass5.c \
Theodore Ts'o17390c02000-07-07 04:13:21 +000088 $(srcdir)/journal.c \
Theodore Ts'o3b5386d2000-08-14 14:25:19 +000089 $(srcdir)/recovery.c \
Theodore Ts'o0e8a9562000-12-09 06:41:25 +000090 $(srcdir)/revoke.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000091 $(srcdir)/badblocks.c \
92 $(srcdir)/util.c \
Theodore Ts'o1b6bf171997-10-03 17:48:10 +000093 $(srcdir)/unix.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000094 $(srcdir)/dirinfo.c \
Theodore Ts'o8fdc9982002-06-25 23:26:34 -040095 $(srcdir)/dx_dirinfo.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000096 $(srcdir)/ehandler.c \
Theodore Ts'o21c84b71997-04-29 16:15:03 +000097 $(srcdir)/problem.c \
Theodore Ts'o5df55d72001-06-11 07:00:04 +000098 $(srcdir)/message.c \
99 $(srcdir)/swapfs.c \
Theodore Ts'o342d8472001-07-02 11:54:09 -0400100 $(srcdir)/ea_refcount.c \
Theodore Ts'ob7a00562002-07-20 00:28:07 -0400101 $(srcdir)/rehash.c \
Theodore Ts'o55fd07e2001-07-19 16:31:25 -0400102 $(srcdir)/region.c \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500103 $(srcdir)/profile.c \
104 prof_err.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000105 $(MTRACE_SRC)
106
Theodore Ts'o7e8fe322008-01-27 17:43:10 -0500107all:: profiled $(PROGS) e2fsck $(MANPAGES) $(FMANPAGES)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000108
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000109@PROFILE_CMT@all:: e2fsck.profiled
110
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500111prof_err.c prof_err.h: prof_err.et
112 @echo " COMPILE_ET prof_err.et"
113 @$(COMPILE_ET) $(srcdir)/prof_err.et
114
Theodore Ts'o7e8fe322008-01-27 17:43:10 -0500115e2fsck: $(OBJS) $(DEPLIBS)
116 @echo " LD $@"
117 @$(LD) $(ALL_LDFLAGS) -o e2fsck $(OBJS) $(LIBS)
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000118
Theodore Ts'o7e8fe322008-01-27 17:43:10 -0500119e2fsck.static: $(OBJS) $(STATIC_DEPLIBS)
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500120 @echo " LD $@"
121 @$(LD) $(ALL_LDFLAGS) $(LDFLAG_STATIC) -o e2fsck.static $(OBJS) \
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000122 $(STATIC_LIBS)
123
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000124e2fsck.profiled: $(PROFILED_OBJS) $(PROFILED_DEPLIBS)
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500125 @echo " LD $@"
126 @$(LD) $(ALL_LDFLAGS) -g -pg -o e2fsck.profiled $(PROFILED_OBJS) \
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000127 $(PROFILED_LIBS)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000128
Theodore Ts'o342d8472001-07-02 11:54:09 -0400129tst_refcount: ea_refcount.c
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500130 @echo " LD $@"
131 @$(CC) -o tst_refcount $(srcdir)/ea_refcount.c \
Theodore Ts'o342d8472001-07-02 11:54:09 -0400132 $(ALL_CFLAGS) -DTEST_PROGRAM -lcom_err
133
Theodore Ts'o55fd07e2001-07-19 16:31:25 -0400134tst_region: region.c
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500135 @echo " LD $@"
136 @$(CC) -o tst_region $(srcdir)/region.c \
Theodore Ts'o55fd07e2001-07-19 16:31:25 -0400137 $(ALL_CFLAGS) -DTEST_PROGRAM -lcom_err
138
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000139extend: extend.o
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500140 @echo " LD $@"
141 @$(LD) $(ALL_LDFLAGS) -o extend extend.o $(CHECKLIB)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000142
143flushb: flushb.o
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500144 @echo " LD $@"
145 @$(LD) $(ALL_LDFLAGS) -o flushb flushb.o $(CHECKLIB)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000146
Theodore Ts'oe3bda782001-08-08 20:50:57 -0400147iscan: iscan.o util.o ehandler.o $(DEPLIBS)
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500148 @echo " LD $@"
149 @$(LD) $(ALL_LDFLAGS) -o iscan iscan.o util.o ehandler.o $(LIBS)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000150
Theodore Ts'o9a4c2092006-01-02 22:04:41 -0500151test_profile: $(srcdir)/profile.c profile_helpers.o argv_parse.o \
152 prof_err.o profile.h $(STATIC_LIBCOM_ERR)
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500153 @echo " LD $@"
154 @$(CC) -o test_profile -DDEBUG_PROGRAM $(srcdir)/profile.c prof_err.o \
Theodore Ts'o9a4c2092006-01-02 22:04:41 -0500155 profile_helpers.o argv_parse.o $(STATIC_LIBCOM_ERR) \
156 $(ALL_CFLAGS)
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500157
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000158profiled:
Theodore Ts'o522798d2004-12-15 11:28:55 -0500159@PROFILE_CMT@ @echo " MKDIR $@"
160@PROFILE_CMT@ @mkdir profiled
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000161
Theodore Ts'o44339bd1997-10-15 02:47:20 +0000162e2fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.8.in
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500163 @echo " SUBST $@"
164 @$(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.8.in e2fsck.8
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000165
Theodore Ts'o1abdba42006-03-27 01:03:11 -0500166e2fsck.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.conf.5.in
167 @echo " SUBST $@"
168 @$(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.conf.5.in e2fsck.conf.5
169
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000170installdirs:
Theodore Ts'o522798d2004-12-15 11:28:55 -0500171 @echo " MKINSTALLDIRS $(root_sbindir) $(man8dir)"
172 @$(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
Theodore Ts'o1abdba42006-03-27 01:03:11 -0500173 $(DESTDIR)$(man8dir) $(DESTDIR)$(man5dir)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000174
175install: $(PROGS) $(MANPAGES) installdirs
Theodore Ts'o522798d2004-12-15 11:28:55 -0500176 @for i in $(PROGS); do \
177 echo " INSTALL $(root_sbindir)/$$i"; \
Theodore Ts'o7e44f241998-04-01 03:16:29 +0000178 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000179 done
Theodore Ts'o522798d2004-12-15 11:28:55 -0500180 @echo " LINK $(root_sbindir)/fsck.ext2"
181 @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
Theodore Ts'o7e44f241998-04-01 03:16:29 +0000182 $(DESTDIR)$(root_sbindir)/fsck.ext2
Theodore Ts'o522798d2004-12-15 11:28:55 -0500183 @echo " LINK $(root_sbindir)/fsck.ext3"
184 @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
Theodore Ts'o1d279212000-05-19 02:38:14 +0000185 $(DESTDIR)$(root_sbindir)/fsck.ext3
Theodore Ts'o522798d2004-12-15 11:28:55 -0500186 @for i in $(MANPAGES); do \
Theodore Ts'o482afc42002-10-31 03:32:34 -0500187 for j in $(COMPRESS_EXT); do \
188 $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
189 done; \
Theodore Ts'o522798d2004-12-15 11:28:55 -0500190 echo " INSTALL_DATA $(man8dir)/$$i"; \
Theodore Ts'o74becf31997-04-26 14:37:06 +0000191 $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000192 done
Theodore Ts'o1abdba42006-03-27 01:03:11 -0500193 @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
Theodore Ts'o522798d2004-12-15 11:28:55 -0500200 @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
207install-strip: install
208 @for i in $(PROGS); do \
209 echo " STRIP $(root_sbindir)/$$i"; \
210 $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
211 done
Theodore Ts'o74becf31997-04-26 14:37:06 +0000212
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000213uninstall:
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000214 for i in $(PROGS); do \
Theodore Ts'o7e44f241998-04-01 03:16:29 +0000215 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000216 done
Theodore Ts'o1d279212000-05-19 02:38:14 +0000217 $(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
218 $(DESTDIR)$(root_sbindir)/fsck.ext3
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000219 for i in $(MANPAGES); do \
Theodore Ts'o7e44f241998-04-01 03:16:29 +0000220 $(RM) -f $(DESTDIR)$(man8dir)/$$i; \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000221 done
Theodore Ts'o1abdba42006-03-27 01:03:11 -0500222 for i in $(FMANPAGES); do \
223 $(RM) -f $(DESTDIR)$(man5dir)/$$i; \
224 done
Theodore Ts'ob9f40922002-02-24 03:08:57 -0500225 $(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
226 $(DESTDIR)$(root_sbindir)/fsck.ext3
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000227
228clean:
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000229 $(RM) -f $(PROGS) \#* *\# *.s *.o *.a *~ core e2fsck.static \
Theodore Ts'o3ac9f0e1999-07-19 21:02:11 +0000230 e2fsck.shared e2fsck.profiled flushb e2fsck.8
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000231 $(RM) -rf profiled
232
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000233mostlyclean: clean
234distclean: clean
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +0000235 $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000236
237# +++ Dependency line eater +++
238#
239# Makefile dependencies follow. This must be the last section in
240# the Makefile.in file
241#
Theodore Ts'o80bfaa32000-08-18 15:08:37 +0000242e2fsck.o: $(srcdir)/e2fsck.c $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000243 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400244 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500248 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
Theodore Ts'ob7bad612002-08-31 03:00:33 -0400249dict.o: $(srcdir)/dict.c $(srcdir)/dict.h
Theodore Ts'o08b21301997-11-03 19:42:40 +0000250super.o: $(srcdir)/super.c $(top_srcdir)/lib/uuid/uuid.h $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000251 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400252 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500256 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
Theodore Ts'o80bfaa32000-08-18 15:08:37 +0000257pass1.o: $(srcdir)/pass1.c $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000258 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400259 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500263 $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h \
264 $(srcdir)/problem.h
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000265pass1b.o: $(srcdir)/pass1b.c $(top_srcdir)/lib/et/com_err.h \
Theodore Ts'o54c637d2001-05-14 11:45:38 +0000266 $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000267 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400268 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500271 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/dict.h
Theodore Ts'o5a679c81998-12-03 16:40:38 +0000272pass2.o: $(srcdir)/pass2.c $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000273 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400274 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500278 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/dict.h
Theodore Ts'o08b21301997-11-03 19:42:40 +0000279pass3.o: $(srcdir)/pass3.c $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000280 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400281 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500285 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000286pass4.o: $(srcdir)/pass4.c $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000287 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400288 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500292 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
Theodore Ts'o08b21301997-11-03 19:42:40 +0000293pass5.o: $(srcdir)/pass5.c $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000294 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400295 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500299 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
Theodore Ts'o96b5cac2001-12-24 15:33:49 -0500300journal.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 \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400302 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500306 $(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
Theodore Ts'o96b5cac2001-12-24 15:33:49 -0500309recovery.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 \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400311 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500315 $(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
Theodore Ts'o96b5cac2001-12-24 15:33:49 -0500317revoke.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 \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400319 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500323 $(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
Theodore Ts'o80bfaa32000-08-18 15:08:37 +0000325badblocks.o: $(srcdir)/badblocks.c $(top_srcdir)/lib/et/com_err.h \
Theodore Ts'o54c637d2001-05-14 11:45:38 +0000326 $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000327 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400328 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500330 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
331 $(srcdir)/profile.h prof_err.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000332util.o: $(srcdir)/util.c $(srcdir)/e2fsck.h \
333 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400334 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500337 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
338 $(srcdir)/profile.h prof_err.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000339unix.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 \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400341 $(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 \
Theodore Ts'o80bfaa32000-08-18 15:08:37 +0000343 $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500344 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500345 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(top_srcdir)/version.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000346dirinfo.o: $(srcdir)/dirinfo.c $(srcdir)/e2fsck.h \
347 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400348 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500351 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
352 $(srcdir)/profile.h prof_err.h
Theodore Ts'ob7bad612002-08-31 03:00:33 -0400353dx_dirinfo.o: $(srcdir)/dx_dirinfo.c $(srcdir)/e2fsck.h \
354 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400355 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500358 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
359 $(srcdir)/profile.h prof_err.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000360ehandler.o: $(srcdir)/ehandler.c $(srcdir)/e2fsck.h \
361 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400362 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500365 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
366 $(srcdir)/profile.h prof_err.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000367problem.o: $(srcdir)/problem.c $(srcdir)/e2fsck.h \
368 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400369 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500373 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/problemP.h
Theodore Ts'o16f095e2001-06-13 21:40:58 +0000374message.o: $(srcdir)/message.c $(srcdir)/e2fsck.h \
375 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400376 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500380 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
Theodore Ts'o16f095e2001-06-13 21:40:58 +0000381swapfs.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 \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400384 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500386 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
387 $(srcdir)/profile.h prof_err.h
Theodore Ts'o55fd07e2001-07-19 16:31:25 -0400388ea_refcount.o: $(srcdir)/ea_refcount.c $(srcdir)/e2fsck.h \
389 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400390 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500393 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
394 $(srcdir)/profile.h prof_err.h
Theodore Ts'ob7bad612002-08-31 03:00:33 -0400395rehash.o: $(srcdir)/rehash.c $(srcdir)/e2fsck.h \
396 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400397 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500401 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
Theodore Ts'o55fd07e2001-07-19 16:31:25 -0400402region.o: $(srcdir)/region.c $(srcdir)/e2fsck.h \
403 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400404 $(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 \
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500407 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
408 $(srcdir)/profile.h prof_err.h
Theodore Ts'ofd7ac1f2005-12-31 01:28:33 -0500409profile.o: $(srcdir)/profile.c $(srcdir)/profile.h prof_err.h \
410 $(top_srcdir)/lib/et/com_err.h
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500411prof_err.o: prof_err.c