]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - e2fsck/Makefile.in
Fix Makefile dependencies for libcom_err
[thirdparty/e2fsprogs.git] / e2fsck / Makefile.in
CommitLineData
50e1e10f
TT
1#
2# Makefile for e2fsck
3#
4
5srcdir = @srcdir@
6top_srcdir = @top_srcdir@
7VPATH = @srcdir@
8top_builddir = ..
1e3472c5 9my_dir = e2fsck
50e1e10f 10INSTALL = @INSTALL@
50e1e10f
TT
11
12@MCONFIG@
13
5be8dc21 14PROGS= e2fsck
50e1e10f 15MANPAGES= e2fsck.8
1abdba4b 16FMANPAGES= e2fsck.conf.5
2fa9ba98 17XTRA_CFLAGS= -DRESOURCE_TRACK -I.
50e1e10f 18
dcc91e10 19LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBBLKID) $(LIBUUID) $(LIBINTL) $(LIBE2P)
a6a1c081
TT
20DEPLIBS= $(LIBEXT2FS) $(DEPLIBCOM_ERR) $(DEPLIBBLKID) $(DEPLIBUUID) \
21 $(DEPLIBE2P)
62c06f79 22
f364093b 23STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(STATIC_LIBBLKID) \
dcc91e10 24 $(STATIC_LIBUUID) $(LIBINTL) $(STATIC_LIBE2P)
a6a1c081
TT
25STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(DEPSTATIC_LIBCOM_ERR) \
26 $(DEPSTATIC_LIBBLKID) $(DEPSTATIC_LIBUUID) $(DEPSTATIC_LIBE2P)
62c06f79 27
f364093b 28PROFILED_LIBS= $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR) \
dcc91e10 29 $(PROFILED_LIBBLKID) $(PROFILED_LIBUUID) $(PROFILED_LIBE2P) $(LIBINTL)
a6a1c081 30PROFILED_DEPLIBS= $(PROFILED_LIBEXT2FS) $(DEPPROFILED_LIBCOM_ERR) \
dcc91e10 31 $(DEPPROFILED_LIBBLKID) $(DEPPROFILED_LIBUUID) $(DEPPROFILED_LIBE2P)
50e1e10f 32
2fa9ba98
TT
33COMPILE_ET=$(top_builddir)/lib/et/compile_et --build-tree
34
50e1e10f 35.c.o:
47204ff9
TT
36 @echo " CC $<"
37 @$(CC) -c $(ALL_CFLAGS) $< -o $@
38@PROFILE_CMT@ @$(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
50e1e10f
TT
39
40#
41# Flags for using Checker
42# Note: The optimization flags must include -g
43#
44#MCHECK= -checker
62c06f79
TT
45#LIBS= $(LIBCOM_ERR) $(LIB_EXT2FS) $(CHECKLIB)
46#DEPLIBS= $(LIBCOM_ERR) $(LIB_EXT2FS)
50e1e10f
TT
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
51d12ceb
TT
64OBJS= 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)
50e1e10f 68
838e773e
TT
69PROFILED_OBJS= profiled/dict.o profiled/unix.o profiled/e2fsck.o \
70 profiled/super.o profiled/pass1.o profiled/pass1b.o \
62c06f79 71 profiled/pass2.o profiled/pass3.o profiled/pass4.o profiled/pass5.o \
17390c04 72 profiled/journal.o profiled/badblocks.o profiled/util.o \
8fdc9985 73 profiled/dirinfo.o profiled/dx_dirinfo.o profiled/ehandler.o \
1a855cb2 74 profiled/message.o profiled/problem.o \
8fdc9985 75 profiled/recovery.o profiled/region.o profiled/revoke.o \
2fa9ba98 76 profiled/ea_refcount.o profiled/rehash.o profiled/profile.o \
992a2f7f 77 profiled/crc32.o profiled/prof_err.o
62c06f79 78
50e1e10f 79SRCS= $(srcdir)/e2fsck.c \
51d12ceb
TT
80 $(srcdir)/crc32.c \
81 $(srcdir)/gen_crc32table.c \
838e773e 82 $(srcdir)/dict.c \
1b6bf175 83 $(srcdir)/super.c \
50e1e10f
TT
84 $(srcdir)/pass1.c \
85 $(srcdir)/pass1b.c \
86 $(srcdir)/pass2.c \
87 $(srcdir)/pass3.c \
88 $(srcdir)/pass4.c \
89 $(srcdir)/pass5.c \
17390c04 90 $(srcdir)/journal.c \
3b5386dc 91 $(srcdir)/recovery.c \
0e8a9560 92 $(srcdir)/revoke.c \
50e1e10f
TT
93 $(srcdir)/badblocks.c \
94 $(srcdir)/util.c \
1b6bf175 95 $(srcdir)/unix.c \
50e1e10f 96 $(srcdir)/dirinfo.c \
8fdc9985 97 $(srcdir)/dx_dirinfo.c \
50e1e10f 98 $(srcdir)/ehandler.c \
21c84b71 99 $(srcdir)/problem.c \
5df55d7f 100 $(srcdir)/message.c \
342d847d 101 $(srcdir)/ea_refcount.c \
b7a00563 102 $(srcdir)/rehash.c \
55fd07ed 103 $(srcdir)/region.c \
2fa9ba98
TT
104 $(srcdir)/profile.c \
105 prof_err.c \
50e1e10f
TT
106 $(MTRACE_SRC)
107
7e8fe327 108all:: profiled $(PROGS) e2fsck $(MANPAGES) $(FMANPAGES)
50e1e10f 109
62c06f79
TT
110@PROFILE_CMT@all:: e2fsck.profiled
111
2fa9ba98
TT
112prof_err.c prof_err.h: prof_err.et
113 @echo " COMPILE_ET prof_err.et"
114 @$(COMPILE_ET) $(srcdir)/prof_err.et
115
7e8fe327
TT
116e2fsck: $(OBJS) $(DEPLIBS)
117 @echo " LD $@"
118 @$(LD) $(ALL_LDFLAGS) -o e2fsck $(OBJS) $(LIBS)
62c06f79 119
7e8fe327 120e2fsck.static: $(OBJS) $(STATIC_DEPLIBS)
47204ff9 121 @echo " LD $@"
55da9876 122 @$(LD) $(LDFLAGS_STATIC) -o e2fsck.static $(OBJS) $(STATIC_LIBS)
62c06f79 123
21c84b71 124e2fsck.profiled: $(PROFILED_OBJS) $(PROFILED_DEPLIBS)
47204ff9
TT
125 @echo " LD $@"
126 @$(LD) $(ALL_LDFLAGS) -g -pg -o e2fsck.profiled $(PROFILED_OBJS) \
62c06f79 127 $(PROFILED_LIBS)
50e1e10f 128
51d12ceb
TT
129gen_crc32table: $(srcdir)/gen_crc32table.c
130 @echo " CC $@"
3467f2db 131 @$(BUILD_CC) $(BUILD_CFLAGS) -o gen_crc32table \
51d12ceb
TT
132 $(srcdir)/gen_crc32table.c
133
134crc32table.h: gen_crc32table
135 @echo " GEN32TABLE $@"
136 @./gen_crc32table > crc32table.h
137
a6a1c081
TT
138tst_problem: $(srcdir)/problem.c $(srcdir)/problem.h $(LIBEXT2FS) \
139 $(DEPLIBCOM_ERR)
7494cbfd
AD
140 @$(CC) $(BUILD_LDFLAGS) $(ALL_CFLAGS) -o tst_problem \
141 $(srcdir)/problem.c -DUNITTEST $(LIBEXT2FS) $(LIBCOM_ERR)
142
a6a1c081 143tst_crc32: $(srcdir)/crc32.c $(LIBEXT2FS) $(DEPLIBCOM_ERR)
51d12ceb 144 @$(CC) $(BUILD_LDFLAGS) $(ALL_CFLAGS) -o tst_crc32 $(srcdir)/crc32.c \
ceebf84f 145 -DUNITTEST $(LIBEXT2FS) $(LIBCOM_ERR)
51d12ceb 146
a6a1c081 147tst_refcount: ea_refcount.c $(DEPLIBCOM_ERR)
47204ff9
TT
148 @echo " LD $@"
149 @$(CC) -o tst_refcount $(srcdir)/ea_refcount.c \
0eeec8ac 150 $(ALL_CFLAGS) -DTEST_PROGRAM $(LIBCOM_ERR) $(LIBEXT2FS)
342d847d 151
a6a1c081 152tst_region: region.c $(DEPLIBCOM_ERR)
47204ff9
TT
153 @echo " LD $@"
154 @$(CC) -o tst_region $(srcdir)/region.c \
6f2ca692 155 $(ALL_CFLAGS) -DTEST_PROGRAM $(LIBCOM_ERR)
55fd07ed 156
7494cbfd 157check:: tst_refcount tst_region tst_crc32 tst_problem
ceebf84f
TT
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
7494cbfd 161 LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_problem
51d12ceb 162
50e1e10f 163extend: extend.o
47204ff9
TT
164 @echo " LD $@"
165 @$(LD) $(ALL_LDFLAGS) -o extend extend.o $(CHECKLIB)
50e1e10f
TT
166
167flushb: flushb.o
47204ff9
TT
168 @echo " LD $@"
169 @$(LD) $(ALL_LDFLAGS) -o flushb flushb.o $(CHECKLIB)
50e1e10f 170
e3bda783 171iscan: iscan.o util.o ehandler.o $(DEPLIBS)
47204ff9
TT
172 @echo " LD $@"
173 @$(LD) $(ALL_LDFLAGS) -o iscan iscan.o util.o ehandler.o $(LIBS)
50e1e10f 174
9a4c209c 175test_profile: $(srcdir)/profile.c profile_helpers.o argv_parse.o \
a6a1c081 176 prof_err.o profile.h $(DEPSTATIC_LIBCOM_ERR)
2fa9ba98
TT
177 @echo " LD $@"
178 @$(CC) -o test_profile -DDEBUG_PROGRAM $(srcdir)/profile.c prof_err.o \
9a4c209c
TT
179 profile_helpers.o argv_parse.o $(STATIC_LIBCOM_ERR) \
180 $(ALL_CFLAGS)
2fa9ba98 181
62c06f79 182profiled:
522798d3
TT
183@PROFILE_CMT@ @echo " MKDIR $@"
184@PROFILE_CMT@ @mkdir profiled
62c06f79 185
44339bdf 186e2fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.8.in
47204ff9
TT
187 @echo " SUBST $@"
188 @$(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.8.in e2fsck.8
50e1e10f 189
1abdba4b
TT
190e2fsck.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.conf.5.in
191 @echo " SUBST $@"
192 @$(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.conf.5.in e2fsck.conf.5
193
50e1e10f 194installdirs:
522798d3
TT
195 @echo " MKINSTALLDIRS $(root_sbindir) $(man8dir)"
196 @$(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
1abdba4b 197 $(DESTDIR)$(man8dir) $(DESTDIR)$(man5dir)
50e1e10f 198
1f803990 199install: $(PROGS) $(MANPAGES) $(FMANPAGES) installdirs
522798d3
TT
200 @for i in $(PROGS); do \
201 echo " INSTALL $(root_sbindir)/$$i"; \
7e44f242 202 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
50e1e10f 203 done
522798d3
TT
204 @echo " LINK $(root_sbindir)/fsck.ext2"
205 @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
7e44f242 206 $(DESTDIR)$(root_sbindir)/fsck.ext2
522798d3
TT
207 @echo " LINK $(root_sbindir)/fsck.ext3"
208 @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
1d279218 209 $(DESTDIR)$(root_sbindir)/fsck.ext3
eda08d45
TT
210 @echo " LINK $(root_sbindir)/fsck.ext4"
211 @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
212 $(DESTDIR)$(root_sbindir)/fsck.ext4
213 @echo " LINK $(root_sbindir)/fsck.ext4dev"
214 @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
215 $(DESTDIR)$(root_sbindir)/fsck.ext4dev
522798d3 216 @for i in $(MANPAGES); do \
482afc44
TT
217 for j in $(COMPRESS_EXT); do \
218 $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
219 done; \
522798d3 220 echo " INSTALL_DATA $(man8dir)/$$i"; \
74becf3c 221 $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
50e1e10f 222 done
1abdba4b
TT
223 @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
522798d3
TT
230 @echo " LINK $(man8dir)/fsck.ext2.8"
231 @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
232 $(DESTDIR)$(man8dir)/fsck.ext2.8
233 @echo " LINK $(man8dir)/fsck.ext3.8"
234 @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
235 $(DESTDIR)$(man8dir)/fsck.ext3.8
eda08d45
TT
236 @echo " LINK $(man8dir)/fsck.ext4.8"
237 @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
238 $(DESTDIR)$(man8dir)/fsck.ext4.8
239 @echo " LINK $(man8dir)/fsck.ext4.8"
240 @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
241 $(DESTDIR)$(man8dir)/fsck.ext4dev.8
522798d3
TT
242
243install-strip: install
244 @for i in $(PROGS); do \
245 echo " STRIP $(root_sbindir)/$$i"; \
246 $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
247 done
74becf3c 248
50e1e10f 249uninstall:
21c84b71 250 for i in $(PROGS); do \
7e44f242 251 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
21c84b71 252 done
1d279218 253 $(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
eda08d45
TT
254 $(DESTDIR)$(root_sbindir)/fsck.ext3 \
255 $(DESTDIR)$(root_sbindir)/fsck.ext4 \
256 $(DESTDIR)$(root_sbindir)/fsck.ext4dev
50e1e10f 257 for i in $(MANPAGES); do \
7e44f242 258 $(RM) -f $(DESTDIR)$(man8dir)/$$i; \
50e1e10f 259 done
1abdba4b
TT
260 for i in $(FMANPAGES); do \
261 $(RM) -f $(DESTDIR)$(man5dir)/$$i; \
262 done
b9f40925 263 $(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
eda08d45
TT
264 $(DESTDIR)$(root_sbindir)/fsck.ext3 \
265 $(DESTDIR)$(root_sbindir)/fsck.ext4 \
266 $(DESTDIR)$(root_sbindir)/fsck.ext4dev
50e1e10f
TT
267
268clean:
62c06f79 269 $(RM) -f $(PROGS) \#* *\# *.s *.o *.a *~ core e2fsck.static \
51d12ceb 270 e2fsck.shared e2fsck.profiled flushb e2fsck.8 \
7494cbfd 271 tst_problem tst_crc32 tst_region tst_refcount gen_crc32table \
51d12ceb
TT
272 crc32table.h e2fsck.conf.5 prof_err.c prof_err.h \
273 test_profile
62c06f79
TT
274 $(RM) -rf profiled
275
50e1e10f
TT
276mostlyclean: clean
277distclean: clean
5c36a2f8 278 $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
50e1e10f
TT
279
280# +++ Dependency line eater +++
281#
282# Makefile dependencies follow. This must be the last section in
283# the Makefile.in file
284#
80bfaa3e 285e2fsck.o: $(srcdir)/e2fsck.c $(srcdir)/e2fsck.h \
797f5ef1 286 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 287 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
288 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
289 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
290 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 291 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98 292 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
51d12ceb
TT
293crc32.o: $(srcdir)/crc32.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/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
297 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
298 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
299 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
300 $(srcdir)/profile.h prof_err.h $(srcdir)/crc32defs.h crc32table.h
301gen_crc32table.o: $(srcdir)/gen_crc32table.c $(srcdir)/crc32defs.h
b7bad615 302dict.o: $(srcdir)/dict.c $(srcdir)/dict.h
08b21301 303super.o: $(srcdir)/super.c $(top_srcdir)/lib/uuid/uuid.h $(srcdir)/e2fsck.h \
797f5ef1 304 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 305 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
306 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
307 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
308 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 309 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98 310 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
80bfaa3e 311pass1.o: $(srcdir)/pass1.c $(srcdir)/e2fsck.h \
797f5ef1 312 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 313 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
314 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
315 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
316 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 317 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
51d12ceb 318 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
a29f4d30 319pass1b.o: $(srcdir)/pass1b.c $(top_srcdir)/lib/et/com_err.h \
54c637d4 320 $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
797f5ef1 321 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
51d12ceb
TT
322 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
323 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
324 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 325 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98 326 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/dict.h
5a679c8f 327pass2.o: $(srcdir)/pass2.c $(srcdir)/e2fsck.h \
797f5ef1 328 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 329 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
330 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
331 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
332 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 333 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98 334 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/dict.h
08b21301 335pass3.o: $(srcdir)/pass3.c $(srcdir)/e2fsck.h \
797f5ef1 336 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 337 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
338 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
339 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
340 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 341 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98 342 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
62c06f79 343pass4.o: $(srcdir)/pass4.c $(srcdir)/e2fsck.h \
797f5ef1 344 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 345 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
346 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
347 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
348 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 349 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98 350 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
08b21301 351pass5.o: $(srcdir)/pass5.c $(srcdir)/e2fsck.h \
797f5ef1 352 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 353 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
354 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
355 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
356 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 357 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98 358 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
96b5cacc
TT
359journal.o: $(srcdir)/journal.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
360 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 361 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
362 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
363 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
364 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 365 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98
TT
366 $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
367 $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h \
368 $(srcdir)/problem.h $(top_srcdir)/lib/uuid/uuid.h
96b5cacc
TT
369recovery.o: $(srcdir)/recovery.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
370 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 371 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
372 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
373 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
374 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 375 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98
TT
376 $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
377 $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h
96b5cacc
TT
378revoke.o: $(srcdir)/revoke.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
379 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 380 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
381 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
382 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
383 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 384 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98
TT
385 $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
386 $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h
80bfaa3e 387badblocks.o: $(srcdir)/badblocks.c $(top_srcdir)/lib/et/com_err.h \
54c637d4 388 $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
797f5ef1 389 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
51d12ceb
TT
390 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
391 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
392 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
2fa9ba98
TT
393 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
394 $(srcdir)/profile.h prof_err.h
80bfaa3e 395util.o: $(srcdir)/util.c $(srcdir)/e2fsck.h \
797f5ef1 396 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 397 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
398 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
399 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
400 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
2fa9ba98
TT
401 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
402 $(srcdir)/profile.h prof_err.h
51d12ceb
TT
403unix.o: $(srcdir)/unix.c $(top_srcdir)/lib/et/com_err.h \
404 $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
405 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/e2fsck.h \
406 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
75e93ab0 407 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
51d12ceb
TT
408 $(top_builddir)/lib/ext2fs/ext2_err.h \
409 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
6cca7ba9 410 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98 411 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(top_srcdir)/version.h
80bfaa3e 412dirinfo.o: $(srcdir)/dirinfo.c $(srcdir)/e2fsck.h \
797f5ef1 413 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 414 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
415 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
416 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
417 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
2fa9ba98 418 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
51d12ceb
TT
419 $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/uuid/uuid.h \
420 $(top_srcdir)/lib/ext2fs/tdb.h
b7bad615
TT
421dx_dirinfo.o: $(srcdir)/dx_dirinfo.c $(srcdir)/e2fsck.h \
422 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 423 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
424 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
425 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
426 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
2fa9ba98
TT
427 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
428 $(srcdir)/profile.h prof_err.h
a29f4d30 429ehandler.o: $(srcdir)/ehandler.c $(srcdir)/e2fsck.h \
797f5ef1 430 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 431 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
432 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
433 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
434 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
2fa9ba98
TT
435 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
436 $(srcdir)/profile.h prof_err.h
a29f4d30 437problem.o: $(srcdir)/problem.c $(srcdir)/e2fsck.h \
797f5ef1 438 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 439 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
440 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
441 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
442 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 443 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98 444 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h $(srcdir)/problemP.h
16f095ee
TT
445message.o: $(srcdir)/message.c $(srcdir)/e2fsck.h \
446 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 447 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
448 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
449 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
450 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 451 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98 452 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
55fd07ed
TT
453ea_refcount.o: $(srcdir)/ea_refcount.c $(srcdir)/e2fsck.h \
454 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 455 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
456 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
457 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
458 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
2fa9ba98
TT
459 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
460 $(srcdir)/profile.h prof_err.h
b7bad615
TT
461rehash.o: $(srcdir)/rehash.c $(srcdir)/e2fsck.h \
462 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 463 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
464 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
465 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
466 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
75e93ab0 467 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
2fa9ba98 468 $(srcdir)/profile.h prof_err.h $(srcdir)/problem.h
55fd07ed
TT
469region.o: $(srcdir)/region.c $(srcdir)/e2fsck.h \
470 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
75e93ab0 471 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
51d12ceb
TT
472 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
473 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
474 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
2fa9ba98
TT
475 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
476 $(srcdir)/profile.h prof_err.h
51d12ceb
TT
477profile.o: $(srcdir)/profile.c $(top_srcdir)/lib/et/com_err.h \
478 $(srcdir)/profile.h prof_err.h
2fa9ba98 479prof_err.o: prof_err.c