Whamcloud - gitweb
e2fsck: no parent lookup in disconnected dir
[tools/e2fsprogs.git] / misc / Makefile.in
1 #
2 # Standard e2fsprogs prologue....
3 #
4
5 srcdir = @srcdir@
6 top_srcdir = @top_srcdir@
7 VPATH = @srcdir@
8 top_builddir = ..
9 my_dir = misc
10 INSTALL = @INSTALL@
11 MKDIR_P = @MKDIR_P@
12
13 @MCONFIG@
14
15 @DEFRAG_CMT@@LINUX_CMT@E4DEFRAG_PROG= e4defrag
16 @DEFRAG_CMT@@LINUX_CMT@E4DEFRAG_MAN= e4defrag.8
17
18 @LINUX_CMT@E4CRYPT_PROG = e4crypt
19 @LINUX_CMT@E4CRYPT_MAN= e4crypt.8
20
21 @IMAGER_CMT@E2IMAGE_PROG= e2image
22 @IMAGER_CMT@E2IMAGE_STATIC= e2image.static
23 @IMAGER_CMT@E2IMAGE_MAN= e2image.8
24
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
29
30 @BLKID_CMT@BLKID_PROG= blkid
31 @BLKID_CMT@BLKID_STATIC= blkid.static
32 @BLKID_CMT@BLKID_MAN= blkid.8
33
34 @BLKID_CMT@FINDFS_LINK= findfs
35 @BLKID_CMT@FINDFS_MAN= findfs.8
36
37 @FUSE_CMT@FUSE_PROG= fuse2fs
38
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@ \
47                         e2mmpstatus.8
48 FMANPAGES=      mke2fs.conf.5 ext4.5
49
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
53
54 LPROGS=         @E2INITRD_PROG@
55
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
60 CHATTR_OBJS=    chattr.o
61 LSATTR_OBJS=    lsattr.o
62 UUIDGEN_OBJS=   uuidgen.o
63 UUIDD_OBJS=     uuidd.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
68 BLKID_OBJS=     blkid.o
69 FILEFRAG_OBJS=  filefrag.o
70 E2UNDO_OBJS=  e2undo.o
71 E4DEFRAG_OBJS=  e4defrag.o
72 E4CRYPT_OBJS=   e4crypt.o
73 E2FREEFRAG_OBJS= e2freefrag.o
74 E2FUZZ_OBJS=    e2fuzz.o
75 FUSE2FS_OBJS=   fuse2fs.o journal.o recovery.o revoke.o
76
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_CHATTR_OBJS=   profiled/chattr.o
85 PROFILED_LSATTR_OBJS=   profiled/lsattr.o
86 PROFILED_UUIDGEN_OBJS=  profiled/uuidgen.o
87 PROFILED_UUIDD_OBJS=    profiled/uuidd.o
88 PROFILED_DUMPE2FS_OBJS= profiled/dumpe2fs.o
89 PROFILED_BADBLOCKS_OBJS=        profiled/badblocks.o
90 PROFILED_E2IMAGE_OBJS=  profiled/e2image.o
91 PROFILED_FSCK_OBJS=     profiled/fsck.o profiled/base_device.o \
92                         profiled/ismounted.o
93 PROFILED_BLKID_OBJS=    profiled/blkid.o
94 PROFILED_FILEFRAG_OBJS= profiled/filefrag.o
95 PROFILED_E2FREEFRAG_OBJS= profiled/e2freefrag.o
96 PROFILED_E2UNDO_OBJS=   profiled/e2undo.o
97 PROFILED_E4DEFRAG_OBJS= profiled/e4defrag.o
98 PROFILED_E4CRYPT_OBJS=  profiled/e4crypt.o
99 PROFILED_FUSE2FS_OJBS=  profiled/fuse2fs.o profiled/journal.o \
100                         profiled/recovery.o profiled/revoke.o
101
102 SRCS=   $(srcdir)/tune2fs.c $(srcdir)/mklost+found.c $(srcdir)/mke2fs.c $(srcdir)/mk_hugefiles.c \
103                 $(srcdir)/chattr.c $(srcdir)/lsattr.c $(srcdir)/dumpe2fs.c \
104                 $(srcdir)/badblocks.c $(srcdir)/fsck.c $(srcdir)/util.c \
105                 $(srcdir)/uuidgen.c $(srcdir)/blkid.c $(srcdir)/logsave.c \
106                 $(srcdir)/filefrag.c $(srcdir)/base_device.c \
107                 $(srcdir)/ismounted.c $(srcdir)/e2undo.c \
108                 $(srcdir)/e2freefrag.c $(srcdir)/create_inode.c \
109                 $(srcdir)/fuse2fs.c $(srcdir)/e2fuzz.c \
110                 $(srcdir)/check_fuzzer.c \
111                 $(srcdir)/../debugfs/journal.c $(srcdir)/../e2fsck/revoke.c \
112                 $(srcdir)/../e2fsck/recovery.c
113
114 LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBSUPPORT)
115 DEPLIBS= $(LIBEXT2FS) $(DEPLIBCOM_ERR) $(DEPLIBSUPPORT)
116 PROFILED_LIBS= $(LIBSUPPORT) $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR)
117 PROFILED_DEPLIBS= $(DEPLIBSUPPORT) $(PROFILED_LIBEXT2FS) $(DEPPROFILED_LIBCOM_ERR)
118
119 STATIC_LIBS= $(LIBSUPPORT) $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR)
120 STATIC_DEPLIBS= $(DEPLIBSUPPORT) $(STATIC_LIBEXT2FS) $(DEPSTATIC_LIBCOM_ERR)
121
122 LIBS_E2P= $(LIBE2P) $(LIBCOM_ERR)
123 DEPLIBS_E2P= $(LIBE2P) $(DEPLIBCOM_ERR)
124
125 COMPILE_ET=     _ET_DIR_OVERRIDE=$(srcdir)/../lib/et/et ../lib/et/compile_et
126
127 # This nastiness is needed because of jfs_user.h hackery; when we finally
128 # clean up this mess, we should be able to drop it
129 JOURNAL_CFLAGS = -I$(srcdir)/../e2fsck $(ALL_CFLAGS) -DDEBUGFS
130 DEPEND_CFLAGS = -I$(top_srcdir)/e2fsck
131
132 .c.o:
133         $(E) "  CC $<"
134         $(Q) $(CC) -c $(ALL_CFLAGS) $< -o $@
135         $(Q) $(CHECK_CMD) $(ALL_CFLAGS) $<
136         $(Q) $(CPPCHECK_CMD) $(CPPFLAGS) $<
137 @PROFILE_CMT@   $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
138
139 all:: profiled $(SPROGS) $(UPROGS) $(USPROGS) $(SMANPAGES) $(UMANPAGES) \
140         $(FMANPAGES) $(LPROGS) $(E4DEFRAG_PROG) $(E4CRYPT_PROGS) e2fuzz
141
142 all-static:: $(E2IMAGE_STATIC) $(UUIDD_STATIC) $(BLKID_STATIC) \
143         dumpe2fs.static mke2fs.static tune2fs.static lsattr.static chattr.static
144
145 @PROFILE_CMT@all:: tune2fs.profiled blkid.profiled e2image.profiled \
146         e2undo.profiled mke2fs.profiled dumpe2fs.profiled fsck.profiled \
147         logsave.profiled filefrag.profiled uuidgen.profiled $(UUIDD_PROFILED) \
148         e2image.profiled e4defrag.profiled e4crypt.profiled \
149         e2freefrag.profiled
150
151 profiled:
152 @PROFILE_CMT@   $(E) "  MKDIR $@"
153 @PROFILE_CMT@   $(Q) mkdir profiled
154
155 mke2fs.conf: $(srcdir)/mke2fs.conf.in
156         if test -f $(srcdir)/mke2fs.conf.custom.in ; then \
157                 cp $(srcdir)/mke2fs.conf.custom.in mke2fs.conf; \
158         else \
159                 cp $(srcdir)/mke2fs.conf.in mke2fs.conf; \
160         fi
161
162 default_profile.c: mke2fs.conf $(srcdir)/profile-to-c.awk
163         $(E) "  PROFILE_TO_C mke2fs.conf"
164         $(Q) $(AWK) -f $(srcdir)/profile-to-c.awk < mke2fs.conf \
165                 >  default_profile.c
166 findsuper: findsuper.o
167         $(E) "  LD $@"
168         $(Q) $(CC) $(ALL_LDFLAGS) -o findsuper findsuper.o $(LIBS) $(SYSLIBS)
169
170 partinfo: partinfo.o $(DEPLIBCOM_ERR)
171         $(E) "  LD $@"
172         $(Q) $(CC) $(ALL_LDFLAGS) -o partinfo partinfo.o $(LIBCOM_ERR)
173
174 e2initrd_helper: e2initrd_helper.o $(DEPLIBS) $(DEPLIBBLKID) $(LIBEXT2FS)
175         $(E) "  LD $@"
176         $(Q) $(CC) $(ALL_LDFLAGS) -o e2initrd_helper e2initrd_helper.o $(LIBS) \
177                 $(LIBBLKID) $(LIBEXT2FS) $(LIBINTL) $(SYSLIBS)
178
179 tune2fs: $(TUNE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBBLKID) \
180                 $(DEPLIBUUID) $(LIBEXT2FS)
181         $(E) "  LD $@"
182         $(Q) $(CC) $(ALL_LDFLAGS) -o tune2fs $(TUNE2FS_OBJS) $(LIBS) \
183                 $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBS_E2P) \
184                 $(LIBINTL) $(SYSLIBS) $(LIBBLKID) $(LIBMAGIC)
185
186 tune2fs.static: $(TUNE2FS_OBJS) $(STATIC_DEPLIBS) $(STATIC_LIBE2P) $(DEPSTATIC_LIBBLKID)
187         $(E) "  LD $@"
188         $(Q) $(CC) $(LDFLAGS_STATIC) -o tune2fs.static $(TUNE2FS_OBJS) \
189                 $(STATIC_LIBS) $(STATIC_LIBBLKID) $(STATIC_LIBUUID) \
190                 $(STATIC_LIBE2P) $(LIBINTL) $(SYSLIBS) \
191                 $(STATIC_LIBBLKID) $(LIBMAGIC)
192
193 tune2fs.profiled: $(TUNE2FS_OBJS) $(PROFILED_DEPLIBS) \
194                 $(PROFILED_E2P) $(DEPPROFILED_LIBBLKID) $(DEPPROFILED_LIBUUID)
195         $(E) "  LD $@"
196         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o tune2fs.profiled \
197                 $(PROFILED_TUNE2FS_OBJS) $(PROFILED_LIBS) \
198                 $(PROFILED_LIBBLKID) $(PROFILED_LIBUUID) $(PROFILED_LIBE2P) \
199                 $(LIBINTL) $(SYSLIBS) $(PROFILED_LIBUUID) $(LIBMAGIC)
200
201 blkid: $(BLKID_OBJS) $(DEPLIBBLKID) $(LIBEXT2FS)
202         $(E) "  LD $@"
203         $(Q) $(CC) $(ALL_LDFLAGS) -o blkid $(BLKID_OBJS) $(LIBBLKID) $(LIBINTL) \
204                 $(LIBEXT2FS) $(SYSLIBS)
205
206 blkid.static: $(BLKID_OBJS) $(STATIC_DEPLIBS) $(DEPSTATIC_LIBBLKID)
207         $(E) "  LD $@"
208         $(Q) $(CC) $(ALL_LDFLAGS) -o blkid.static $(BLKID_OBJS) $(STATIC_LIBS) \
209                 $(STATIC_LIBBLKID) $(LIBINTL) $(SYSLIBS)
210
211 blkid.profiled: $(BLKID_OBJS) $(DEPPROFILED_LIBBLKID) \
212                 $(PROFILED_LIBEXT2FS)
213         $(E) "  LD $@"
214         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o blkid.profiled $(PROFILED_BLKID_OBJS) \
215                 $(PROFILED_LIBBLKID) $(LIBINTL) $(PROFILED_LIBEXT2FS) $(SYSLIBS)
216
217 e2image: $(E2IMAGE_OBJS) $(DEPLIBS) $(DEPLIBBLKID)
218         $(E) "  LD $@"
219         $(Q) $(CC) $(ALL_LDFLAGS) -o e2image $(E2IMAGE_OBJS) $(LIBS) \
220                 $(LIBINTL) $(SYSLIBS) $(LIBBLKID) $(LIBMAGIC)
221
222 e2image.profiled: $(E2IMAGE_OBJS) $(PROFILED_DEPLIBS) $(DEPLIBBLKID)
223         $(E) "  LD $@"
224         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e2image.profiled \
225                 $(PROFILED_E2IMAGE_OBJS) $(PROFILED_LIBS) $(LIBINTL) $(SYSLIBS) \
226                 $(LIBBLKID) $(LIBMAGIC)
227
228 e2image.static: $(E2IMAGE_OBJS) $(PROFILED_DEPLIBS) $(DEPLIBBLKID)
229         $(E) "  LD $@"
230         $(Q) $(CC) $(LDFLAGS_STATIC) -g -pg -o e2image.static \
231                 $(E2IMAGE_OBJS) $(STATIC_LIBS) $(LIBINTL) $(SYSLIBS) \
232                 $(STATIC_LIBBLKID) $(LIBMAGIC)
233
234 e2undo: $(E2UNDO_OBJS) $(DEPLIBS)
235         $(E) "  LD $@"
236         $(Q) $(CC) $(ALL_LDFLAGS) -o e2undo $(E2UNDO_OBJS) $(LIBS) \
237                 $(LIBINTL) $(SYSLIBS)
238
239 e2undo.profiled: $(E2UNDO_OBJS) $(PROFILED_DEPLIBS)
240         $(E) "  LD $@"
241         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e2undo.profiled \
242                 $(PROFILED_E2UNDO_OBJS) $(PROFILED_LIBS) $(LIBINTL) $(SYSLIBS)
243
244 e4defrag: $(E4DEFRAG_OBJS) $(DEPLIBS)
245         $(E) "  LD $@"
246         $(Q) $(CC) $(ALL_LDFLAGS) -o e4defrag $(E4DEFRAG_OBJS) $(LIBS) \
247                 $(SYSLIBS)
248
249 e4crypt: $(E4CRYPT_OBJS) $(DEPLIBS) $(DEPSTATIC_LIBUUID)
250         $(E) "  LD $@"
251         $(Q) $(CC) $(ALL_LDFLAGS) -o e4crypt $(E4CRYPT_OBJS) \
252                 $(LIBUUID) $(LIBS) $(SYSLIBS)
253
254 e4defrag.profiled: $(E4DEFRAG_OBJS) $(PROFILED_DEPLIBS)
255         $(E) "  LD $@"
256         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e4defrag.profiled \
257                 $(PROFILED_E4DEFRAG_OBJS) $(PROFILED_LIBS) $(SYSLIBS)
258
259 e4crypt.profiled: $(E4CRYPT_OBJS) $(DEPPROFILED_LIBUUID) $(PROFILED_DEPLIBS)
260         $(E) "  LD $@"
261         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e4crypt.profiled \
262                 $(PROFILED_E4CRYPT_OBJS) $(PROFILED_LIBUUID) $(PROFILED_LIBS) \
263                 $(SYSLIBS)
264
265 base_device: base_device.c
266         $(E) "  LD $@"
267         $(Q) $(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(srcdir)/base_device.c \
268                 -DDEBUG -o base_device $(SYSLIBS)
269
270 fullcheck check:: base_device
271         ./base_device < $(srcdir)/base_device.tst > base_device.out
272         cmp $(srcdir)/base_device.tst base_device.out
273
274 mklost+found: $(MKLPF_OBJS)
275         $(E) "  LD $@"
276         $(Q) $(CC) $(ALL_LDFLAGS) -o mklost+found $(MKLPF_OBJS) \
277                 $(LIBINTL) $(SYSLIBS)
278
279 mke2fs: $(MKE2FS_OBJS) $(DEPLIBS) $(LIBE2P) $(DEPLIBBLKID) $(DEPLIBUUID) \
280                 $(LIBEXT2FS)
281         $(E) "  LD $@"
282         $(Q) $(CC) $(ALL_LDFLAGS) -o mke2fs $(MKE2FS_OBJS) $(LIBS) $(LIBBLKID) \
283                 $(LIBUUID) $(LIBEXT2FS) $(LIBE2P) $(LIBINTL) \
284                 $(SYSLIBS) $(LIBMAGIC)
285
286 mke2fs.static: $(MKE2FS_OBJS) $(STATIC_DEPLIBS) $(STATIC_LIBE2P) $(DEPSTATIC_LIBUUID) \
287                 $(DEPSTATIC_LIBBLKID)
288         $(E) "  LD $@"
289         $(Q) $(CC) $(LDFLAGS_STATIC) -o mke2fs.static $(MKE2FS_OBJS) \
290                 $(STATIC_LIBS) $(STATIC_LIBE2P) \
291                 $(STATIC_LIBBLKID) $(STATIC_LIBUUID) $(LIBINTL) $(SYSLIBS) \
292                 $(LIBMAGIC)
293
294 mke2fs.profiled: $(MKE2FS_OBJS) $(PROFILED_DEPLIBS) \
295         $(PROFILED_LIBE2P) $(PROFILED_DEPLIBBLKID) $(PROFILED_DEPLIBUUID)
296         $(E) "  LD $@"
297         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o mke2fs.profiled \
298                 $(PROFILED_MKE2FS_OBJS) $(PROFILED_LIBBLKID) \
299                 $(PROFILED_LIBUUID) $(PROFILED_LIBE2P) \
300                 $(LIBINTL) $(PROFILED_LIBS) $(SYSLIBS) $(LIBMAGIC)
301
302 chattr: $(CHATTR_OBJS) $(DEPLIBS_E2P)
303         $(E) "  LD $@"
304         $(Q) $(CC) $(ALL_LDFLAGS) -o chattr $(CHATTR_OBJS) $(LIBS_E2P) \
305                 $(LIBINTL) $(SYSLIBS)
306
307 chattr.static: $(CHATTR_OBJS) $(STATIC_LIBE2P) $(STATIC_LIBCOM_ERR)
308         $(E) "  LD $@"
309         $(Q) $(CC) $(ALL_LDFLAGS) -o chattr.static $(CHATTR_OBJS) $(STATIC_LIBE2P) \
310                 $(STATIC_LIBCOM_ERR) $(LIBINTL) $(SYSLIBS)
311
312 lsattr: $(LSATTR_OBJS) $(DEPLIBS_E2P)
313         $(E) "  LD $@"
314         $(Q) $(CC) $(ALL_LDFLAGS) -o lsattr $(LSATTR_OBJS) $(LIBS_E2P) \
315                 $(LIBINTL) $(SYSLIBS)
316
317 lsattr.static: $(LSATTR_OBJS) $(STATIC_LIBE2P) $(STATIC_LIBCOM_ERR)
318         $(E) "  LD $@"
319         $(Q) $(CC) $(ALL_LDFLAGS) -o lsattr.static $(LSATTR_OBJS) $(STATIC_LIBE2P) \
320                 $(STATIC_LIBCOM_ERR) $(LIBINTL) $(SYSLIBS)
321
322 uuidgen: $(UUIDGEN_OBJS) $(DEPLIBUUID)
323         $(E) "  LD $@"
324         $(Q) $(CC) $(ALL_LDFLAGS) -o uuidgen $(UUIDGEN_OBJS) $(LIBUUID) \
325                 $(LIBINTL) $(SYSLIBS)
326
327 uuidgen.profiled: $(UUIDGEN_OBJS) $(PROFILED_DEPLIBUUID)
328         $(E) "  LD $@"
329         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o uuidgen.profiled \
330                 $(PROFILED_UUIDGEN_OBJS) $(PROFILED_LIBUUID) $(LIBINTL) \
331                 $(SYSLIBS)
332
333 uuidd: $(UUIDD_OBJS) $(DEPLIBUUID)
334         $(E) "  LD $@"
335         $(Q) $(CC) $(ALL_LDFLAGS) -o uuidd $(UUIDD_OBJS) $(LIBUUID) \
336                 $(LIBINTL) $(SYSLIBS)
337
338 uuidd.profiled: $(UUIDD_OBJS) $(PROFILED_DEPLIBUUID)
339         $(E) "  LD $@"
340         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o uuidd.profiled $(PROFILED_UUIDD_OBJS) \
341                 $(PROFILED_LIBUUID) $(LIBINTL) $(SYSLIBS)
342
343 dumpe2fs: $(DUMPE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBUUID) $(DEPLIBBLKID)
344         $(E) "  LD $@"
345         $(Q) $(CC) $(ALL_LDFLAGS) -o dumpe2fs $(DUMPE2FS_OBJS) $(LIBS) \
346                 $(LIBS_E2P) $(LIBUUID) $(LIBINTL) $(SYSLIBS) $(LIBBLKID) \
347                 $(LIBMAGIC)
348
349 dumpe2fs.profiled: $(DUMPE2FS_OBJS) $(PROFILED_DEPLIBS) \
350                 $(PROFILED_LIBE2P) $(PROFILED_DEPLIBUUID) $(PROFILED_DEPLIBBLKID)
351         $(E) "  LD $@"
352         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o dumpe2fs.profiled \
353                 $(PROFILED_DUMPE2FS_OBJS) $(PROFILED_LIBS) \
354                 $(PROFILED_LIBE2P) $(PROFILED_LIBUUID) $(LIBINTL) $(SYSLIBS) \
355                 $(PROFILED_LIBBLKID) $(LIBMAGIC)
356
357 dumpe2fs.static: $(DUMPE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBUUID) $(DEPLIBBLKID)
358         $(E) "  LD $@"
359         $(Q) $(CC) $(LDFLAGS_STATIC) -o dumpe2fs.static $(DUMPE2FS_OBJS) \
360                 $(STATIC_LIBS) $(STATIC_LIBE2P) $(STATIC_LIBUUID) \
361                 $(LIBINTL) $(SYSLIBS) $(STATIC_LIBBLKID) $(LIBMAGIC)
362
363 fsck: $(FSCK_OBJS) $(DEPLIBBLKID)
364         $(E) "  LD $@"
365         $(Q) $(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBBLKID) \
366                 $(LIBINTL) $(SYSLIBS)
367
368 fsck.profiled: $(FSCK_OBJS) $(PROFILED_DEPLIBBLKID)
369         $(E) "  LD $@"
370         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o fsck.profiled $(PROFILED_FSCK_OBJS) \
371                 $(PROFILED_LIBBLKID) $(LIBINTL) $(SYSLIBS)
372
373 badblocks: $(BADBLOCKS_OBJS) $(DEPLIBS)
374         $(E) "  LD $@"
375         $(Q) $(CC) $(ALL_LDFLAGS) -o badblocks $(BADBLOCKS_OBJS) $(LIBS) \
376                 $(LIBINTL) $(SYSLIBS)
377
378 badblocks.profiled: $(BADBLOCKS_OBJS) $(PROFILED_DEPLIBS)
379         $(E) "  LD $@"
380         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o badblocks.profiled \
381                 $(PROFILED_BADBLOCKS_OBJS) $(PROFILED_LIBS) $(LIBINTL) \
382                 $(SYSLIBS)
383
384 logsave: logsave.o
385         $(E) "  LD $@"
386         $(Q) $(CC) $(ALL_LDFLAGS) -o logsave logsave.o $(SYSLIBS)
387
388 logsave.profiled: logsave.o
389         $(E) "  LD $@"
390         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o logsave.profiled \
391                 profiled/logsave.o $(SYSLIBS)
392
393 e2freefrag: $(E2FREEFRAG_OBJS)
394         $(E) "  LD $@"
395         $(Q) $(CC) $(ALL_LDFLAGS) -o e2freefrag $(E2FREEFRAG_OBJS) \
396                 $(LIBS) $(SYSLIBS)
397
398 e2freefrag.profiled: $(E2FREEFRAG_OBJS) $(PROFILED_DEPLIBS)
399         $(E) "  LD $@"
400         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e2freefrag.profiled \
401                 $(PROFILED_E2FREEFRAG_OBJS) $(PROFILED_LIBS) $(SYSLIBS)
402
403 e2fuzz: $(E2FUZZ_OBJS) $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBUUID) \
404                 $(LIBEXT2FS)
405         $(E) "  LD $@"
406         $(Q) $(CC) $(ALL_LDFLAGS) -o e2fuzz $(E2FUZZ_OBJS) $(LIBS) \
407                 $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(SYSLIBS)
408
409 check_fuzzer: check_fuzzer.o $(DEPLIBS)
410         $(E) "  LD $@"
411         $(Q) $(CC) $(ALL_LDFLAGS) -o check_fuzzer check_fuzzer.o $(LIBS)
412
413 filefrag: $(FILEFRAG_OBJS)
414         $(E) "  LD $@"
415         $(Q) $(CC) $(ALL_LDFLAGS) -o filefrag $(FILEFRAG_OBJS) $(SYSLIBS)
416
417 filefrag.profiled: $(FILEFRAG_OBJS)
418         $(E) "  LD $@"
419         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o filefrag.profiled \
420                 $(PROFILED_FILEFRAG_OBJS) 
421
422 fuse2fs: $(FUSE2FS_OBJS) $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBUUID) \
423                 $(LIBEXT2FS)
424         $(E) "  LD $@"
425         $(Q) $(CC) $(ALL_LDFLAGS) -o fuse2fs $(FUSE2FS_OBJS) $(LIBS) \
426                 $(LIBFUSE) $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBINTL) \
427                 $(CLOCK_GETTIME_LIB) $(SYSLIBS)
428
429 journal.o: $(srcdir)/../debugfs/journal.c
430         $(E) "  CC $<"
431         $(Q) $(CC) -c $(JOURNAL_CFLAGS) -I$(srcdir) \
432                 $(srcdir)/../debugfs/journal.c -o $@
433 @PROFILE_CMT@   $(Q) $(CC) $(JOURNAL_CFLAGS) -g -pg -o profiled/$*.o -c $<
434
435 recovery.o: $(srcdir)/../e2fsck/recovery.c
436         $(E) "  CC $<"
437         $(Q) $(CC) -c $(JOURNAL_CFLAGS) -I$(srcdir) \
438                 $(srcdir)/../e2fsck/recovery.c -o $@
439 @PROFILE_CMT@   $(Q) $(CC) $(JOURNAL_CFLAGS) -g -pg -o profiled/$*.o -c $<
440
441 revoke.o: $(srcdir)/../e2fsck/revoke.c
442         $(E) "  CC $<"
443         $(Q) $(CC) -c $(JOURNAL_CFLAGS) -I$(srcdir) \
444                 $(srcdir)/../e2fsck/revoke.c -o $@
445 @PROFILE_CMT@   $(Q) $(CC) $(JOURNAL_CFLAGS) -g -pg -o profiled/$*.o -c $<
446
447 tst_ismounted: $(srcdir)/ismounted.c $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR)
448         $(E) "  LD $@"
449         $(CC) -o tst_ismounted $(srcdir)/ismounted.c -DDEBUG $(ALL_CFLAGS) \
450                 $(LIBCOM_ERR) $(SYSLIBS)
451 @PROFILE_CMT@   $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
452
453 tune2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/tune2fs.8.in
454         $(E) "  SUBST $@"
455         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/tune2fs.8.in tune2fs.8
456
457 mklost+found.8: $(DEP_SUBSTITUTE) $(srcdir)/mklost+found.8.in
458         $(E) "  SUBST $@"
459         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/mklost+found.8.in mklost+found.8
460
461 mke2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.8.in
462         $(E) "  SUBST $@"
463         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.8.in mke2fs.8
464
465 mke2fs.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.conf.5.in
466         $(E) "  SUBST $@"
467         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.conf.5.in mke2fs.conf.5
468
469 ext4.5: $(DEP_SUBSTITUTE) $(srcdir)/ext4.5.in
470         $(E) "  SUBST $@"
471         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/$@.in $@
472
473 e2label.8: $(DEP_SUBSTITUTE) $(srcdir)/e2label.8.in
474         $(E) "  SUBST $@"
475         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2label.8.in e2label.8
476
477 e2undo.8: $(DEP_SUBSTITUTE) $(srcdir)/e2undo.8.in
478         $(E) "  SUBST $@"
479         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2undo.8.in e2undo.8
480
481 findfs.8: $(DEP_SUBSTITUTE) $(srcdir)/findfs.8.in
482         $(E) "  SUBST $@"
483         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/findfs.8.in findfs.8
484
485 e2image.8: $(DEP_SUBSTITUTE) $(srcdir)/e2image.8.in
486         $(E) "  SUBST $@"
487         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2image.8.in e2image.8
488
489 e4defrag.8: $(DEP_SUBSTITUTE) $(srcdir)/e4defrag.8.in
490         $(E) "  SUBST $@"
491         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e4defrag.8.in e4defrag.8
492
493 e4crypt.8: $(DEP_SUBSTITUTE) $(srcdir)/e4crypt.8.in
494         $(E) "  SUBST $@"
495         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e4crypt.8.in e4crypt.8
496
497 dumpe2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/dumpe2fs.8.in 
498         $(E) "  SUBST $@"
499         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/dumpe2fs.8.in dumpe2fs.8
500
501 e2mmpstatus.8: $(DEP_SUBSTITUTE) $(srcdir)/e2mmpstatus.8.in
502         $(E) "  SUBST $@"
503         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2mmpstatus.8.in e2mmpstatus.8
504
505 badblocks.8: $(DEP_SUBSTITUTE) $(srcdir)/badblocks.8.in
506         $(E) "  SUBST $@"
507         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/badblocks.8.in badblocks.8  
508
509 fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/fsck.8.in
510         $(E) "  SUBST $@"
511         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/fsck.8.in fsck.8 
512
513 blkid.8: $(DEP_SUBSTITUTE) $(srcdir)/blkid.8.in
514         $(E) "  SUBST $@"
515         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/blkid.8.in blkid.8
516
517 logsave.8: $(DEP_SUBSTITUTE) $(srcdir)/logsave.8.in
518         $(E) "  SUBST $@"
519         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/logsave.8.in logsave.8
520
521 uuidd.8: $(DEP_SUBSTITUTE) $(srcdir)/uuidd.8.in
522         $(E) "  SUBST $@"
523         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/uuidd.8.in uuidd.8
524
525 chattr.1: $(DEP_SUBSTITUTE) $(srcdir)/chattr.1.in
526         $(E) "  SUBST $@"
527         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/chattr.1.in chattr.1 
528
529 fuse2fs.1: $(DEP_SUBSTITUTE) $(srcdir)/fuse2fs.1.in
530         $(E) "  SUBST $@"
531         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/fuse2fs.1.in fuse2fs.1
532
533 lsattr.1: $(DEP_SUBSTITUTE) $(srcdir)/lsattr.1.in 
534         $(E) "  SUBST $@"
535         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/lsattr.1.in lsattr.1 
536
537 uuidgen.1: $(DEP_SUBSTITUTE) $(srcdir)/uuidgen.1.in 
538         $(E) "  SUBST $@"
539         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/uuidgen.1.in uuidgen.1 
540
541 blkid.1: $(DEP_SUBSTITUTE) $(srcdir)/blkid.1.in 
542         $(E) "  SUBST $@"
543         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/blkid.1.in blkid.1 
544
545 e2freefrag.8: $(DEP_SUBSTITUTE) $(srcdir)/e2freefrag.8.in
546         $(E) "  SUBST $@"
547         @$(SUBSTITUTE_UPTIME) $(srcdir)/e2freefrag.8.in e2freefrag.8
548
549 filefrag.8: $(DEP_SUBSTITUTE) $(srcdir)/filefrag.8.in
550         $(E) "  SUBST $@"
551         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/filefrag.8.in filefrag.8
552
553 installdirs:
554         $(E) "  MKDIR_P $(sbindir) $(root_sbindir) $(bindir) $(man1dir) $(man8dir) $(libdir) $(root_sysconfdir)"
555         $(Q) $(MKDIR_P) $(DESTDIR)$(sbindir) \
556                 $(DESTDIR)$(root_sbindir) $(DESTDIR)$(bindir) \
557                 $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir) \
558                 $(DESTDIR)$(man1dir) $(DESTDIR)$(man5dir) \
559                 $(DESTDIR)$(libdir) $(DESTDIR)/$(root_sysconfdir)
560
561 install: all $(SMANPAGES) $(UMANPAGES) installdirs
562         $(Q) for i in $(SPROGS); do \
563                 $(ES) " INSTALL $(root_sbindir)/$$i"; \
564                 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
565         done
566         $(Q) for i in $(USPROGS); do \
567                 $(ES) " INSTALL $(sbindir)/$$i"; \
568                 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(sbindir)/$$i; \
569         done
570         $(Q) for i in ext2 ext3 ext4; do \
571                 $(ES) " LINK $(root_sbindir)/mkfs.$$i"; \
572                 (cd $(DESTDIR)$(root_sbindir); \
573                         $(LN) $(LINK_INSTALL_FLAGS) mke2fs mkfs.$$i); \
574         done
575         $(Q) (cd $(DESTDIR)$(root_sbindir); \
576                 $(LN) $(LINK_INSTALL_FLAGS) dumpe2fs e2mmpstatus)
577         $(Q) (cd $(DESTDIR)$(root_sbindir); \
578                 $(LN) $(LINK_INSTALL_FLAGS) tune2fs e2label)
579         $(Q) if test -n "$(FINDFS_LINK)"; then \
580                 $(ES) " LINK $(root_sbindir)/findfs"; \
581                 (cd $(DESTDIR)$(root_sbindir); \
582                 $(LN) $(LINK_INSTALL_FLAGS) tune2fs $(FINDFS_LINK)); \
583         fi
584         $(Q) for i in $(UPROGS); do \
585                 $(ES) " INSTALL $(bindir)/$$i"; \
586                 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(bindir)/$$i; \
587         done
588         $(Q) for i in $(LPROGS); do \
589                 $(ES) " INSTALL $(libdir)/$$i"; \
590                 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(libdir)/$$i; \
591         done
592         $(Q) for i in $(SMANPAGES); do \
593                 for j in $(COMPRESS_EXT); do \
594                         $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
595                 done; \
596                 $(ES) " INSTALL_DATA $(man8dir)/$$i"; \
597                 $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
598         done
599         $(Q) $(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8.gz \
600                 $(DESTDIR)$(man8dir)/mkfs.ext3.8.gz
601         $(Q) for i in ext2 ext3 ext4; do \
602                 $(ES) " LINK mkfs.$$i.8"; \
603                 (cd $(DESTDIR)$(man8dir); \
604                         $(LN) $(LINK_INSTALL_FLAGS) mke2fs.8 mkfs.$$i.8); \
605         done
606         $(Q) for i in $(UMANPAGES); do \
607                 for j in $(COMPRESS_EXT); do \
608                         $(RM) -f $(DESTDIR)$(man1dir)/$$i.$$j; \
609                 done; \
610                 $(ES) " INSTALL_DATA $(man1dir)/$$i"; \
611                 $(INSTALL_DATA) $$i $(DESTDIR)$(man1dir)/$$i; \
612         done
613         $(Q) for i in $(FMANPAGES); do \
614                 for j in $(COMPRESS_EXT); do \
615                         $(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
616                 done; \
617                 $(ES) " INSTALL_DATA $(man5dir)/$$i"; \
618                 $(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
619         done
620         $(Q) for i in ext2 ext3; do \
621                 $(ES) " LINK $$i.5"; \
622                 (cd $(DESTDIR)$(man5dir); \
623                         $(LN) $(LINK_INSTALL_FLAGS) ext4.5 $$i.5); \
624         done
625         $(Q) if test -f $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; then \
626                 if cmp -s $(DESTDIR)$(root_sysconfdir)/mke2fs.conf \
627                         mke2fs.conf; then \
628                         true; \
629                 else \
630                         if grep -q ext4dev $(DESTDIR)$(root_sysconfdir)/mke2fs.conf ; then \
631                                 $(ES) " INSTALL_DATA $(root_sysconfdir)/mke2fs.conf.e2fsprogs-new"; \
632                                 $(INSTALL_DATA) mke2fs.conf \
633                                         $(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-new; \
634                                 echo "Warning: installing mke2fs.conf in $(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-new"; \
635                                 echo "Check to see if you need to update your $(root_sysconfdir)/mke2fs.conf"; \
636                         else \
637                                 $(ES) " INSTALL_DATA $(root_sysconfdir)/mke2fs.conf"; \
638                                 mv $(DESTDIR)$(root_sysconfdir)/mke2fs.conf \
639                                    $(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-old; \
640                                 $(INSTALL_DATA) mke2fs.conf \
641                                         $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; \
642                                 echo "Your mke2fs.conf is too old.  Backing up old version in"; \
643                                 echo "$(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-old.  Please check to see"; \
644                                 echo "if you have any local customizations that you wish to preserve."; \
645                         fi; \
646                         echo " "; \
647                 fi; \
648         else \
649                 $(ES) " INSTALL_DATA $(root_sysconfdir)/mke2fs.conf"; \
650                 $(INSTALL_DATA) mke2fs.conf \
651                         $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; \
652         fi
653
654 install-strip: install
655         $(Q) for i in $(SPROGS); do \
656                 $(E) "  STRIP $(root_sbindir)/$$i"; \
657                 $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
658         done
659         $(Q) for i in $(USPROGS); do \
660                 $(E) "  STRIP $(sbindir)/$$i"; \
661                 $(STRIP) $(DESTDIR)$(sbindir)/$$i; \
662         done
663
664 uninstall:
665         for i in $(SPROGS); do \
666                 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
667         done
668         for i in $(USPROGS); do \
669                 $(RM) -f $(DESTDIR)$(sbindir)/$$i; \
670         done
671         for i in $(LPROGS); do \
672                 $(RM) -f $(DESTDIR)$(libdir)/$$i; \
673         done
674         $(RM) -f $(DESTDIR)$(root_sbindir)/mkfs.ext2 \
675                         $(DESTDIR)$(root_sbindir)/mkfs.ext3 \
676                         $(DESTDIR)$(root_sbindir)/mkfs.ext4
677         for i in $(UPROGS); do \
678                 $(RM) -f $(DESTDIR)$(bindir)/$$i; \
679         done
680         for i in $(SMANPAGES); do \
681                 $(RM) -f $(DESTDIR)$(man8dir)/$$i; \
682         done
683         $(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8 \
684                 $(DESTDIR)$(man8dir)/mkfs.ext3.8 \
685                 $(DESTDIR)$(man8dir)/mkfs.ext4.8 \
686                 $(DESTDIR)$(man8dir)/fsck.ext2.8 \
687                 $(DESTDIR)$(man8dir)/fsck.ext3.8 \
688                 $(DESTDIR)$(man8dir)/fsck.ext4.8
689
690         for i in $(UMANPAGES); do \
691                 $(RM) -f $(DESTDIR)$(man1dir)/$$i; \
692         done
693         for i in $(FINDFS_LINK) e2label e2mmpstatus ; do \
694                 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
695         done
696         for i in $(FMANPAGES); do \
697                 $(RM) -f $(DESTDIR)$(man5dir)/$$i; \
698         done
699         $(Q) for i in ext2 ext3; do \
700                 $(ES) " LINK $$i.5"; \
701                 $(RM) -f $(DESTDIR)$(man5dir)/$$i.5; \
702         done
703         if cmp -s mke2fs.conf $(DESTDIR)/$(root_sysconfdir)/mke2fs.conf; then \
704                 $(RM) $(DESTDIR)/$(root_sysconfdir)/mke2fs.conf; \
705         fi
706
707 clean::
708         $(RM) -f $(SPROGS) $(USPROGS) $(UPROGS) $(UMANPAGES) $(SMANPAGES) \
709                 $(FMANPAGES) profile.h \
710                 base_device base_device.out mke2fs.static filefrag e2freefrag \
711                 e2initrd_helper partinfo prof_err.[ch] default_profile.c \
712                 uuidd e2image tune2fs.static tst_ismounted fsck.profiled \
713                 blkid.profiled tune2fs.profiled e2image.profiled \
714                 e2undo.profiled mke2fs.profiled dumpe2fs.profiled \
715                 dumpe2fs.static e2image.static \
716                 logsave.profiled filefrag.profiled uuidgen.profiled \
717                 uuidd.profiled e2image.profiled e2fuzz mke2fs.conf \
718                 profiled/*.o \#* *.s *.o *.a *~ core gmon.out
719
720 mostlyclean: clean
721 distclean: clean
722         $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
723
724 # +++ Dependency line eater +++
725
726 # Makefile dependencies follow.  This must be the last section in
727 # the Makefile.in file
728 #
729 tune2fs.o: $(srcdir)/tune2fs.c $(top_builddir)/lib/config.h \
730  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
731  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
732  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
733  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
734  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
735  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
736  $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h \
737  $(top_srcdir)/lib/ext2fs/compiler.h $(top_srcdir)/lib/support/plausible.h \
738  $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
739  $(top_srcdir)/lib/support/quotaio_tree.h $(top_srcdir)/lib/e2p/e2p.h \
740  $(srcdir)/util.h $(top_srcdir)/version.h \
741  $(top_srcdir)/lib/support/nls-enable.h
742 mklost+found.o: $(srcdir)/mklost+found.c $(top_builddir)/lib/config.h \
743  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
744  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/version.h \
745  $(top_srcdir)/lib/support/nls-enable.h
746 mke2fs.o: $(srcdir)/mke2fs.c $(top_builddir)/lib/config.h \
747  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
748  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fsP.h \
749  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
750  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
751  $(top_builddir)/lib/ext2fs/ext2_err.h \
752  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
753  $(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/util.h \
754  $(top_srcdir)/lib/support/nls-enable.h $(top_srcdir)/lib/support/plausible.h \
755  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
756  $(top_srcdir)/version.h $(top_srcdir)/lib/support/quotaio.h \
757  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/support/dqblk_v2.h \
758  $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/mke2fs.h \
759  $(srcdir)/create_inode.h $(top_srcdir)/lib/e2p/e2p.h
760 mk_hugefiles.o: $(srcdir)/mk_hugefiles.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/ext2fs/ext2fsP.h \
763  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
764  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
765  $(top_builddir)/lib/ext2fs/ext2_err.h \
766  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
767  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/e2p/e2p.h \
768  $(top_srcdir)/lib/ext2fs/ext2fs.h $(srcdir)/util.h \
769  $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
770  $(top_srcdir)/lib/support/nls-enable.h $(srcdir)/mke2fs.h
771 chattr.o: $(srcdir)/chattr.c $(top_builddir)/lib/config.h \
772  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
773  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/et/com_err.h \
774  $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/support/nls-enable.h \
775  $(top_srcdir)/version.h
776 lsattr.o: $(srcdir)/lsattr.c $(top_builddir)/lib/config.h \
777  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
778  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/et/com_err.h \
779  $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/support/nls-enable.h \
780  $(top_srcdir)/version.h
781 dumpe2fs.o: $(srcdir)/dumpe2fs.c $(top_builddir)/lib/config.h \
782  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
783  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
784  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
785  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
786  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
787  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/e2p/e2p.h \
788  $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
789  $(top_srcdir)/lib/ext2fs/kernel-list.h $(top_srcdir)/lib/ext2fs/compiler.h \
790  $(top_srcdir)/lib/support/nls-enable.h $(top_srcdir)/lib/support/plausible.h \
791  $(top_srcdir)/version.h
792 badblocks.o: $(srcdir)/badblocks.c $(top_builddir)/lib/config.h \
793  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/et/com_err.h \
794  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_types.h \
795  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
796  $(top_srcdir)/lib/ext2fs/ext3_extents.h \
797  $(top_builddir)/lib/ext2fs/ext2_err.h \
798  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
799  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/nls-enable.h
800 fsck.o: $(srcdir)/fsck.c $(top_builddir)/lib/config.h \
801  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/version.h \
802  $(top_srcdir)/lib/support/nls-enable.h $(srcdir)/fsck.h
803 util.o: $(srcdir)/util.c $(top_builddir)/lib/config.h \
804  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/et/com_err.h \
805  $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
806  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
807  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
808  $(top_builddir)/lib/ext2fs/ext2_err.h \
809  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
810  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/nls-enable.h \
811  $(srcdir)/util.h
812 uuidgen.o: $(srcdir)/uuidgen.c $(top_builddir)/lib/config.h \
813  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/support/nls-enable.h
814 blkid.o: $(srcdir)/blkid.c $(top_builddir)/lib/config.h \
815  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
816  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
817  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
818  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
819  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
820  $(top_srcdir)/lib/ext2fs/bitops.h
821 logsave.o: $(srcdir)/logsave.c $(top_builddir)/lib/config.h \
822  $(top_builddir)/lib/dirpaths.h
823 filefrag.o: $(srcdir)/filefrag.c $(top_builddir)/lib/config.h \
824  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
825  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
826  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
827  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
828  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
829  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/fiemap.h \
830  $(top_srcdir)/version.h
831 base_device.o: $(srcdir)/base_device.c $(top_builddir)/lib/config.h \
832  $(top_builddir)/lib/dirpaths.h $(srcdir)/fsck.h
833 ismounted.o: $(srcdir)/ismounted.c $(top_builddir)/lib/config.h \
834  $(top_builddir)/lib/dirpaths.h $(srcdir)/fsck.h \
835  $(top_srcdir)/lib/et/com_err.h
836 e2undo.o: $(srcdir)/e2undo.c $(top_builddir)/lib/config.h \
837  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
838  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
839  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
840  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
841  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
842  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/nls-enable.h
843 e2freefrag.o: $(srcdir)/e2freefrag.c $(top_builddir)/lib/config.h \
844  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
845  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
846  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
847  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
848  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
849  $(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/e2freefrag.h $(srcdir)/fsmap.h
850 create_inode.o: $(srcdir)/create_inode.c $(top_builddir)/lib/config.h \
851  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
852  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
853  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
854  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
855  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
856  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/fiemap.h \
857  $(srcdir)/create_inode.h $(top_srcdir)/lib/e2p/e2p.h \
858  $(top_srcdir)/lib/support/nls-enable.h
859 fuse2fs.o: $(srcdir)/fuse2fs.c $(top_builddir)/lib/config.h \
860  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
861  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
862  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
863  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
864  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
865  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/version.h
866 e2fuzz.o: $(srcdir)/e2fuzz.c $(top_builddir)/lib/config.h \
867  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
868  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
869  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
870  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
871  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
872  $(top_srcdir)/lib/ext2fs/bitops.h
873 check_fuzzer.o: $(srcdir)/check_fuzzer.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
874  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
875  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
876  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
877  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
878  $(top_srcdir)/lib/ext2fs/bitops.h
879 journal.o: $(srcdir)/../debugfs/journal.c $(top_builddir)/lib/config.h \
880  $(top_builddir)/lib/dirpaths.h $(srcdir)/../debugfs/journal.h \
881  $(top_srcdir)/e2fsck/jfs_user.h $(top_srcdir)/e2fsck/e2fsck.h \
882  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
883  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
884  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
885  $(top_builddir)/lib/ext2fs/ext2_err.h \
886  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
887  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/profile.h \
888  $(top_builddir)/lib/support/prof_err.h $(top_srcdir)/lib/support/quotaio.h \
889  $(top_srcdir)/lib/support/dqblk_v2.h \
890  $(top_srcdir)/lib/support/quotaio_tree.h \
891  $(top_srcdir)/lib/ext2fs/fast_commit.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
892  $(top_srcdir)/lib/ext2fs/kernel-list.h $(top_srcdir)/lib/ext2fs/compiler.h \
893  $(top_srcdir)/lib/ext2fs/kernel-jbd.h
894 revoke.o: $(srcdir)/../e2fsck/revoke.c $(srcdir)/../e2fsck/jfs_user.h \
895  $(top_builddir)/lib/config.h $(top_builddir)/lib/dirpaths.h \
896  $(srcdir)/../e2fsck/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
897  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
898  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
899  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
900  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
901  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/profile.h \
902  $(top_builddir)/lib/support/prof_err.h $(top_srcdir)/lib/support/quotaio.h \
903  $(top_srcdir)/lib/support/dqblk_v2.h \
904  $(top_srcdir)/lib/support/quotaio_tree.h \
905  $(top_srcdir)/lib/ext2fs/fast_commit.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
906  $(top_srcdir)/lib/ext2fs/kernel-list.h $(top_srcdir)/lib/ext2fs/compiler.h \
907  $(top_srcdir)/lib/ext2fs/kernel-jbd.h
908 recovery.o: $(srcdir)/../e2fsck/recovery.c $(srcdir)/../e2fsck/jfs_user.h \
909  $(top_builddir)/lib/config.h $(top_builddir)/lib/dirpaths.h \
910  $(srcdir)/../e2fsck/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
911  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
912  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
913  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
914  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/hashmap.h \
915  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/support/profile.h \
916  $(top_builddir)/lib/support/prof_err.h $(top_srcdir)/lib/support/quotaio.h \
917  $(top_srcdir)/lib/support/dqblk_v2.h \
918  $(top_srcdir)/lib/support/quotaio_tree.h \
919  $(top_srcdir)/lib/ext2fs/fast_commit.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
920  $(top_srcdir)/lib/ext2fs/kernel-list.h $(top_srcdir)/lib/ext2fs/compiler.h \
921  $(top_srcdir)/lib/ext2fs/kernel-jbd.h