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