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