2 # Standard e2fsprogs prologue....
6 top_srcdir = @top_srcdir@
15 @DEFRAG_CMT@@LINUX_CMT@E4DEFRAG_PROG= e4defrag
16 @DEFRAG_CMT@@LINUX_CMT@E4DEFRAG_MAN= e4defrag.8
18 @LINUX_CMT@E4CRYPT_PROG = e4crypt
19 @LINUX_CMT@E4CRYPT_MAN= e4crypt.8
21 @IMAGER_CMT@E2IMAGE_PROG= e2image
22 @IMAGER_CMT@E2IMAGE_MAN= e2image.8
24 @UUIDD_CMT@UUIDD_PROG= uuidd
25 @UUIDD_CMT@UUIDD_MAN= uuidd.8
26 @UUIDD_CMT@UUIDD_PROFILED= uuidd.profiled
28 @BLKID_CMT@BLKID_PROG= blkid
29 @BLKID_CMT@BLKID_MAN= blkid.8
31 @BLKID_CMT@FINDFS_LINK= findfs
32 @BLKID_CMT@FINDFS_MAN= findfs.8
34 @FUSE_CMT@FUSE_PROG= fuse2fs
36 SPROGS= mke2fs badblocks tune2fs dumpe2fs $(BLKID_PROG) logsave \
37 $(E2IMAGE_PROG) @FSCK_PROG@ e2undo
38 USPROGS= mklost+found filefrag e2freefrag $(UUIDD_PROG) \
39 $(E4DEFRAG_PROG) $(E4CRYPT_PROG)
40 SMANPAGES= tune2fs.8 mklost+found.8 mke2fs.8 dumpe2fs.8 badblocks.8 \
41 e2label.8 $(FINDFS_MAN) $(BLKID_MAN) $(E2IMAGE_MAN) \
42 logsave.8 filefrag.8 e2freefrag.8 e2undo.8 \
43 $(UUIDD_MAN) $(E4DEFRAG_MAN) $(E4CRYPT_MAN) @FSCK_MAN@ \
45 FMANPAGES= mke2fs.conf.5 ext4.5
47 UPROGS= chattr lsattr $(FUSE_PROG) @UUID_CMT@ uuidgen
48 UMANPAGES= chattr.1 lsattr.1 @UUID_CMT@ uuidgen.1
49 UMANPAGES+= @FUSE_CMT@ fuse2fs.1
51 LPROGS= @E2INITRD_PROG@
53 TUNE2FS_OBJS= tune2fs.o util.o journal.o recovery.o revoke.o
54 MKLPF_OBJS= mklost+found.o
55 MKE2FS_OBJS= mke2fs.o util.o default_profile.o mk_hugefiles.o \
59 UUIDGEN_OBJS= uuidgen.o
61 DUMPE2FS_OBJS= dumpe2fs.o
62 BADBLOCKS_OBJS= badblocks.o
63 E2IMAGE_OBJS= e2image.o
64 FSCK_OBJS= fsck.o base_device.o ismounted.o
66 FILEFRAG_OBJS= filefrag.o
68 E4DEFRAG_OBJS= e4defrag.o
69 E4CRYPT_OBJS= e4crypt.o
70 E2FREEFRAG_OBJS= e2freefrag.o
72 FUSE2FS_OBJS= fuse2fs.o journal.o recovery.o revoke.o
74 PROFILED_TUNE2FS_OBJS= profiled/tune2fs.o profiled/util.o profiled/journal.o \
75 profiled/recovery.o profiled/revoke.o
76 PROFILED_MKLPF_OBJS= profiled/mklost+found.o
77 PROFILED_MKE2FS_OBJS= profiled/mke2fs.o profiled/util.o \
78 profiled/default_profile.o \
79 profiled/mk_hugefiles.o \
80 profiled/create_inode.o
81 PROFILED_CHATTR_OBJS= profiled/chattr.o
82 PROFILED_LSATTR_OBJS= profiled/lsattr.o
83 PROFILED_UUIDGEN_OBJS= profiled/uuidgen.o
84 PROFILED_UUIDD_OBJS= profiled/uuidd.o
85 PROFILED_DUMPE2FS_OBJS= profiled/dumpe2fs.o
86 PROFILED_BADBLOCKS_OBJS= profiled/badblocks.o
87 PROFILED_E2IMAGE_OBJS= profiled/e2image.o
88 PROFILED_FSCK_OBJS= profiled/fsck.o profiled/base_device.o \
90 PROFILED_BLKID_OBJS= profiled/blkid.o
91 PROFILED_FILEFRAG_OBJS= profiled/filefrag.o
92 PROFILED_E2FREEFRAG_OBJS= profiled/e2freefrag.o
93 PROFILED_E2UNDO_OBJS= profiled/e2undo.o
94 PROFILED_E4DEFRAG_OBJS= profiled/e4defrag.o
95 PROFILED_E4CRYPT_OBJS= profiled/e4crypt.o
96 PROFILED_FUSE2FS_OJBS= profiled/fuse2fs.o profiled/journal.o \
97 profiled/recovery.o profiled/revoke.o
99 SRCS= $(srcdir)/tune2fs.c $(srcdir)/mklost+found.c $(srcdir)/mke2fs.c $(srcdir)/mk_hugefiles.c \
100 $(srcdir)/chattr.c $(srcdir)/lsattr.c $(srcdir)/dumpe2fs.c \
101 $(srcdir)/badblocks.c $(srcdir)/fsck.c $(srcdir)/util.c \
102 $(srcdir)/uuidgen.c $(srcdir)/blkid.c $(srcdir)/logsave.c \
103 $(srcdir)/filefrag.c $(srcdir)/base_device.c \
104 $(srcdir)/ismounted.c $(srcdir)/e2undo.c \
105 $(srcdir)/e2freefrag.c $(srcdir)/create_inode.c \
106 $(srcdir)/fuse2fs.c $(srcdir)/e2fuzz.c \
107 $(srcdir)/check_fuzzer.c \
108 $(srcdir)/../debugfs/journal.c $(srcdir)/../e2fsck/revoke.c \
109 $(srcdir)/../e2fsck/recovery.c
111 LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBSUPPORT)
112 DEPLIBS= $(LIBEXT2FS) $(DEPLIBCOM_ERR) $(DEPLIBSUPPORT)
113 PROFILED_LIBS= $(LIBSUPPORT) $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR)
114 PROFILED_DEPLIBS= $(DEPLIBSUPPORT) $(PROFILED_LIBEXT2FS) $(DEPPROFILED_LIBCOM_ERR)
116 STATIC_LIBS= $(LIBSUPPORT) $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR)
117 STATIC_DEPLIBS= $(DEPLIBSUPPORT) $(STATIC_LIBEXT2FS) $(DEPSTATIC_LIBCOM_ERR)
119 LIBS_E2P= $(LIBE2P) $(LIBCOM_ERR)
120 DEPLIBS_E2P= $(LIBE2P) $(DEPLIBCOM_ERR)
122 COMPILE_ET= _ET_DIR_OVERRIDE=$(srcdir)/../lib/et/et ../lib/et/compile_et
124 # This nastiness is needed because of jfs_user.h hackery; when we finally
125 # clean up this mess, we should be able to drop it
126 JOURNAL_CFLAGS = -I$(srcdir)/../e2fsck $(ALL_CFLAGS) -DDEBUGFS
127 DEPEND_CFLAGS = -I$(top_srcdir)/e2fsck
131 $(Q) $(CC) -c $(ALL_CFLAGS) $< -o $@
132 $(Q) $(CHECK_CMD) $(ALL_CFLAGS) $<
133 $(Q) $(CPPCHECK_CMD) $(CPPFLAGS) $<
134 @PROFILE_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
136 all:: profiled $(SPROGS) $(UPROGS) $(USPROGS) $(SMANPAGES) $(UMANPAGES) \
137 $(FMANPAGES) $(LPROGS) $(E4DEFRAG_PROG) $(E4CRYPT_PROGS) e2fuzz
139 @PROFILE_CMT@all:: tune2fs.profiled blkid.profiled e2image.profiled \
140 e2undo.profiled mke2fs.profiled dumpe2fs.profiled fsck.profiled \
141 logsave.profiled filefrag.profiled uuidgen.profiled $(UUIDD_PROFILED) \
142 e2image.profiled e4defrag.profiled e4crypt.profiled \
146 @PROFILE_CMT@ $(E) " MKDIR $@"
147 @PROFILE_CMT@ $(Q) mkdir profiled
149 mke2fs.conf: $(srcdir)/mke2fs.conf.in
150 if test -f $(srcdir)/mke2fs.conf.custom.in ; then \
151 cp $(srcdir)/mke2fs.conf.custom.in mke2fs.conf; \
153 cp $(srcdir)/mke2fs.conf.in mke2fs.conf; \
156 default_profile.c: mke2fs.conf $(srcdir)/profile-to-c.awk
157 $(E) " PROFILE_TO_C mke2fs.conf"
158 $(Q) $(AWK) -f $(srcdir)/profile-to-c.awk < mke2fs.conf \
160 findsuper: findsuper.o
162 $(Q) $(CC) $(ALL_LDFLAGS) -o findsuper findsuper.o $(LIBS) $(SYSLIBS)
164 partinfo: partinfo.o $(DEPLIBCOM_ERR)
166 $(Q) $(CC) $(ALL_LDFLAGS) -o partinfo partinfo.o $(LIBCOM_ERR)
168 e2initrd_helper: e2initrd_helper.o $(DEPLIBS) $(DEPLIBBLKID) $(LIBEXT2FS)
170 $(Q) $(CC) $(ALL_LDFLAGS) -o e2initrd_helper e2initrd_helper.o $(LIBS) \
171 $(LIBBLKID) $(LIBEXT2FS) $(LIBINTL) $(SYSLIBS)
173 tune2fs: $(TUNE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBBLKID) \
174 $(DEPLIBUUID) $(LIBEXT2FS)
176 $(Q) $(CC) $(ALL_LDFLAGS) -o tune2fs $(TUNE2FS_OBJS) $(LIBS) \
177 $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBS_E2P) \
178 $(LIBINTL) $(SYSLIBS) $(LIBBLKID) $(LIBMAGIC)
180 tune2fs.static: $(TUNE2FS_OBJS) $(STATIC_DEPLIBS) $(STATIC_LIBE2P) $(DEPSTATIC_LIBBLKID)
182 $(Q) $(CC) $(LDFLAGS_STATIC) -o tune2fs.static $(TUNE2FS_OBJS) \
183 $(STATIC_LIBS) $(STATIC_LIBBLKID) $(STATIC_LIBUUID) \
184 $(STATIC_LIBE2P) $(LIBINTL) $(SYSLIBS) \
185 $(STATIC_LIBBLKID) $(LIBMAGIC)
187 tune2fs.profiled: $(TUNE2FS_OBJS) $(PROFILED_DEPLIBS) \
188 $(PROFILED_E2P) $(DEPPROFILED_LIBBLKID) $(DEPPROFILED_LIBUUID)
190 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o tune2fs.profiled \
191 $(PROFILED_TUNE2FS_OBJS) $(PROFILED_LIBS) \
192 $(PROFILED_LIBBLKID) $(PROFILED_LIBUUID) $(PROFILED_LIBE2P) \
193 $(LIBINTL) $(SYSLIBS) $(PROFILED_LIBUUID) $(LIBMAGIC)
195 blkid: $(BLKID_OBJS) $(DEPLIBBLKID) $(LIBEXT2FS)
197 $(Q) $(CC) $(ALL_LDFLAGS) -o blkid $(BLKID_OBJS) $(LIBBLKID) $(LIBINTL) \
198 $(LIBEXT2FS) $(SYSLIBS)
200 blkid.static: $(BLKID_OBJS) $(STATIC_DEPLIBS) $(DEPSTATIC_LIBBLKID)
202 $(Q) $(CC) $(ALL_LDFLAGS) -o blkid.static $(BLKID_OBJS) $(STATIC_LIBS) \
203 $(STATIC_LIBBLKID) $(LIBINTL) $(SYSLIBS)
205 blkid.profiled: $(BLKID_OBJS) $(DEPPROFILED_LIBBLKID) \
206 $(PROFILED_LIBEXT2FS)
208 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o blkid.profiled $(PROFILED_BLKID_OBJS) \
209 $(PROFILED_LIBBLKID) $(LIBINTL) $(PROFILED_LIBEXT2FS) $(SYSLIBS)
211 e2image: $(E2IMAGE_OBJS) $(DEPLIBS) $(DEPLIBBLKID)
213 $(Q) $(CC) $(ALL_LDFLAGS) -o e2image $(E2IMAGE_OBJS) $(LIBS) \
214 $(LIBINTL) $(SYSLIBS) $(LIBBLKID) $(LIBMAGIC)
216 e2image.profiled: $(E2IMAGE_OBJS) $(PROFILED_DEPLIBS) $(DEPLIBBLKID)
218 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e2image.profiled \
219 $(PROFILED_E2IMAGE_OBJS) $(PROFILED_LIBS) $(LIBINTL) $(SYSLIBS) \
220 $(LIBBLKID) $(LIBMAGIC)
222 e2image.static: $(E2IMAGE_OBJS) $(PROFILED_DEPLIBS) $(DEPLIBBLKID)
224 $(Q) $(CC) $(LDFLAGS_STATIC) -g -pg -o e2image.static \
225 $(E2IMAGE_OBJS) $(STATIC_LIBS) $(LIBINTL) $(SYSLIBS) \
226 $(STATIC_LIBBLKID) $(LIBMAGIC)
228 e2undo: $(E2UNDO_OBJS) $(DEPLIBS)
230 $(Q) $(CC) $(ALL_LDFLAGS) -o e2undo $(E2UNDO_OBJS) $(LIBS) \
231 $(LIBINTL) $(SYSLIBS)
233 e2undo.profiled: $(E2UNDO_OBJS) $(PROFILED_DEPLIBS)
235 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e2undo.profiled \
236 $(PROFILED_E2UNDO_OBJS) $(PROFILED_LIBS) $(LIBINTL) $(SYSLIBS)
238 e4defrag: $(E4DEFRAG_OBJS) $(DEPLIBS)
240 $(Q) $(CC) $(ALL_LDFLAGS) -o e4defrag $(E4DEFRAG_OBJS) $(LIBS) \
243 e4crypt: $(E4CRYPT_OBJS) $(DEPLIBS) $(DEPSTATIC_LIBUUID)
245 $(Q) $(CC) $(ALL_LDFLAGS) -o e4crypt $(E4CRYPT_OBJS) \
246 $(LIBUUID) $(LIBS) $(SYSLIBS)
248 e4defrag.profiled: $(E4DEFRAG_OBJS) $(PROFILED_DEPLIBS)
250 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e4defrag.profiled \
251 $(PROFILED_E4DEFRAG_OBJS) $(PROFILED_LIBS) $(SYSLIBS)
253 e4crypt.profiled: $(E4CRYPT_OBJS) $(DEPPROFILED_LIBUUID) $(PROFILED_DEPLIBS)
255 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e4crypt.profiled \
256 $(PROFILED_E4CRYPT_OBJS) $(PROFILED_LIBUUID) $(PROFILED_LIBS) \
259 base_device: base_device.c
261 $(Q) $(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(srcdir)/base_device.c \
262 -DDEBUG -o base_device $(SYSLIBS)
264 fullcheck check:: base_device
265 ./base_device < $(srcdir)/base_device.tst > base_device.out
266 cmp $(srcdir)/base_device.tst base_device.out
268 mklost+found: $(MKLPF_OBJS)
270 $(Q) $(CC) $(ALL_LDFLAGS) -o mklost+found $(MKLPF_OBJS) \
271 $(LIBINTL) $(SYSLIBS)
273 mke2fs: $(MKE2FS_OBJS) $(DEPLIBS) $(LIBE2P) $(DEPLIBBLKID) $(DEPLIBUUID) \
276 $(Q) $(CC) $(ALL_LDFLAGS) -o mke2fs $(MKE2FS_OBJS) $(LIBS) $(LIBBLKID) \
277 $(LIBUUID) $(LIBEXT2FS) $(LIBE2P) $(LIBINTL) \
278 $(SYSLIBS) $(LIBMAGIC)
280 mke2fs.static: $(MKE2FS_OBJS) $(STATIC_DEPLIBS) $(STATIC_LIBE2P) $(DEPSTATIC_LIBUUID) \
281 $(DEPSTATIC_LIBBLKID)
283 $(Q) $(CC) $(LDFLAGS_STATIC) -o mke2fs.static $(MKE2FS_OBJS) \
284 $(STATIC_LIBS) $(STATIC_LIBE2P) \
285 $(STATIC_LIBBLKID) $(STATIC_LIBUUID) $(LIBINTL) $(SYSLIBS) \
288 mke2fs.profiled: $(MKE2FS_OBJS) $(PROFILED_DEPLIBS) \
289 $(PROFILED_LIBE2P) $(PROFILED_DEPLIBBLKID) $(PROFILED_DEPLIBUUID)
291 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o mke2fs.profiled \
292 $(PROFILED_MKE2FS_OBJS) $(PROFILED_LIBBLKID) \
293 $(PROFILED_LIBUUID) $(PROFILED_LIBE2P) \
294 $(LIBINTL) $(PROFILED_LIBS) $(SYSLIBS) $(LIBMAGIC)
296 chattr: $(CHATTR_OBJS) $(DEPLIBS_E2P)
298 $(Q) $(CC) $(ALL_LDFLAGS) -o chattr $(CHATTR_OBJS) $(LIBS_E2P) \
299 $(LIBINTL) $(SYSLIBS)
301 lsattr: $(LSATTR_OBJS) $(DEPLIBS_E2P)
303 $(Q) $(CC) $(ALL_LDFLAGS) -o lsattr $(LSATTR_OBJS) $(LIBS_E2P) \
304 $(LIBINTL) $(SYSLIBS)
306 uuidgen: $(UUIDGEN_OBJS) $(DEPLIBUUID)
308 $(Q) $(CC) $(ALL_LDFLAGS) -o uuidgen $(UUIDGEN_OBJS) $(LIBUUID) \
309 $(LIBINTL) $(SYSLIBS)
311 uuidgen.profiled: $(UUIDGEN_OBJS) $(PROFILED_DEPLIBUUID)
313 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o uuidgen.profiled \
314 $(PROFILED_UUIDGEN_OBJS) $(PROFILED_LIBUUID) $(LIBINTL) \
317 uuidd: $(UUIDD_OBJS) $(DEPLIBUUID)
319 $(Q) $(CC) $(ALL_LDFLAGS) -o uuidd $(UUIDD_OBJS) $(LIBUUID) \
320 $(LIBINTL) $(SYSLIBS)
322 uuidd.profiled: $(UUIDD_OBJS) $(PROFILED_DEPLIBUUID)
324 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o uuidd.profiled $(PROFILED_UUIDD_OBJS) \
325 $(PROFILED_LIBUUID) $(LIBINTL) $(SYSLIBS)
327 dumpe2fs: $(DUMPE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBUUID) $(DEPLIBBLKID)
329 $(Q) $(CC) $(ALL_LDFLAGS) -o dumpe2fs $(DUMPE2FS_OBJS) $(LIBS) \
330 $(LIBS_E2P) $(LIBUUID) $(LIBINTL) $(SYSLIBS) $(LIBBLKID) \
333 dumpe2fs.profiled: $(DUMPE2FS_OBJS) $(PROFILED_DEPLIBS) \
334 $(PROFILED_LIBE2P) $(PROFILED_DEPLIBUUID) $(PROFILED_DEPLIBBLKID)
336 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o dumpe2fs.profiled \
337 $(PROFILED_DUMPE2FS_OBJS) $(PROFILED_LIBS) \
338 $(PROFILED_LIBE2P) $(PROFILED_LIBUUID) $(LIBINTL) $(SYSLIBS) \
339 $(PROFILED_LIBBLKID) $(LIBMAGIC)
341 dumpe2fs.static: $(DUMPE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBUUID) $(DEPLIBBLKID)
343 $(Q) $(CC) $(LDFLAGS_STATIC) -o dumpe2fs.static $(DUMPE2FS_OBJS) \
344 $(STATIC_LIBS) $(STATIC_LIBE2P) $(STATIC_LIBUUID) \
345 $(LIBINTL) $(SYSLIBS) $(STATIC_LIBBLKID) $(LIBMAGIC)
347 fsck: $(FSCK_OBJS) $(DEPLIBBLKID)
349 $(Q) $(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBBLKID) \
350 $(LIBINTL) $(SYSLIBS)
352 fsck.profiled: $(FSCK_OBJS) $(PROFILED_DEPLIBBLKID)
354 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o fsck.profiled $(PROFILED_FSCK_OBJS) \
355 $(PROFILED_LIBBLKID) $(LIBINTL) $(SYSLIBS)
357 badblocks: $(BADBLOCKS_OBJS) $(DEPLIBS)
359 $(Q) $(CC) $(ALL_LDFLAGS) -o badblocks $(BADBLOCKS_OBJS) $(LIBS) \
360 $(LIBINTL) $(SYSLIBS)
362 badblocks.profiled: $(BADBLOCKS_OBJS) $(PROFILED_DEPLIBS)
364 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o badblocks.profiled \
365 $(PROFILED_BADBLOCKS_OBJS) $(PROFILED_LIBS) $(LIBINTL) \
370 $(Q) $(CC) $(ALL_LDFLAGS) -o logsave logsave.o $(SYSLIBS)
372 logsave.profiled: logsave.o
374 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o logsave.profiled \
375 profiled/logsave.o $(SYSLIBS)
377 e2freefrag: $(E2FREEFRAG_OBJS)
379 $(Q) $(CC) $(ALL_LDFLAGS) -o e2freefrag $(E2FREEFRAG_OBJS) \
382 e2freefrag.profiled: $(E2FREEFRAG_OBJS) $(PROFILED_DEPLIBS)
384 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e2freefrag.profiled \
385 $(PROFILED_E2FREEFRAG_OBJS) $(PROFILED_LIBS) $(SYSLIBS)
387 e2fuzz: $(E2FUZZ_OBJS) $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBUUID) \
390 $(Q) $(CC) $(ALL_LDFLAGS) -o e2fuzz $(E2FUZZ_OBJS) $(LIBS) \
391 $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(SYSLIBS)
393 check_fuzzer: check_fuzzer.o $(DEPLIBS)
395 $(Q) $(CC) $(ALL_LDFLAGS) -o check_fuzzer check_fuzzer.o $(LIBS)
397 filefrag: $(FILEFRAG_OBJS)
399 $(Q) $(CC) $(ALL_LDFLAGS) -o filefrag $(FILEFRAG_OBJS) $(SYSLIBS)
401 filefrag.profiled: $(FILEFRAG_OBJS)
403 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o filefrag.profiled \
404 $(PROFILED_FILEFRAG_OBJS)
406 fuse2fs: $(FUSE2FS_OBJS) $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBUUID) \
409 $(Q) $(CC) $(ALL_LDFLAGS) -o fuse2fs $(FUSE2FS_OBJS) $(LIBS) \
410 $(LIBFUSE) $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBINTL) \
411 $(CLOCK_GETTIME_LIB) $(SYSLIBS)
413 journal.o: $(srcdir)/../debugfs/journal.c
415 $(Q) $(CC) -c $(JOURNAL_CFLAGS) -I$(srcdir) \
416 $(srcdir)/../debugfs/journal.c -o $@
417 @PROFILE_CMT@ $(Q) $(CC) $(JOURNAL_CFLAGS) -g -pg -o profiled/$*.o -c $<
419 recovery.o: $(srcdir)/../e2fsck/recovery.c
421 $(Q) $(CC) -c $(JOURNAL_CFLAGS) -I$(srcdir) \
422 $(srcdir)/../e2fsck/recovery.c -o $@
423 @PROFILE_CMT@ $(Q) $(CC) $(JOURNAL_CFLAGS) -g -pg -o profiled/$*.o -c $<
425 revoke.o: $(srcdir)/../e2fsck/revoke.c
427 $(Q) $(CC) -c $(JOURNAL_CFLAGS) -I$(srcdir) \
428 $(srcdir)/../e2fsck/revoke.c -o $@
429 @PROFILE_CMT@ $(Q) $(CC) $(JOURNAL_CFLAGS) -g -pg -o profiled/$*.o -c $<
431 tst_ismounted: $(srcdir)/ismounted.c $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR)
433 $(CC) -o tst_ismounted $(srcdir)/ismounted.c -DDEBUG $(ALL_CFLAGS) \
434 $(LIBCOM_ERR) $(SYSLIBS)
435 @PROFILE_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
437 tune2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/tune2fs.8.in
439 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/tune2fs.8.in tune2fs.8
441 mklost+found.8: $(DEP_SUBSTITUTE) $(srcdir)/mklost+found.8.in
443 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/mklost+found.8.in mklost+found.8
445 mke2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.8.in
447 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.8.in mke2fs.8
449 mke2fs.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.conf.5.in
451 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.conf.5.in mke2fs.conf.5
453 ext4.5: $(DEP_SUBSTITUTE) $(srcdir)/ext4.5.in
455 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/$@.in $@
457 e2label.8: $(DEP_SUBSTITUTE) $(srcdir)/e2label.8.in
459 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2label.8.in e2label.8
461 e2undo.8: $(DEP_SUBSTITUTE) $(srcdir)/e2undo.8.in
463 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2undo.8.in e2undo.8
465 findfs.8: $(DEP_SUBSTITUTE) $(srcdir)/findfs.8.in
467 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/findfs.8.in findfs.8
469 e2image.8: $(DEP_SUBSTITUTE) $(srcdir)/e2image.8.in
471 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2image.8.in e2image.8
473 e4defrag.8: $(DEP_SUBSTITUTE) $(srcdir)/e4defrag.8.in
475 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e4defrag.8.in e4defrag.8
477 e4crypt.8: $(DEP_SUBSTITUTE) $(srcdir)/e4crypt.8.in
479 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e4crypt.8.in e4crypt.8
481 dumpe2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/dumpe2fs.8.in
483 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/dumpe2fs.8.in dumpe2fs.8
485 e2mmpstatus.8: $(DEP_SUBSTITUTE) $(srcdir)/e2mmpstatus.8.in
487 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2mmpstatus.8.in e2mmpstatus.8
489 badblocks.8: $(DEP_SUBSTITUTE) $(srcdir)/badblocks.8.in
491 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/badblocks.8.in badblocks.8
493 fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/fsck.8.in
495 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/fsck.8.in fsck.8
497 blkid.8: $(DEP_SUBSTITUTE) $(srcdir)/blkid.8.in
499 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/blkid.8.in blkid.8
501 logsave.8: $(DEP_SUBSTITUTE) $(srcdir)/logsave.8.in
503 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/logsave.8.in logsave.8
505 uuidd.8: $(DEP_SUBSTITUTE) $(srcdir)/uuidd.8.in
507 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/uuidd.8.in uuidd.8
509 chattr.1: $(DEP_SUBSTITUTE) $(srcdir)/chattr.1.in
511 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/chattr.1.in chattr.1
513 fuse2fs.1: $(DEP_SUBSTITUTE) $(srcdir)/fuse2fs.1.in
515 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/fuse2fs.1.in fuse2fs.1
517 lsattr.1: $(DEP_SUBSTITUTE) $(srcdir)/lsattr.1.in
519 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/lsattr.1.in lsattr.1
521 uuidgen.1: $(DEP_SUBSTITUTE) $(srcdir)/uuidgen.1.in
523 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/uuidgen.1.in uuidgen.1
525 blkid.1: $(DEP_SUBSTITUTE) $(srcdir)/blkid.1.in
527 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/blkid.1.in blkid.1
529 e2freefrag.8: $(DEP_SUBSTITUTE) $(srcdir)/e2freefrag.8.in
531 @$(SUBSTITUTE_UPTIME) $(srcdir)/e2freefrag.8.in e2freefrag.8
533 filefrag.8: $(DEP_SUBSTITUTE) $(srcdir)/filefrag.8.in
535 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/filefrag.8.in filefrag.8
538 $(E) " MKDIR_P $(sbindir) $(root_sbindir) $(bindir) $(man1dir) $(man8dir) $(libdir) $(root_sysconfdir)"
539 $(Q) $(MKDIR_P) $(DESTDIR)$(sbindir) \
540 $(DESTDIR)$(root_sbindir) $(DESTDIR)$(bindir) \
541 $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir) \
542 $(DESTDIR)$(man1dir) $(DESTDIR)$(man5dir) \
543 $(DESTDIR)$(libdir) $(DESTDIR)/$(root_sysconfdir)
545 install: all $(SMANPAGES) $(UMANPAGES) installdirs
546 $(Q) for i in $(SPROGS); do \
547 $(ES) " INSTALL $(root_sbindir)/$$i"; \
548 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
550 $(Q) for i in $(USPROGS); do \
551 $(ES) " INSTALL $(sbindir)/$$i"; \
552 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(sbindir)/$$i; \
554 $(Q) for i in ext2 ext3 ext4; do \
555 $(ES) " LINK $(root_sbindir)/mkfs.$$i"; \
556 (cd $(DESTDIR)$(root_sbindir); \
557 $(LN) $(LINK_INSTALL_FLAGS) mke2fs mkfs.$$i); \
559 $(Q) (cd $(DESTDIR)$(root_sbindir); \
560 $(LN) $(LINK_INSTALL_FLAGS) dumpe2fs e2mmpstatus)
561 $(Q) (cd $(DESTDIR)$(root_sbindir); \
562 $(LN) $(LINK_INSTALL_FLAGS) tune2fs e2label)
563 $(Q) if test -n "$(FINDFS_LINK)"; then \
564 $(ES) " LINK $(root_sbindir)/findfs"; \
565 (cd $(DESTDIR)$(root_sbindir); \
566 $(LN) $(LINK_INSTALL_FLAGS) tune2fs $(FINDFS_LINK)); \
568 $(Q) for i in $(UPROGS); do \
569 $(ES) " INSTALL $(bindir)/$$i"; \
570 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(bindir)/$$i; \
572 $(Q) for i in $(LPROGS); do \
573 $(ES) " INSTALL $(libdir)/$$i"; \
574 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(libdir)/$$i; \
576 $(Q) for i in $(SMANPAGES); do \
577 for j in $(COMPRESS_EXT); do \
578 $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
580 $(ES) " INSTALL_DATA $(man8dir)/$$i"; \
581 $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
583 $(Q) $(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8.gz \
584 $(DESTDIR)$(man8dir)/mkfs.ext3.8.gz
585 $(Q) for i in ext2 ext3 ext4; do \
586 $(ES) " LINK mkfs.$$i.8"; \
587 (cd $(DESTDIR)$(man8dir); \
588 $(LN) $(LINK_INSTALL_FLAGS) mke2fs.8 mkfs.$$i.8); \
590 $(Q) for i in $(UMANPAGES); do \
591 for j in $(COMPRESS_EXT); do \
592 $(RM) -f $(DESTDIR)$(man1dir)/$$i.$$j; \
594 $(ES) " INSTALL_DATA $(man1dir)/$$i"; \
595 $(INSTALL_DATA) $$i $(DESTDIR)$(man1dir)/$$i; \
597 $(Q) for i in $(FMANPAGES); do \
598 for j in $(COMPRESS_EXT); do \
599 $(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
601 $(ES) " INSTALL_DATA $(man5dir)/$$i"; \
602 $(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
604 $(Q) for i in ext2 ext3; do \
605 $(ES) " LINK $$i.5"; \
606 (cd $(DESTDIR)$(man5dir); \
607 $(LN) $(LINK_INSTALL_FLAGS) ext4.5 $$i.5); \
609 $(Q) if test -f $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; then \
610 if cmp -s $(DESTDIR)$(root_sysconfdir)/mke2fs.conf \
614 if grep -q ext4dev $(DESTDIR)$(root_sysconfdir)/mke2fs.conf ; then \
615 $(ES) " INSTALL_DATA $(root_sysconfdir)/mke2fs.conf.e2fsprogs-new"; \
616 $(INSTALL_DATA) mke2fs.conf \
617 $(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-new; \
618 echo "Warning: installing mke2fs.conf in $(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-new"; \
619 echo "Check to see if you need to update your $(root_sysconfdir)/mke2fs.conf"; \
621 $(ES) " INSTALL_DATA $(root_sysconfdir)/mke2fs.conf"; \
622 mv $(DESTDIR)$(root_sysconfdir)/mke2fs.conf \
623 $(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-old; \
624 $(INSTALL_DATA) mke2fs.conf \
625 $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; \
626 echo "Your mke2fs.conf is too old. Backing up old version in"; \
627 echo "$(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-old. Please check to see"; \
628 echo "if you have any local customizations that you wish to preserve."; \
633 $(ES) " INSTALL_DATA $(root_sysconfdir)/mke2fs.conf"; \
634 $(INSTALL_DATA) mke2fs.conf \
635 $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; \
638 install-strip: install
639 $(Q) for i in $(SPROGS); do \
640 $(E) " STRIP $(root_sbindir)/$$i"; \
641 $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
643 $(Q) for i in $(USPROGS); do \
644 $(E) " STRIP $(sbindir)/$$i"; \
645 $(STRIP) $(DESTDIR)$(sbindir)/$$i; \
649 for i in $(SPROGS); do \
650 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
652 for i in $(USPROGS); do \
653 $(RM) -f $(DESTDIR)$(sbindir)/$$i; \
655 for i in $(LPROGS); do \
656 $(RM) -f $(DESTDIR)$(libdir)/$$i; \
658 $(RM) -f $(DESTDIR)$(root_sbindir)/mkfs.ext2 \
659 $(DESTDIR)$(root_sbindir)/mkfs.ext3 \
660 $(DESTDIR)$(root_sbindir)/mkfs.ext4
661 for i in $(UPROGS); do \
662 $(RM) -f $(DESTDIR)$(bindir)/$$i; \
664 for i in $(SMANPAGES); do \
665 $(RM) -f $(DESTDIR)$(man8dir)/$$i; \
667 $(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8 \
668 $(DESTDIR)$(man8dir)/mkfs.ext3.8 \
669 $(DESTDIR)$(man8dir)/mkfs.ext4.8 \
670 $(DESTDIR)$(man8dir)/fsck.ext2.8 \
671 $(DESTDIR)$(man8dir)/fsck.ext3.8 \
672 $(DESTDIR)$(man8dir)/fsck.ext4.8
674 for i in $(UMANPAGES); do \
675 $(RM) -f $(DESTDIR)$(man1dir)/$$i; \
677 for i in $(FINDFS_LINK) e2label e2mmpstatus ; do \
678 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
680 for i in $(FMANPAGES); do \
681 $(RM) -f $(DESTDIR)$(man5dir)/$$i; \
683 $(Q) for i in ext2 ext3; do \
684 $(ES) " LINK $$i.5"; \
685 $(RM) -f $(DESTDIR)$(man5dir)/$$i.5; \
687 if cmp -s mke2fs.conf $(DESTDIR)/$(root_sysconfdir)/mke2fs.conf; then \
688 $(RM) $(DESTDIR)/$(root_sysconfdir)/mke2fs.conf; \
692 $(RM) -f $(SPROGS) $(USPROGS) $(UPROGS) $(UMANPAGES) $(SMANPAGES) \
693 $(FMANPAGES) profile.h \
694 base_device base_device.out mke2fs.static filefrag e2freefrag \
695 e2initrd_helper partinfo prof_err.[ch] default_profile.c \
696 uuidd e2image tune2fs.static tst_ismounted fsck.profiled \
697 blkid.profiled tune2fs.profiled e2image.profiled \
698 e2undo.profiled mke2fs.profiled dumpe2fs.profiled \
699 dumpe2fs.static e2image.static \
700 logsave.profiled filefrag.profiled uuidgen.profiled \
701 uuidd.profiled e2image.profiled e2fuzz mke2fs.conf \
702 profiled/*.o \#* *.s *.o *.a *~ core gmon.out
706 $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
708 # +++ Dependency line eater +++
710 # Makefile dependencies follow. This must be the last section in
711 # the Makefile.in file
713 tune2fs.o: $(srcdir)/tune2fs.c $(top_builddir)/lib/config.h \
714 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
715 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
716 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
717 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
718 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
719 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
720 $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h \
721 $(top_srcdir)/lib/support/plausible.h $(top_srcdir)/lib/support/quotaio.h \
722 $(top_srcdir)/lib/support/dqblk_v2.h \
723 $(top_srcdir)/lib/support/quotaio_tree.h $(top_srcdir)/lib/e2p/e2p.h \
724 $(srcdir)/util.h $(top_srcdir)/version.h \
725 $(top_srcdir)/lib/support/nls-enable.h
726 mklost+found.o: $(srcdir)/mklost+found.c $(top_builddir)/lib/config.h \
727 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
728 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/version.h \
729 $(top_srcdir)/lib/support/nls-enable.h
730 mke2fs.o: $(srcdir)/mke2fs.c $(top_builddir)/lib/config.h \
731 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
732 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fsP.h \
733 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
734 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
735 $(top_builddir)/lib/ext2fs/ext2_err.h \
736 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
737 $(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/util.h \
738 $(top_srcdir)/lib/support/nls-enable.h $(top_srcdir)/lib/support/plausible.h \
739 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
740 $(top_srcdir)/version.h $(top_srcdir)/lib/support/quotaio.h \
741 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/support/dqblk_v2.h \
742 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/mke2fs.h \
743 $(srcdir)/create_inode.h $(top_srcdir)/lib/e2p/e2p.h
744 mk_hugefiles.o: $(srcdir)/mk_hugefiles.c $(top_builddir)/lib/config.h \
745 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
746 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fsP.h \
747 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
748 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
749 $(top_builddir)/lib/ext2fs/ext2_err.h \
750 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
751 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/e2p/e2p.h \
752 $(top_srcdir)/lib/ext2fs/ext2fs.h $(srcdir)/util.h \
753 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
754 $(top_srcdir)/lib/support/nls-enable.h $(srcdir)/mke2fs.h
755 chattr.o: $(srcdir)/chattr.c $(top_builddir)/lib/config.h \
756 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
757 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/et/com_err.h \
758 $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/support/nls-enable.h \
759 $(top_srcdir)/version.h
760 lsattr.o: $(srcdir)/lsattr.c $(top_builddir)/lib/config.h \
761 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
762 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/et/com_err.h \
763 $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/support/nls-enable.h \
764 $(top_srcdir)/version.h
765 dumpe2fs.o: $(srcdir)/dumpe2fs.c $(top_builddir)/lib/config.h \
766 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
767 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
768 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
769 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
770 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
771 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/e2p/e2p.h \
772 $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
773 $(top_srcdir)/lib/ext2fs/kernel-list.h \
774 $(top_srcdir)/lib/support/nls-enable.h $(top_srcdir)/lib/support/plausible.h \
775 $(top_srcdir)/version.h
776 badblocks.o: $(srcdir)/badblocks.c $(top_builddir)/lib/config.h \
777 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/et/com_err.h \
778 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_types.h \
779 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
780 $(top_srcdir)/lib/ext2fs/ext3_extents.h \
781 $(top_builddir)/lib/ext2fs/ext2_err.h \
782 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
783 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/nls-enable.h
784 fsck.o: $(srcdir)/fsck.c $(top_builddir)/lib/config.h \
785 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/version.h \
786 $(top_srcdir)/lib/support/nls-enable.h $(srcdir)/fsck.h
787 util.o: $(srcdir)/util.c $(top_builddir)/lib/config.h \
788 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/et/com_err.h \
789 $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
790 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
791 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
792 $(top_builddir)/lib/ext2fs/ext2_err.h \
793 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
794 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/nls-enable.h \
796 uuidgen.o: $(srcdir)/uuidgen.c $(top_builddir)/lib/config.h \
797 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/support/nls-enable.h
798 blkid.o: $(srcdir)/blkid.c $(top_builddir)/lib/config.h \
799 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
800 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
801 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
802 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
803 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
804 $(top_srcdir)/lib/ext2fs/bitops.h
805 logsave.o: $(srcdir)/logsave.c $(top_builddir)/lib/config.h \
806 $(top_builddir)/lib/dirpaths.h
807 filefrag.o: $(srcdir)/filefrag.c $(top_builddir)/lib/config.h \
808 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
809 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
810 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
811 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
812 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
813 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/fiemap.h
814 base_device.o: $(srcdir)/base_device.c $(top_builddir)/lib/config.h \
815 $(top_builddir)/lib/dirpaths.h $(srcdir)/fsck.h
816 ismounted.o: $(srcdir)/ismounted.c $(top_builddir)/lib/config.h \
817 $(top_builddir)/lib/dirpaths.h $(srcdir)/fsck.h \
818 $(top_srcdir)/lib/et/com_err.h
819 e2undo.o: $(srcdir)/e2undo.c $(top_builddir)/lib/config.h \
820 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
821 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
822 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
823 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
824 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
825 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/nls-enable.h
826 e2freefrag.o: $(srcdir)/e2freefrag.c $(top_builddir)/lib/config.h \
827 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
828 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
829 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
830 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
831 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
832 $(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/e2freefrag.h $(srcdir)/fsmap.h
833 create_inode.o: $(srcdir)/create_inode.c $(top_builddir)/lib/config.h \
834 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
835 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
836 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
837 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
838 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
839 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/fiemap.h \
840 $(srcdir)/create_inode.h $(top_srcdir)/lib/e2p/e2p.h \
841 $(top_srcdir)/lib/support/nls-enable.h
842 fuse2fs.o: $(srcdir)/fuse2fs.c $(top_builddir)/lib/config.h \
843 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
844 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
845 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
846 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
847 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
848 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/version.h
849 e2fuzz.o: $(srcdir)/e2fuzz.c $(top_builddir)/lib/config.h \
850 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
851 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
852 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
853 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
854 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
855 $(top_srcdir)/lib/ext2fs/bitops.h
856 check_fuzzer.o: $(srcdir)/check_fuzzer.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
857 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
858 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
859 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
860 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
861 $(top_srcdir)/lib/ext2fs/bitops.h
862 journal.o: $(srcdir)/../debugfs/journal.c $(top_builddir)/lib/config.h \
863 $(top_builddir)/lib/dirpaths.h $(srcdir)/../debugfs/journal.h \
864 $(top_srcdir)/e2fsck/jfs_user.h $(top_srcdir)/e2fsck/e2fsck.h \
865 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
866 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
867 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
868 $(top_builddir)/lib/ext2fs/ext2_err.h \
869 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
870 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/profile.h \
871 $(top_builddir)/lib/support/prof_err.h $(top_srcdir)/lib/support/quotaio.h \
872 $(top_srcdir)/lib/support/dqblk_v2.h \
873 $(top_srcdir)/lib/support/quotaio_tree.h \
874 $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
875 $(top_srcdir)/lib/ext2fs/kernel-list.h
876 revoke.o: $(srcdir)/../e2fsck/revoke.c $(srcdir)/../e2fsck/jfs_user.h \
877 $(top_builddir)/lib/config.h $(top_builddir)/lib/dirpaths.h \
878 $(srcdir)/../e2fsck/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
879 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
880 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
881 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
882 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
883 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/profile.h \
884 $(top_builddir)/lib/support/prof_err.h $(top_srcdir)/lib/support/quotaio.h \
885 $(top_srcdir)/lib/support/dqblk_v2.h \
886 $(top_srcdir)/lib/support/quotaio_tree.h \
887 $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
888 $(top_srcdir)/lib/ext2fs/kernel-list.h
889 recovery.o: $(srcdir)/../e2fsck/recovery.c $(srcdir)/../e2fsck/jfs_user.h \
890 $(top_builddir)/lib/config.h $(top_builddir)/lib/dirpaths.h \
891 $(srcdir)/../e2fsck/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
892 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
893 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
894 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
895 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
896 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/profile.h \
897 $(top_builddir)/lib/support/prof_err.h $(top_srcdir)/lib/support/quotaio.h \
898 $(top_srcdir)/lib/support/dqblk_v2.h \
899 $(top_srcdir)/lib/support/quotaio_tree.h \
900 $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
901 $(top_srcdir)/lib/ext2fs/kernel-list.h