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