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_STATIC= e2image.static
23 @IMAGER_CMT@E2IMAGE_MAN= e2image.8
25 @UUIDD_CMT@UUIDD_PROG= uuidd
26 @UUIDD_CMT@UUIDD_STATIC= uuidd.static
27 @UUIDD_CMT@UUIDD_MAN= uuidd.8
28 @UUIDD_CMT@UUIDD_PROFILED= uuidd.profiled
30 @BLKID_CMT@BLKID_PROG= blkid
31 @BLKID_CMT@BLKID_STATIC= blkid.static
32 @BLKID_CMT@BLKID_MAN= blkid.8
34 @BLKID_CMT@FINDFS_LINK= findfs
35 @BLKID_CMT@FINDFS_MAN= findfs.8
37 @FUSE_CMT@FUSE_PROG= fuse2fs
39 SPROGS= mke2fs badblocks tune2fs dumpe2fs $(BLKID_PROG) logsave \
40 $(E2IMAGE_PROG) @FSCK_PROG@ e2undo
41 USPROGS= mklost+found filefrag e2freefrag $(UUIDD_PROG) \
42 $(E4DEFRAG_PROG) $(E4CRYPT_PROG)
43 SMANPAGES= tune2fs.8 mklost+found.8 mke2fs.8 dumpe2fs.8 badblocks.8 \
44 e2label.8 $(FINDFS_MAN) $(BLKID_MAN) $(E2IMAGE_MAN) \
45 logsave.8 filefrag.8 e2freefrag.8 e2undo.8 \
46 $(UUIDD_MAN) $(E4DEFRAG_MAN) $(E4CRYPT_MAN) @FSCK_MAN@ \
48 FMANPAGES= mke2fs.conf.5 ext4.5
50 UPROGS= chattr lsattr $(FUSE_PROG) @UUID_CMT@ uuidgen
51 UMANPAGES= chattr.1 lsattr.1 @UUID_CMT@ uuidgen.1
52 UMANPAGES+= @FUSE_CMT@ fuse2fs.1
54 LPROGS= @E2INITRD_PROG@
56 TUNE2FS_OBJS= tune2fs.o util.o journal.o recovery.o revoke.o
57 MKLPF_OBJS= mklost+found.o
58 MKE2FS_OBJS= mke2fs.o util.o default_profile.o mk_hugefiles.o \
59 create_inode.o create_inode_libarchive.o
62 UUIDGEN_OBJS= uuidgen.o
64 DUMPE2FS_OBJS= dumpe2fs.o
65 BADBLOCKS_OBJS= badblocks.o
66 E2IMAGE_OBJS= e2image.o
67 FSCK_OBJS= fsck.o base_device.o ismounted.o
69 FILEFRAG_OBJS= filefrag.o
71 E4DEFRAG_OBJS= e4defrag.o
72 E4CRYPT_OBJS= e4crypt.o
73 E2FREEFRAG_OBJS= e2freefrag.o
75 FUSE2FS_OBJS= fuse2fs.o journal.o recovery.o revoke.o
77 PROFILED_TUNE2FS_OBJS= profiled/tune2fs.o profiled/util.o profiled/journal.o \
78 profiled/recovery.o profiled/revoke.o
79 PROFILED_MKLPF_OBJS= profiled/mklost+found.o
80 PROFILED_MKE2FS_OBJS= profiled/mke2fs.o profiled/util.o \
81 profiled/default_profile.o \
82 profiled/mk_hugefiles.o \
83 profiled/create_inode.o \
84 profiled/create_inode_libarchive.o
85 PROFILED_CHATTR_OBJS= profiled/chattr.o
86 PROFILED_LSATTR_OBJS= profiled/lsattr.o
87 PROFILED_UUIDGEN_OBJS= profiled/uuidgen.o
88 PROFILED_UUIDD_OBJS= profiled/uuidd.o
89 PROFILED_DUMPE2FS_OBJS= profiled/dumpe2fs.o
90 PROFILED_BADBLOCKS_OBJS= profiled/badblocks.o
91 PROFILED_E2IMAGE_OBJS= profiled/e2image.o
92 PROFILED_FSCK_OBJS= profiled/fsck.o profiled/base_device.o \
94 PROFILED_BLKID_OBJS= profiled/blkid.o
95 PROFILED_FILEFRAG_OBJS= profiled/filefrag.o
96 PROFILED_E2FREEFRAG_OBJS= profiled/e2freefrag.o
97 PROFILED_E2UNDO_OBJS= profiled/e2undo.o
98 PROFILED_E4DEFRAG_OBJS= profiled/e4defrag.o
99 PROFILED_E4CRYPT_OBJS= profiled/e4crypt.o
100 PROFILED_FUSE2FS_OJBS= profiled/fuse2fs.o profiled/journal.o \
101 profiled/recovery.o profiled/revoke.o
103 SRCS= $(srcdir)/tune2fs.c $(srcdir)/mklost+found.c $(srcdir)/mke2fs.c $(srcdir)/mk_hugefiles.c \
104 $(srcdir)/chattr.c $(srcdir)/lsattr.c $(srcdir)/dumpe2fs.c \
105 $(srcdir)/badblocks.c $(srcdir)/fsck.c $(srcdir)/util.c \
106 $(srcdir)/uuidgen.c $(srcdir)/blkid.c $(srcdir)/logsave.c \
107 $(srcdir)/filefrag.c $(srcdir)/base_device.c \
108 $(srcdir)/ismounted.c $(srcdir)/e2undo.c \
109 $(srcdir)/e2freefrag.c $(srcdir)/create_inode.c \
110 $(srcdir)/fuse2fs.c $(srcdir)/e2fuzz.c \
111 $(srcdir)/check_fuzzer.c \
112 $(srcdir)/../debugfs/journal.c $(srcdir)/../e2fsck/revoke.c \
113 $(srcdir)/../e2fsck/recovery.c
115 LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBSUPPORT)
116 DEPLIBS= $(LIBEXT2FS) $(DEPLIBCOM_ERR) $(DEPLIBSUPPORT)
117 PROFILED_LIBS= $(LIBSUPPORT) $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR)
118 PROFILED_DEPLIBS= $(DEPLIBSUPPORT) $(PROFILED_LIBEXT2FS) $(DEPPROFILED_LIBCOM_ERR)
120 STATIC_LIBS= $(LIBSUPPORT) $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR)
121 STATIC_DEPLIBS= $(DEPLIBSUPPORT) $(STATIC_LIBEXT2FS) $(DEPSTATIC_LIBCOM_ERR)
123 LIBS_E2P= $(LIBE2P) $(LIBCOM_ERR)
124 DEPLIBS_E2P= $(LIBE2P) $(DEPLIBCOM_ERR)
126 COMPILE_ET= _ET_DIR_OVERRIDE=$(srcdir)/../lib/et/et ../lib/et/compile_et
128 # This nastiness is needed because of jfs_user.h hackery; when we finally
129 # clean up this mess, we should be able to drop it
130 JOURNAL_CFLAGS = -I$(srcdir)/../e2fsck $(ALL_CFLAGS) -DDEBUGFS
131 DEPEND_CFLAGS = -I$(top_srcdir)/e2fsck
135 $(Q) $(CC) -c $(ALL_CFLAGS) $< -o $@
136 $(Q) $(CHECK_CMD) $(ALL_CFLAGS) $<
137 $(Q) $(CPPCHECK_CMD) $(CPPFLAGS) $<
138 @PROFILE_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
140 all:: profiled $(SPROGS) $(UPROGS) $(USPROGS) $(SMANPAGES) $(UMANPAGES) \
141 $(FMANPAGES) $(LPROGS) $(E4DEFRAG_PROG) $(E4CRYPT_PROGS) e2fuzz
143 all-static:: $(E2IMAGE_STATIC) $(UUIDD_STATIC) $(BLKID_STATIC) \
144 dumpe2fs.static mke2fs.static tune2fs.static lsattr.static chattr.static
146 @PROFILE_CMT@all:: tune2fs.profiled blkid.profiled e2image.profiled \
147 e2undo.profiled mke2fs.profiled dumpe2fs.profiled fsck.profiled \
148 logsave.profiled filefrag.profiled uuidgen.profiled $(UUIDD_PROFILED) \
149 e2image.profiled e4defrag.profiled e4crypt.profiled \
153 @PROFILE_CMT@ $(E) " MKDIR $@"
154 @PROFILE_CMT@ $(Q) mkdir profiled
156 mke2fs.conf: $(srcdir)/mke2fs.conf.in
157 if test -f $(srcdir)/mke2fs.conf.custom.in ; then \
158 cp $(srcdir)/mke2fs.conf.custom.in mke2fs.conf; \
160 cp $(srcdir)/mke2fs.conf.in mke2fs.conf; \
163 default_profile.c: mke2fs.conf $(srcdir)/profile-to-c.awk
164 $(E) " PROFILE_TO_C mke2fs.conf"
165 $(Q) $(AWK) -f $(srcdir)/profile-to-c.awk < mke2fs.conf \
167 findsuper: findsuper.o
169 $(Q) $(CC) $(ALL_LDFLAGS) -o findsuper findsuper.o $(LIBS) $(SYSLIBS)
171 partinfo: partinfo.o $(DEPLIBCOM_ERR)
173 $(Q) $(CC) $(ALL_LDFLAGS) -o partinfo partinfo.o $(LIBCOM_ERR)
175 e2initrd_helper: e2initrd_helper.o $(DEPLIBS) $(DEPLIBBLKID) $(LIBEXT2FS)
177 $(Q) $(CC) $(ALL_LDFLAGS) -o e2initrd_helper e2initrd_helper.o $(LIBS) \
178 $(LIBBLKID) $(LIBEXT2FS) $(LIBINTL) $(SYSLIBS)
180 tune2fs: $(TUNE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBBLKID) \
181 $(DEPLIBUUID) $(LIBEXT2FS)
183 $(Q) $(CC) $(ALL_LDFLAGS) -o tune2fs $(TUNE2FS_OBJS) $(LIBS) \
184 $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBS_E2P) \
185 $(LIBINTL) $(SYSLIBS) $(LIBBLKID) $(LIBMAGIC)
187 tune2fs.static: $(TUNE2FS_OBJS) $(STATIC_DEPLIBS) $(STATIC_LIBE2P) $(DEPSTATIC_LIBBLKID)
189 $(Q) $(CC) $(LDFLAGS_STATIC) -o tune2fs.static $(TUNE2FS_OBJS) \
190 $(STATIC_LIBS) $(STATIC_LIBBLKID) $(STATIC_LIBUUID) \
191 $(STATIC_LIBE2P) $(LIBINTL) $(SYSLIBS) \
192 $(STATIC_LIBBLKID) $(LIBMAGIC)
194 tune2fs.profiled: $(TUNE2FS_OBJS) $(PROFILED_DEPLIBS) \
195 $(PROFILED_E2P) $(DEPPROFILED_LIBBLKID) $(DEPPROFILED_LIBUUID)
197 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o tune2fs.profiled \
198 $(PROFILED_TUNE2FS_OBJS) $(PROFILED_LIBS) \
199 $(PROFILED_LIBBLKID) $(PROFILED_LIBUUID) $(PROFILED_LIBE2P) \
200 $(LIBINTL) $(SYSLIBS) $(PROFILED_LIBUUID) $(LIBMAGIC)
202 blkid: $(BLKID_OBJS) $(DEPLIBBLKID) $(LIBEXT2FS)
204 $(Q) $(CC) $(ALL_LDFLAGS) -o blkid $(BLKID_OBJS) $(LIBBLKID) $(LIBINTL) \
205 $(LIBEXT2FS) $(SYSLIBS)
207 blkid.static: $(BLKID_OBJS) $(STATIC_DEPLIBS) $(DEPSTATIC_LIBBLKID)
209 $(Q) $(CC) $(ALL_LDFLAGS) -o blkid.static $(BLKID_OBJS) $(STATIC_LIBS) \
210 $(STATIC_LIBBLKID) $(LIBINTL) $(SYSLIBS)
212 blkid.profiled: $(BLKID_OBJS) $(DEPPROFILED_LIBBLKID) \
213 $(PROFILED_LIBEXT2FS)
215 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o blkid.profiled $(PROFILED_BLKID_OBJS) \
216 $(PROFILED_LIBBLKID) $(LIBINTL) $(PROFILED_LIBEXT2FS) $(SYSLIBS)
218 e2image: $(E2IMAGE_OBJS) $(DEPLIBS) $(DEPLIBBLKID)
220 $(Q) $(CC) $(ALL_LDFLAGS) -o e2image $(E2IMAGE_OBJS) $(LIBS) \
221 $(LIBINTL) $(SYSLIBS) $(LIBBLKID) $(LIBMAGIC)
223 e2image.profiled: $(E2IMAGE_OBJS) $(PROFILED_DEPLIBS) $(DEPLIBBLKID)
225 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e2image.profiled \
226 $(PROFILED_E2IMAGE_OBJS) $(PROFILED_LIBS) $(LIBINTL) $(SYSLIBS) \
227 $(LIBBLKID) $(LIBMAGIC)
229 e2image.static: $(E2IMAGE_OBJS) $(PROFILED_DEPLIBS) $(DEPLIBBLKID)
231 $(Q) $(CC) $(LDFLAGS_STATIC) -g -pg -o e2image.static \
232 $(E2IMAGE_OBJS) $(STATIC_LIBS) $(LIBINTL) $(SYSLIBS) \
233 $(STATIC_LIBBLKID) $(LIBMAGIC)
235 e2undo: $(E2UNDO_OBJS) $(DEPLIBS)
237 $(Q) $(CC) $(ALL_LDFLAGS) -o e2undo $(E2UNDO_OBJS) $(LIBS) \
238 $(LIBINTL) $(SYSLIBS)
240 e2undo.profiled: $(E2UNDO_OBJS) $(PROFILED_DEPLIBS)
242 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e2undo.profiled \
243 $(PROFILED_E2UNDO_OBJS) $(PROFILED_LIBS) $(LIBINTL) $(SYSLIBS)
245 e4defrag: $(E4DEFRAG_OBJS) $(DEPLIBS)
247 $(Q) $(CC) $(ALL_LDFLAGS) -o e4defrag $(E4DEFRAG_OBJS) $(LIBS) \
250 e4crypt: $(E4CRYPT_OBJS) $(DEPLIBS) $(DEPSTATIC_LIBUUID)
252 $(Q) $(CC) $(ALL_LDFLAGS) -o e4crypt $(E4CRYPT_OBJS) \
253 $(LIBUUID) $(LIBS) $(SYSLIBS)
255 e4defrag.profiled: $(E4DEFRAG_OBJS) $(PROFILED_DEPLIBS)
257 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e4defrag.profiled \
258 $(PROFILED_E4DEFRAG_OBJS) $(PROFILED_LIBS) $(SYSLIBS)
260 e4crypt.profiled: $(E4CRYPT_OBJS) $(DEPPROFILED_LIBUUID) $(PROFILED_DEPLIBS)
262 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e4crypt.profiled \
263 $(PROFILED_E4CRYPT_OBJS) $(PROFILED_LIBUUID) $(PROFILED_LIBS) \
266 base_device: base_device.c
268 $(Q) $(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(srcdir)/base_device.c \
269 -DDEBUG -o base_device $(SYSLIBS)
271 fullcheck check:: base_device
272 ./base_device < $(srcdir)/base_device.tst > base_device.out
273 cmp $(srcdir)/base_device.tst base_device.out
275 mklost+found: $(MKLPF_OBJS)
277 $(Q) $(CC) $(ALL_LDFLAGS) -o mklost+found $(MKLPF_OBJS) \
278 $(LIBINTL) $(SYSLIBS)
280 mke2fs: $(MKE2FS_OBJS) $(DEPLIBS) $(LIBE2P) $(DEPLIBBLKID) $(DEPLIBUUID) \
283 $(Q) $(CC) $(ALL_LDFLAGS) -o mke2fs $(MKE2FS_OBJS) $(LIBS) $(LIBBLKID) \
284 $(LIBUUID) $(LIBEXT2FS) $(LIBE2P) $(LIBINTL) \
285 $(SYSLIBS) $(LIBMAGIC) $(LIBARCHIVE)
287 mke2fs.static: $(MKE2FS_OBJS) $(STATIC_DEPLIBS) $(STATIC_LIBE2P) $(DEPSTATIC_LIBUUID) \
288 $(DEPSTATIC_LIBBLKID)
290 $(Q) $(CC) $(LDFLAGS_STATIC) -o mke2fs.static $(MKE2FS_OBJS) \
291 $(STATIC_LIBS) $(STATIC_LIBE2P) \
292 $(STATIC_LIBBLKID) $(STATIC_LIBUUID) $(LIBINTL) $(SYSLIBS) \
295 mke2fs.profiled: $(MKE2FS_OBJS) $(PROFILED_DEPLIBS) \
296 $(PROFILED_LIBE2P) $(PROFILED_DEPLIBBLKID) $(PROFILED_DEPLIBUUID)
298 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o mke2fs.profiled \
299 $(PROFILED_MKE2FS_OBJS) $(PROFILED_LIBBLKID) \
300 $(PROFILED_LIBUUID) $(PROFILED_LIBE2P) \
301 $(LIBINTL) $(PROFILED_LIBS) $(SYSLIBS) $(LIBMAGIC)
303 chattr: $(CHATTR_OBJS) $(DEPLIBS_E2P)
305 $(Q) $(CC) $(ALL_LDFLAGS) -o chattr $(CHATTR_OBJS) $(LIBS_E2P) \
306 $(LIBINTL) $(SYSLIBS)
308 chattr.static: $(CHATTR_OBJS) $(STATIC_LIBE2P) $(STATIC_LIBCOM_ERR)
310 $(Q) $(CC) $(ALL_LDFLAGS) -o chattr.static $(CHATTR_OBJS) $(STATIC_LIBE2P) \
311 $(STATIC_LIBCOM_ERR) $(LIBINTL) $(SYSLIBS)
313 lsattr: $(LSATTR_OBJS) $(DEPLIBS_E2P)
315 $(Q) $(CC) $(ALL_LDFLAGS) -o lsattr $(LSATTR_OBJS) $(LIBS_E2P) \
316 $(LIBINTL) $(SYSLIBS)
318 lsattr.static: $(LSATTR_OBJS) $(STATIC_LIBE2P) $(STATIC_LIBCOM_ERR)
320 $(Q) $(CC) $(ALL_LDFLAGS) -o lsattr.static $(LSATTR_OBJS) $(STATIC_LIBE2P) \
321 $(STATIC_LIBCOM_ERR) $(LIBINTL) $(SYSLIBS)
323 uuidgen: $(UUIDGEN_OBJS) $(DEPLIBUUID)
325 $(Q) $(CC) $(ALL_LDFLAGS) -o uuidgen $(UUIDGEN_OBJS) $(LIBUUID) \
326 $(LIBINTL) $(SYSLIBS)
328 uuidgen.profiled: $(UUIDGEN_OBJS) $(PROFILED_DEPLIBUUID)
330 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o uuidgen.profiled \
331 $(PROFILED_UUIDGEN_OBJS) $(PROFILED_LIBUUID) $(LIBINTL) \
334 uuidd: $(UUIDD_OBJS) $(DEPLIBUUID)
336 $(Q) $(CC) $(ALL_LDFLAGS) -o uuidd $(UUIDD_OBJS) $(LIBUUID) \
337 $(LIBINTL) $(SYSLIBS)
339 uuidd.profiled: $(UUIDD_OBJS) $(PROFILED_DEPLIBUUID)
341 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o uuidd.profiled $(PROFILED_UUIDD_OBJS) \
342 $(PROFILED_LIBUUID) $(LIBINTL) $(SYSLIBS)
344 dumpe2fs: $(DUMPE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBUUID) $(DEPLIBBLKID)
346 $(Q) $(CC) $(ALL_LDFLAGS) -o dumpe2fs $(DUMPE2FS_OBJS) $(LIBS) \
347 $(LIBS_E2P) $(LIBUUID) $(LIBINTL) $(SYSLIBS) $(LIBBLKID) \
350 dumpe2fs.profiled: $(DUMPE2FS_OBJS) $(PROFILED_DEPLIBS) \
351 $(PROFILED_LIBE2P) $(PROFILED_DEPLIBUUID) $(PROFILED_DEPLIBBLKID)
353 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o dumpe2fs.profiled \
354 $(PROFILED_DUMPE2FS_OBJS) $(PROFILED_LIBS) \
355 $(PROFILED_LIBE2P) $(PROFILED_LIBUUID) $(LIBINTL) $(SYSLIBS) \
356 $(PROFILED_LIBBLKID) $(LIBMAGIC)
358 dumpe2fs.static: $(DUMPE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBUUID) $(DEPLIBBLKID)
360 $(Q) $(CC) $(LDFLAGS_STATIC) -o dumpe2fs.static $(DUMPE2FS_OBJS) \
361 $(STATIC_LIBS) $(STATIC_LIBE2P) $(STATIC_LIBUUID) \
362 $(LIBINTL) $(SYSLIBS) $(STATIC_LIBBLKID) $(LIBMAGIC)
364 fsck: $(FSCK_OBJS) $(DEPLIBBLKID) $(DEPLIBS)
366 $(Q) $(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBBLKID) \
367 $(LIBINTL) $(SYSLIBS) $(LIBS)
369 fsck.profiled: $(FSCK_OBJS) $(PROFILED_DEPLIBBLKID) $(PROFILED_DEPLIBS)
371 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o fsck.profiled $(PROFILED_FSCK_OBJS) \
372 $(PROFILED_LIBBLKID) $(LIBINTL) $(SYSLIBS) $(PROFILED_LIBS)
374 badblocks: $(BADBLOCKS_OBJS) $(DEPLIBS)
376 $(Q) $(CC) $(ALL_LDFLAGS) -o badblocks $(BADBLOCKS_OBJS) $(LIBS) \
377 $(LIBINTL) $(SYSLIBS)
379 badblocks.profiled: $(BADBLOCKS_OBJS) $(PROFILED_DEPLIBS)
381 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o badblocks.profiled \
382 $(PROFILED_BADBLOCKS_OBJS) $(PROFILED_LIBS) $(LIBINTL) \
387 $(Q) $(CC) $(ALL_LDFLAGS) -o logsave logsave.o $(SYSLIBS)
389 logsave.profiled: logsave.o
391 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o logsave.profiled \
392 profiled/logsave.o $(SYSLIBS)
394 e2freefrag: $(E2FREEFRAG_OBJS)
396 $(Q) $(CC) $(ALL_LDFLAGS) -o e2freefrag $(E2FREEFRAG_OBJS) \
399 e2freefrag.profiled: $(E2FREEFRAG_OBJS) $(PROFILED_DEPLIBS)
401 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e2freefrag.profiled \
402 $(PROFILED_E2FREEFRAG_OBJS) $(PROFILED_LIBS) $(SYSLIBS)
404 e2fuzz: $(E2FUZZ_OBJS) $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBUUID) \
407 $(Q) $(CC) $(ALL_LDFLAGS) -o e2fuzz $(E2FUZZ_OBJS) $(LIBS) \
408 $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(SYSLIBS)
410 check_fuzzer: check_fuzzer.o $(DEPLIBS)
412 $(Q) $(CC) $(ALL_LDFLAGS) -o check_fuzzer check_fuzzer.o $(LIBS)
414 filefrag: $(FILEFRAG_OBJS)
416 $(Q) $(CC) $(ALL_LDFLAGS) -o filefrag $(FILEFRAG_OBJS) $(SYSLIBS)
418 filefrag.profiled: $(FILEFRAG_OBJS)
420 $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o filefrag.profiled \
421 $(PROFILED_FILEFRAG_OBJS)
423 fuse2fs: $(FUSE2FS_OBJS) $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBUUID) \
426 $(Q) $(CC) $(ALL_LDFLAGS) -o fuse2fs $(FUSE2FS_OBJS) $(LIBS) \
427 $(LIBFUSE) $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBINTL) \
428 $(CLOCK_GETTIME_LIB) $(SYSLIBS)
430 journal.o: $(srcdir)/../debugfs/journal.c
432 $(Q) $(CC) -c $(JOURNAL_CFLAGS) -I$(srcdir) \
433 $(srcdir)/../debugfs/journal.c -o $@
434 @PROFILE_CMT@ $(Q) $(CC) $(JOURNAL_CFLAGS) -g -pg -o profiled/$*.o -c $<
436 recovery.o: $(srcdir)/../e2fsck/recovery.c
438 $(Q) $(CC) -c $(JOURNAL_CFLAGS) -I$(srcdir) \
439 $(srcdir)/../e2fsck/recovery.c -o $@
440 @PROFILE_CMT@ $(Q) $(CC) $(JOURNAL_CFLAGS) -g -pg -o profiled/$*.o -c $<
442 revoke.o: $(srcdir)/../e2fsck/revoke.c
444 $(Q) $(CC) -c $(JOURNAL_CFLAGS) -I$(srcdir) \
445 $(srcdir)/../e2fsck/revoke.c -o $@
446 @PROFILE_CMT@ $(Q) $(CC) $(JOURNAL_CFLAGS) -g -pg -o profiled/$*.o -c $<
448 tst_ismounted: $(srcdir)/ismounted.c $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR)
450 $(CC) -o tst_ismounted $(srcdir)/ismounted.c -DDEBUG $(ALL_CFLAGS) \
451 $(LIBCOM_ERR) $(SYSLIBS)
452 @PROFILE_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
454 tune2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/tune2fs.8.in
456 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/tune2fs.8.in tune2fs.8
458 mklost+found.8: $(DEP_SUBSTITUTE) $(srcdir)/mklost+found.8.in
460 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/mklost+found.8.in mklost+found.8
462 mke2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.8.in
464 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.8.in mke2fs.8
466 mke2fs.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.conf.5.in
468 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.conf.5.in mke2fs.conf.5
470 ext4.5: $(DEP_SUBSTITUTE) $(srcdir)/ext4.5.in
472 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/$@.in $@
474 e2label.8: $(DEP_SUBSTITUTE) $(srcdir)/e2label.8.in
476 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2label.8.in e2label.8
478 e2undo.8: $(DEP_SUBSTITUTE) $(srcdir)/e2undo.8.in
480 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2undo.8.in e2undo.8
482 findfs.8: $(DEP_SUBSTITUTE) $(srcdir)/findfs.8.in
484 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/findfs.8.in findfs.8
486 e2image.8: $(DEP_SUBSTITUTE) $(srcdir)/e2image.8.in
488 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2image.8.in e2image.8
490 e4defrag.8: $(DEP_SUBSTITUTE) $(srcdir)/e4defrag.8.in
492 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e4defrag.8.in e4defrag.8
494 e4crypt.8: $(DEP_SUBSTITUTE) $(srcdir)/e4crypt.8.in
496 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e4crypt.8.in e4crypt.8
498 dumpe2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/dumpe2fs.8.in
500 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/dumpe2fs.8.in dumpe2fs.8
502 e2mmpstatus.8: $(DEP_SUBSTITUTE) $(srcdir)/e2mmpstatus.8.in
504 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2mmpstatus.8.in e2mmpstatus.8
506 badblocks.8: $(DEP_SUBSTITUTE) $(srcdir)/badblocks.8.in
508 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/badblocks.8.in badblocks.8
510 fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/fsck.8.in
512 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/fsck.8.in fsck.8
514 blkid.8: $(DEP_SUBSTITUTE) $(srcdir)/blkid.8.in
516 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/blkid.8.in blkid.8
518 logsave.8: $(DEP_SUBSTITUTE) $(srcdir)/logsave.8.in
520 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/logsave.8.in logsave.8
522 uuidd.8: $(DEP_SUBSTITUTE) $(srcdir)/uuidd.8.in
524 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/uuidd.8.in uuidd.8
526 chattr.1: $(DEP_SUBSTITUTE) $(srcdir)/chattr.1.in
528 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/chattr.1.in chattr.1
530 fuse2fs.1: $(DEP_SUBSTITUTE) $(srcdir)/fuse2fs.1.in
532 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/fuse2fs.1.in fuse2fs.1
534 lsattr.1: $(DEP_SUBSTITUTE) $(srcdir)/lsattr.1.in
536 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/lsattr.1.in lsattr.1
538 uuidgen.1: $(DEP_SUBSTITUTE) $(srcdir)/uuidgen.1.in
540 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/uuidgen.1.in uuidgen.1
542 blkid.1: $(DEP_SUBSTITUTE) $(srcdir)/blkid.1.in
544 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/blkid.1.in blkid.1
546 e2freefrag.8: $(DEP_SUBSTITUTE) $(srcdir)/e2freefrag.8.in
548 @$(SUBSTITUTE_UPTIME) $(srcdir)/e2freefrag.8.in e2freefrag.8
550 filefrag.8: $(DEP_SUBSTITUTE) $(srcdir)/filefrag.8.in
552 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/filefrag.8.in filefrag.8
555 $(E) " MKDIR_P $(sbindir) $(root_sbindir) $(bindir) $(man1dir) $(man8dir) $(libdir) $(root_sysconfdir)"
556 $(Q) $(MKDIR_P) $(DESTDIR)$(sbindir) \
557 $(DESTDIR)$(root_sbindir) $(DESTDIR)$(bindir) \
558 $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir) \
559 $(DESTDIR)$(man1dir) $(DESTDIR)$(man5dir) \
560 $(DESTDIR)$(libdir) $(DESTDIR)/$(root_sysconfdir)
562 install: all $(SMANPAGES) $(UMANPAGES) installdirs
563 $(Q) for i in $(SPROGS); do \
564 $(ES) " INSTALL $(root_sbindir)/$$i"; \
565 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
567 $(Q) for i in $(USPROGS); do \
568 $(ES) " INSTALL $(sbindir)/$$i"; \
569 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(sbindir)/$$i; \
571 $(Q) for i in ext2 ext3 ext4; do \
572 $(ES) " LINK $(root_sbindir)/mkfs.$$i"; \
573 (cd $(DESTDIR)$(root_sbindir); \
574 $(LN) $(LINK_INSTALL_FLAGS) mke2fs mkfs.$$i); \
576 $(Q) (cd $(DESTDIR)$(root_sbindir); \
577 $(LN) $(LINK_INSTALL_FLAGS) dumpe2fs e2mmpstatus)
578 $(Q) (cd $(DESTDIR)$(root_sbindir); \
579 $(LN) $(LINK_INSTALL_FLAGS) tune2fs e2label)
580 $(Q) if test -n "$(FINDFS_LINK)"; then \
581 $(ES) " LINK $(root_sbindir)/findfs"; \
582 (cd $(DESTDIR)$(root_sbindir); \
583 $(LN) $(LINK_INSTALL_FLAGS) tune2fs $(FINDFS_LINK)); \
585 $(Q) for i in $(UPROGS); do \
586 $(ES) " INSTALL $(bindir)/$$i"; \
587 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(bindir)/$$i; \
589 $(Q) for i in $(LPROGS); do \
590 $(ES) " INSTALL $(libdir)/$$i"; \
591 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(libdir)/$$i; \
593 $(Q) for i in $(SMANPAGES); do \
594 for j in $(COMPRESS_EXT); do \
595 $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
597 $(ES) " INSTALL_DATA $(man8dir)/$$i"; \
598 $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
600 $(Q) $(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8.gz \
601 $(DESTDIR)$(man8dir)/mkfs.ext3.8.gz
602 $(Q) for i in ext2 ext3 ext4; do \
603 $(ES) " LINK mkfs.$$i.8"; \
604 (cd $(DESTDIR)$(man8dir); \
605 $(LN) $(LINK_INSTALL_FLAGS) mke2fs.8 mkfs.$$i.8); \
607 $(Q) for i in $(UMANPAGES); do \
608 for j in $(COMPRESS_EXT); do \
609 $(RM) -f $(DESTDIR)$(man1dir)/$$i.$$j; \
611 $(ES) " INSTALL_DATA $(man1dir)/$$i"; \
612 $(INSTALL_DATA) $$i $(DESTDIR)$(man1dir)/$$i; \
614 $(Q) for i in $(FMANPAGES); do \
615 for j in $(COMPRESS_EXT); do \
616 $(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
618 $(ES) " INSTALL_DATA $(man5dir)/$$i"; \
619 $(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
621 $(Q) for i in ext2 ext3; do \
622 $(ES) " LINK $$i.5"; \
623 (cd $(DESTDIR)$(man5dir); \
624 $(LN) $(LINK_INSTALL_FLAGS) ext4.5 $$i.5); \
626 $(Q) if test -f $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; then \
627 if cmp -s $(DESTDIR)$(root_sysconfdir)/mke2fs.conf \
631 if grep -q ext4dev $(DESTDIR)$(root_sysconfdir)/mke2fs.conf ; then \
632 $(ES) " INSTALL_DATA $(root_sysconfdir)/mke2fs.conf.e2fsprogs-new"; \
633 $(INSTALL_DATA) mke2fs.conf \
634 $(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-new; \
635 echo "Warning: installing mke2fs.conf in $(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-new"; \
636 echo "Check to see if you need to update your $(root_sysconfdir)/mke2fs.conf"; \
638 $(ES) " INSTALL_DATA $(root_sysconfdir)/mke2fs.conf"; \
639 mv $(DESTDIR)$(root_sysconfdir)/mke2fs.conf \
640 $(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-old; \
641 $(INSTALL_DATA) mke2fs.conf \
642 $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; \
643 echo "Your mke2fs.conf is too old. Backing up old version in"; \
644 echo "$(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-old. Please check to see"; \
645 echo "if you have any local customizations that you wish to preserve."; \
650 $(ES) " INSTALL_DATA $(root_sysconfdir)/mke2fs.conf"; \
651 $(INSTALL_DATA) mke2fs.conf \
652 $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; \
655 install-strip: install
656 $(Q) for i in $(SPROGS); do \
657 $(E) " STRIP $(root_sbindir)/$$i"; \
658 $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
660 $(Q) for i in $(USPROGS); do \
661 $(E) " STRIP $(sbindir)/$$i"; \
662 $(STRIP) $(DESTDIR)$(sbindir)/$$i; \
666 for i in $(SPROGS); do \
667 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
669 for i in $(USPROGS); do \
670 $(RM) -f $(DESTDIR)$(sbindir)/$$i; \
672 for i in $(LPROGS); do \
673 $(RM) -f $(DESTDIR)$(libdir)/$$i; \
675 $(RM) -f $(DESTDIR)$(root_sbindir)/mkfs.ext2 \
676 $(DESTDIR)$(root_sbindir)/mkfs.ext3 \
677 $(DESTDIR)$(root_sbindir)/mkfs.ext4
678 for i in $(UPROGS); do \
679 $(RM) -f $(DESTDIR)$(bindir)/$$i; \
681 for i in $(SMANPAGES); do \
682 $(RM) -f $(DESTDIR)$(man8dir)/$$i; \
684 $(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8 \
685 $(DESTDIR)$(man8dir)/mkfs.ext3.8 \
686 $(DESTDIR)$(man8dir)/mkfs.ext4.8 \
687 $(DESTDIR)$(man8dir)/fsck.ext2.8 \
688 $(DESTDIR)$(man8dir)/fsck.ext3.8 \
689 $(DESTDIR)$(man8dir)/fsck.ext4.8
691 for i in $(UMANPAGES); do \
692 $(RM) -f $(DESTDIR)$(man1dir)/$$i; \
694 for i in $(FINDFS_LINK) e2label e2mmpstatus ; do \
695 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
697 for i in $(FMANPAGES); do \
698 $(RM) -f $(DESTDIR)$(man5dir)/$$i; \
700 $(Q) for i in ext2 ext3; do \
701 $(ES) " LINK $$i.5"; \
702 $(RM) -f $(DESTDIR)$(man5dir)/$$i.5; \
704 if cmp -s mke2fs.conf $(DESTDIR)/$(root_sysconfdir)/mke2fs.conf; then \
705 $(RM) $(DESTDIR)/$(root_sysconfdir)/mke2fs.conf; \
709 $(RM) -f $(SPROGS) $(USPROGS) $(UPROGS) $(UMANPAGES) $(SMANPAGES) \
710 $(FMANPAGES) profile.h \
711 base_device base_device.out mke2fs.static filefrag e2freefrag \
712 e2initrd_helper partinfo prof_err.[ch] default_profile.c \
713 uuidd e2image tune2fs.static tst_ismounted fsck.profiled \
714 blkid.profiled tune2fs.profiled e2image.profiled \
715 e2undo.profiled mke2fs.profiled dumpe2fs.profiled \
716 dumpe2fs.static e2image.static \
717 logsave.profiled filefrag.profiled uuidgen.profiled \
718 uuidd.profiled e2image.profiled e2fuzz mke2fs.conf \
719 profiled/*.o \#* *.s *.o *.a *~ core gmon.out
723 $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
725 # +++ Dependency line eater +++
727 # Makefile dependencies follow. This must be the last section in
728 # the Makefile.in file
730 tune2fs.o: $(srcdir)/tune2fs.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/ext2fs.h \
733 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
734 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
735 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
736 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
737 $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h \
738 $(top_srcdir)/lib/ext2fs/compiler.h $(top_srcdir)/lib/support/plausible.h \
739 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
740 $(top_srcdir)/lib/support/quotaio_tree.h $(top_srcdir)/lib/support/devname.h \
741 $(top_srcdir)/lib/e2p/e2p.h $(srcdir)/util.h $(top_srcdir)/version.h \
742 $(top_srcdir)/lib/support/nls-enable.h
743 mklost+found.o: $(srcdir)/mklost+found.c $(top_builddir)/lib/config.h \
744 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
745 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/version.h \
746 $(top_srcdir)/lib/support/nls-enable.h
747 mke2fs.o: $(srcdir)/mke2fs.c $(top_builddir)/lib/config.h \
748 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
749 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fsP.h \
750 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
751 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
752 $(top_builddir)/lib/ext2fs/ext2_err.h \
753 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
754 $(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/util.h \
755 $(top_srcdir)/lib/support/nls-enable.h $(top_srcdir)/lib/support/plausible.h \
756 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
757 $(top_srcdir)/version.h $(top_srcdir)/lib/support/quotaio.h \
758 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/support/dqblk_v2.h \
759 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/mke2fs.h \
760 $(srcdir)/create_inode.h $(top_srcdir)/lib/e2p/e2p.h
761 mk_hugefiles.o: $(srcdir)/mk_hugefiles.c $(top_builddir)/lib/config.h \
762 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
763 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fsP.h \
764 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
765 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
766 $(top_builddir)/lib/ext2fs/ext2_err.h \
767 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
768 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/e2p/e2p.h \
769 $(top_srcdir)/lib/ext2fs/ext2fs.h $(srcdir)/util.h \
770 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
771 $(top_srcdir)/lib/support/nls-enable.h $(srcdir)/mke2fs.h
772 chattr.o: $(srcdir)/chattr.c $(top_builddir)/lib/config.h \
773 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
774 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/et/com_err.h \
775 $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/support/nls-enable.h \
776 $(top_srcdir)/version.h
777 lsattr.o: $(srcdir)/lsattr.c $(top_builddir)/lib/config.h \
778 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
779 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/et/com_err.h \
780 $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/support/nls-enable.h \
781 $(top_srcdir)/version.h
782 dumpe2fs.o: $(srcdir)/dumpe2fs.c $(top_builddir)/lib/config.h \
783 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
784 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
785 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
786 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
787 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
788 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/e2p/e2p.h \
789 $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
790 $(top_srcdir)/lib/ext2fs/kernel-list.h $(top_srcdir)/lib/ext2fs/compiler.h \
791 $(top_srcdir)/lib/support/nls-enable.h $(top_srcdir)/lib/support/plausible.h \
792 $(top_srcdir)/version.h
793 badblocks.o: $(srcdir)/badblocks.c $(top_builddir)/lib/config.h \
794 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/et/com_err.h \
795 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_types.h \
796 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
797 $(top_srcdir)/lib/ext2fs/ext3_extents.h \
798 $(top_builddir)/lib/ext2fs/ext2_err.h \
799 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
800 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/nls-enable.h
801 fsck.o: $(srcdir)/fsck.c $(top_builddir)/lib/config.h \
802 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/version.h \
803 $(top_srcdir)/lib/support/devname.h $(top_srcdir)/lib/support/nls-enable.h \
805 util.o: $(srcdir)/util.c $(top_builddir)/lib/config.h \
806 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/et/com_err.h \
807 $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
808 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
809 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
810 $(top_builddir)/lib/ext2fs/ext2_err.h \
811 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
812 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/nls-enable.h \
813 $(top_srcdir)/lib/support/devname.h $(srcdir)/util.h
814 uuidgen.o: $(srcdir)/uuidgen.c $(top_builddir)/lib/config.h \
815 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/support/nls-enable.h
816 blkid.o: $(srcdir)/blkid.c $(top_builddir)/lib/config.h \
817 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
818 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
819 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
820 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
821 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
822 $(top_srcdir)/lib/ext2fs/bitops.h
823 logsave.o: $(srcdir)/logsave.c $(top_builddir)/lib/config.h \
824 $(top_builddir)/lib/dirpaths.h
825 filefrag.o: $(srcdir)/filefrag.c $(top_builddir)/lib/config.h \
826 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
827 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
828 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
829 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
830 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
831 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/fiemap.h \
832 $(top_srcdir)/version.h
833 base_device.o: $(srcdir)/base_device.c $(top_builddir)/lib/config.h \
834 $(top_builddir)/lib/dirpaths.h $(srcdir)/fsck.h
835 ismounted.o: $(srcdir)/ismounted.c $(top_builddir)/lib/config.h \
836 $(top_builddir)/lib/dirpaths.h $(srcdir)/fsck.h \
837 $(top_srcdir)/lib/et/com_err.h
838 e2undo.o: $(srcdir)/e2undo.c $(top_builddir)/lib/config.h \
839 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
840 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
841 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
842 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
843 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
844 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/nls-enable.h
845 e2freefrag.o: $(srcdir)/e2freefrag.c $(top_builddir)/lib/config.h \
846 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
847 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
848 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
849 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
850 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
851 $(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/e2freefrag.h $(srcdir)/fsmap.h
852 create_inode.o: $(srcdir)/create_inode.c $(top_builddir)/lib/config.h \
853 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
854 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
855 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
856 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
857 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
858 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/fiemap.h \
859 $(srcdir)/create_inode.h $(top_srcdir)/lib/e2p/e2p.h \
860 $(top_srcdir)/lib/support/nls-enable.h
861 create_inode_libarchive.o: $(srcdir)/create_inode_libarchive.c \
862 $(top_builddir)/lib/config.h \
863 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
864 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
865 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
866 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
867 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
868 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/fiemap.h \
869 $(srcdir)/create_inode.h $(top_srcdir)/lib/e2p/e2p.h \
870 $(top_srcdir)/lib/support/nls-enable.h
871 fuse2fs.o: $(srcdir)/fuse2fs.c $(top_builddir)/lib/config.h \
872 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
873 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
874 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
875 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
876 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
877 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/version.h
878 e2fuzz.o: $(srcdir)/e2fuzz.c $(top_builddir)/lib/config.h \
879 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
880 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
881 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
882 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
883 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
884 $(top_srcdir)/lib/ext2fs/bitops.h
885 check_fuzzer.o: $(srcdir)/check_fuzzer.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
886 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
887 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
888 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
889 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
890 $(top_srcdir)/lib/ext2fs/bitops.h
891 journal.o: $(srcdir)/../debugfs/journal.c $(top_builddir)/lib/config.h \
892 $(top_builddir)/lib/dirpaths.h $(srcdir)/../debugfs/journal.h \
893 $(top_srcdir)/e2fsck/jfs_user.h $(top_srcdir)/e2fsck/e2fsck.h \
894 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
895 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
896 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
897 $(top_builddir)/lib/ext2fs/ext2_err.h \
898 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
899 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/profile.h \
900 $(top_builddir)/lib/support/prof_err.h $(top_srcdir)/lib/support/quotaio.h \
901 $(top_srcdir)/lib/support/dqblk_v2.h \
902 $(top_srcdir)/lib/support/quotaio_tree.h \
903 $(top_srcdir)/lib/ext2fs/fast_commit.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
904 $(top_srcdir)/lib/ext2fs/kernel-list.h $(top_srcdir)/lib/ext2fs/compiler.h \
905 $(top_srcdir)/lib/ext2fs/kernel-jbd.h
906 revoke.o: $(srcdir)/../e2fsck/revoke.c $(srcdir)/../e2fsck/jfs_user.h \
907 $(top_builddir)/lib/config.h $(top_builddir)/lib/dirpaths.h \
908 $(srcdir)/../e2fsck/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
909 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
910 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
911 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
912 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
913 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/profile.h \
914 $(top_builddir)/lib/support/prof_err.h $(top_srcdir)/lib/support/quotaio.h \
915 $(top_srcdir)/lib/support/dqblk_v2.h \
916 $(top_srcdir)/lib/support/quotaio_tree.h \
917 $(top_srcdir)/lib/ext2fs/fast_commit.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
918 $(top_srcdir)/lib/ext2fs/kernel-list.h $(top_srcdir)/lib/ext2fs/compiler.h \
919 $(top_srcdir)/lib/ext2fs/kernel-jbd.h
920 recovery.o: $(srcdir)/../e2fsck/recovery.c $(srcdir)/../e2fsck/jfs_user.h \
921 $(top_builddir)/lib/config.h $(top_builddir)/lib/dirpaths.h \
922 $(srcdir)/../e2fsck/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
923 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
924 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
925 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
926 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
927 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/profile.h \
928 $(top_builddir)/lib/support/prof_err.h $(top_srcdir)/lib/support/quotaio.h \
929 $(top_srcdir)/lib/support/dqblk_v2.h \
930 $(top_srcdir)/lib/support/quotaio_tree.h \
931 $(top_srcdir)/lib/ext2fs/fast_commit.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
932 $(top_srcdir)/lib/ext2fs/kernel-list.h $(top_srcdir)/lib/ext2fs/compiler.h \
933 $(top_srcdir)/lib/ext2fs/kernel-jbd.h