Whamcloud - gitweb
debian: add support for DEB_BUILD_OPTIONS=parallel=N
[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 create_inode_libarchive.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/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 \
93                         profiled/ismounted.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
102
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
114
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)
119
120 STATIC_LIBS= $(LIBSUPPORT) $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR)
121 STATIC_DEPLIBS= $(DEPLIBSUPPORT) $(STATIC_LIBEXT2FS) $(DEPSTATIC_LIBCOM_ERR)
122
123 LIBS_E2P= $(LIBE2P) $(LIBCOM_ERR)
124 DEPLIBS_E2P= $(LIBE2P) $(DEPLIBCOM_ERR)
125
126 COMPILE_ET=     _ET_DIR_OVERRIDE=$(srcdir)/../lib/et/et ../lib/et/compile_et
127
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
132
133 .c.o:
134         $(E) "  CC $<"
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 $<
139
140 all:: profiled $(SPROGS) $(UPROGS) $(USPROGS) $(SMANPAGES) $(UMANPAGES) \
141         $(FMANPAGES) $(LPROGS) $(E4DEFRAG_PROG) $(E4CRYPT_PROGS) e2fuzz
142
143 all-static:: $(E2IMAGE_STATIC) $(UUIDD_STATIC) $(BLKID_STATIC) \
144         dumpe2fs.static mke2fs.static tune2fs.static lsattr.static chattr.static
145
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 \
150         e2freefrag.profiled
151
152 profiled:
153 @PROFILE_CMT@   $(E) "  MKDIR $@"
154 @PROFILE_CMT@   $(Q) mkdir profiled
155
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; \
159         else \
160                 cp $(srcdir)/mke2fs.conf.in mke2fs.conf; \
161         fi
162
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 \
166                 >  default_profile.c
167 findsuper: findsuper.o
168         $(E) "  LD $@"
169         $(Q) $(CC) $(ALL_LDFLAGS) -o findsuper findsuper.o $(LIBS) $(SYSLIBS)
170
171 partinfo: partinfo.o $(DEPLIBCOM_ERR)
172         $(E) "  LD $@"
173         $(Q) $(CC) $(ALL_LDFLAGS) -o partinfo partinfo.o $(LIBCOM_ERR)
174
175 e2initrd_helper: e2initrd_helper.o $(DEPLIBS) $(DEPLIBBLKID) $(LIBEXT2FS)
176         $(E) "  LD $@"
177         $(Q) $(CC) $(ALL_LDFLAGS) -o e2initrd_helper e2initrd_helper.o $(LIBS) \
178                 $(LIBBLKID) $(LIBEXT2FS) $(LIBINTL) $(SYSLIBS)
179
180 tune2fs: $(TUNE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBBLKID) \
181                 $(DEPLIBUUID) $(LIBEXT2FS)
182         $(E) "  LD $@"
183         $(Q) $(CC) $(ALL_LDFLAGS) -o tune2fs $(TUNE2FS_OBJS) $(LIBS) \
184                 $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBS_E2P) \
185                 $(LIBINTL) $(SYSLIBS) $(LIBBLKID) $(LIBMAGIC)
186
187 tune2fs.static: $(TUNE2FS_OBJS) $(STATIC_DEPLIBS) $(STATIC_LIBE2P) $(DEPSTATIC_LIBBLKID)
188         $(E) "  LD $@"
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)
193
194 tune2fs.profiled: $(TUNE2FS_OBJS) $(PROFILED_DEPLIBS) \
195                 $(PROFILED_E2P) $(DEPPROFILED_LIBBLKID) $(DEPPROFILED_LIBUUID)
196         $(E) "  LD $@"
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)
201
202 blkid: $(BLKID_OBJS) $(DEPLIBBLKID) $(LIBEXT2FS)
203         $(E) "  LD $@"
204         $(Q) $(CC) $(ALL_LDFLAGS) -o blkid $(BLKID_OBJS) $(LIBBLKID) $(LIBINTL) \
205                 $(LIBEXT2FS) $(SYSLIBS)
206
207 blkid.static: $(BLKID_OBJS) $(STATIC_DEPLIBS) $(DEPSTATIC_LIBBLKID)
208         $(E) "  LD $@"
209         $(Q) $(CC) $(ALL_LDFLAGS) -o blkid.static $(BLKID_OBJS) $(STATIC_LIBS) \
210                 $(STATIC_LIBBLKID) $(LIBINTL) $(SYSLIBS)
211
212 blkid.profiled: $(BLKID_OBJS) $(DEPPROFILED_LIBBLKID) \
213                 $(PROFILED_LIBEXT2FS)
214         $(E) "  LD $@"
215         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o blkid.profiled $(PROFILED_BLKID_OBJS) \
216                 $(PROFILED_LIBBLKID) $(LIBINTL) $(PROFILED_LIBEXT2FS) $(SYSLIBS)
217
218 e2image: $(E2IMAGE_OBJS) $(DEPLIBS) $(DEPLIBBLKID)
219         $(E) "  LD $@"
220         $(Q) $(CC) $(ALL_LDFLAGS) -o e2image $(E2IMAGE_OBJS) $(LIBS) \
221                 $(LIBINTL) $(SYSLIBS) $(LIBBLKID) $(LIBMAGIC)
222
223 e2image.profiled: $(E2IMAGE_OBJS) $(PROFILED_DEPLIBS) $(DEPLIBBLKID)
224         $(E) "  LD $@"
225         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e2image.profiled \
226                 $(PROFILED_E2IMAGE_OBJS) $(PROFILED_LIBS) $(LIBINTL) $(SYSLIBS) \
227                 $(LIBBLKID) $(LIBMAGIC)
228
229 e2image.static: $(E2IMAGE_OBJS) $(PROFILED_DEPLIBS) $(DEPLIBBLKID)
230         $(E) "  LD $@"
231         $(Q) $(CC) $(LDFLAGS_STATIC) -g -pg -o e2image.static \
232                 $(E2IMAGE_OBJS) $(STATIC_LIBS) $(LIBINTL) $(SYSLIBS) \
233                 $(STATIC_LIBBLKID) $(LIBMAGIC)
234
235 e2undo: $(E2UNDO_OBJS) $(DEPLIBS)
236         $(E) "  LD $@"
237         $(Q) $(CC) $(ALL_LDFLAGS) -o e2undo $(E2UNDO_OBJS) $(LIBS) \
238                 $(LIBINTL) $(SYSLIBS)
239
240 e2undo.profiled: $(E2UNDO_OBJS) $(PROFILED_DEPLIBS)
241         $(E) "  LD $@"
242         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e2undo.profiled \
243                 $(PROFILED_E2UNDO_OBJS) $(PROFILED_LIBS) $(LIBINTL) $(SYSLIBS)
244
245 e4defrag: $(E4DEFRAG_OBJS) $(DEPLIBS)
246         $(E) "  LD $@"
247         $(Q) $(CC) $(ALL_LDFLAGS) -o e4defrag $(E4DEFRAG_OBJS) $(LIBS) \
248                 $(SYSLIBS)
249
250 e4crypt: $(E4CRYPT_OBJS) $(DEPLIBS) $(DEPSTATIC_LIBUUID)
251         $(E) "  LD $@"
252         $(Q) $(CC) $(ALL_LDFLAGS) -o e4crypt $(E4CRYPT_OBJS) \
253                 $(LIBUUID) $(LIBS) $(SYSLIBS)
254
255 e4defrag.profiled: $(E4DEFRAG_OBJS) $(PROFILED_DEPLIBS)
256         $(E) "  LD $@"
257         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e4defrag.profiled \
258                 $(PROFILED_E4DEFRAG_OBJS) $(PROFILED_LIBS) $(SYSLIBS)
259
260 e4crypt.profiled: $(E4CRYPT_OBJS) $(DEPPROFILED_LIBUUID) $(PROFILED_DEPLIBS)
261         $(E) "  LD $@"
262         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e4crypt.profiled \
263                 $(PROFILED_E4CRYPT_OBJS) $(PROFILED_LIBUUID) $(PROFILED_LIBS) \
264                 $(SYSLIBS)
265
266 base_device: base_device.c
267         $(E) "  LD $@"
268         $(Q) $(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(srcdir)/base_device.c \
269                 -DDEBUG -o base_device $(SYSLIBS)
270
271 fullcheck check:: base_device
272         ./base_device < $(srcdir)/base_device.tst > base_device.out
273         cmp $(srcdir)/base_device.tst base_device.out
274
275 mklost+found: $(MKLPF_OBJS)
276         $(E) "  LD $@"
277         $(Q) $(CC) $(ALL_LDFLAGS) -o mklost+found $(MKLPF_OBJS) \
278                 $(LIBINTL) $(SYSLIBS)
279
280 mke2fs: $(MKE2FS_OBJS) $(DEPLIBS) $(LIBE2P) $(DEPLIBBLKID) $(DEPLIBUUID) \
281                 $(LIBEXT2FS)
282         $(E) "  LD $@"
283         $(Q) $(CC) $(ALL_LDFLAGS) -o mke2fs $(MKE2FS_OBJS) $(LIBS) $(LIBBLKID) \
284                 $(LIBUUID) $(LIBEXT2FS) $(LIBE2P) $(LIBINTL) \
285                 $(SYSLIBS) $(LIBMAGIC) $(LIBARCHIVE)
286
287 mke2fs.static: $(MKE2FS_OBJS) $(STATIC_DEPLIBS) $(STATIC_LIBE2P) $(DEPSTATIC_LIBUUID) \
288                 $(DEPSTATIC_LIBBLKID)
289         $(E) "  LD $@"
290         $(Q) $(CC) $(LDFLAGS_STATIC) -o mke2fs.static $(MKE2FS_OBJS) \
291                 $(STATIC_LIBS) $(STATIC_LIBE2P) \
292                 $(STATIC_LIBBLKID) $(STATIC_LIBUUID) $(LIBINTL) $(SYSLIBS) \
293                 $(LIBMAGIC) $(LIBARCHIVE)
294
295 mke2fs.profiled: $(MKE2FS_OBJS) $(PROFILED_DEPLIBS) \
296         $(PROFILED_LIBE2P) $(PROFILED_DEPLIBBLKID) $(PROFILED_DEPLIBUUID)
297         $(E) "  LD $@"
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)
302
303 chattr: $(CHATTR_OBJS) $(DEPLIBS_E2P)
304         $(E) "  LD $@"
305         $(Q) $(CC) $(ALL_LDFLAGS) -o chattr $(CHATTR_OBJS) $(LIBS_E2P) \
306                 $(LIBINTL) $(SYSLIBS)
307
308 chattr.static: $(CHATTR_OBJS) $(STATIC_LIBE2P) $(STATIC_LIBCOM_ERR)
309         $(E) "  LD $@"
310         $(Q) $(CC) $(ALL_LDFLAGS) -o chattr.static $(CHATTR_OBJS) $(STATIC_LIBE2P) \
311                 $(STATIC_LIBCOM_ERR) $(LIBINTL) $(SYSLIBS)
312
313 lsattr: $(LSATTR_OBJS) $(DEPLIBS_E2P)
314         $(E) "  LD $@"
315         $(Q) $(CC) $(ALL_LDFLAGS) -o lsattr $(LSATTR_OBJS) $(LIBS_E2P) \
316                 $(LIBINTL) $(SYSLIBS)
317
318 lsattr.static: $(LSATTR_OBJS) $(STATIC_LIBE2P) $(STATIC_LIBCOM_ERR)
319         $(E) "  LD $@"
320         $(Q) $(CC) $(ALL_LDFLAGS) -o lsattr.static $(LSATTR_OBJS) $(STATIC_LIBE2P) \
321                 $(STATIC_LIBCOM_ERR) $(LIBINTL) $(SYSLIBS)
322
323 uuidgen: $(UUIDGEN_OBJS) $(DEPLIBUUID)
324         $(E) "  LD $@"
325         $(Q) $(CC) $(ALL_LDFLAGS) -o uuidgen $(UUIDGEN_OBJS) $(LIBUUID) \
326                 $(LIBINTL) $(SYSLIBS)
327
328 uuidgen.profiled: $(UUIDGEN_OBJS) $(PROFILED_DEPLIBUUID)
329         $(E) "  LD $@"
330         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o uuidgen.profiled \
331                 $(PROFILED_UUIDGEN_OBJS) $(PROFILED_LIBUUID) $(LIBINTL) \
332                 $(SYSLIBS)
333
334 uuidd: $(UUIDD_OBJS) $(DEPLIBUUID)
335         $(E) "  LD $@"
336         $(Q) $(CC) $(ALL_LDFLAGS) -o uuidd $(UUIDD_OBJS) $(LIBUUID) \
337                 $(LIBINTL) $(SYSLIBS)
338
339 uuidd.profiled: $(UUIDD_OBJS) $(PROFILED_DEPLIBUUID)
340         $(E) "  LD $@"
341         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o uuidd.profiled $(PROFILED_UUIDD_OBJS) \
342                 $(PROFILED_LIBUUID) $(LIBINTL) $(SYSLIBS)
343
344 dumpe2fs: $(DUMPE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBUUID) $(DEPLIBBLKID)
345         $(E) "  LD $@"
346         $(Q) $(CC) $(ALL_LDFLAGS) -o dumpe2fs $(DUMPE2FS_OBJS) $(LIBS) \
347                 $(LIBS_E2P) $(LIBUUID) $(LIBINTL) $(SYSLIBS) $(LIBBLKID) \
348                 $(LIBMAGIC)
349
350 dumpe2fs.profiled: $(DUMPE2FS_OBJS) $(PROFILED_DEPLIBS) \
351                 $(PROFILED_LIBE2P) $(PROFILED_DEPLIBUUID) $(PROFILED_DEPLIBBLKID)
352         $(E) "  LD $@"
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)
357
358 dumpe2fs.static: $(DUMPE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBUUID) $(DEPLIBBLKID)
359         $(E) "  LD $@"
360         $(Q) $(CC) $(LDFLAGS_STATIC) -o dumpe2fs.static $(DUMPE2FS_OBJS) \
361                 $(STATIC_LIBS) $(STATIC_LIBE2P) $(STATIC_LIBUUID) \
362                 $(LIBINTL) $(SYSLIBS) $(STATIC_LIBBLKID) $(LIBMAGIC)
363
364 fsck: $(FSCK_OBJS) $(DEPLIBBLKID) $(DEPLIBS)
365         $(E) "  LD $@"
366         $(Q) $(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBBLKID) \
367                 $(LIBINTL) $(SYSLIBS) $(LIBS)
368
369 fsck.profiled: $(FSCK_OBJS) $(PROFILED_DEPLIBBLKID) $(PROFILED_DEPLIBS)
370         $(E) "  LD $@"
371         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o fsck.profiled $(PROFILED_FSCK_OBJS) \
372                 $(PROFILED_LIBBLKID) $(LIBINTL) $(SYSLIBS) $(PROFILED_LIBS)
373
374 badblocks: $(BADBLOCKS_OBJS) $(DEPLIBS)
375         $(E) "  LD $@"
376         $(Q) $(CC) $(ALL_LDFLAGS) -o badblocks $(BADBLOCKS_OBJS) $(LIBS) \
377                 $(LIBINTL) $(SYSLIBS)
378
379 badblocks.profiled: $(BADBLOCKS_OBJS) $(PROFILED_DEPLIBS)
380         $(E) "  LD $@"
381         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o badblocks.profiled \
382                 $(PROFILED_BADBLOCKS_OBJS) $(PROFILED_LIBS) $(LIBINTL) \
383                 $(SYSLIBS)
384
385 logsave: logsave.o
386         $(E) "  LD $@"
387         $(Q) $(CC) $(ALL_LDFLAGS) -o logsave logsave.o $(SYSLIBS)
388
389 logsave.profiled: logsave.o
390         $(E) "  LD $@"
391         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o logsave.profiled \
392                 profiled/logsave.o $(SYSLIBS)
393
394 e2freefrag: $(E2FREEFRAG_OBJS)
395         $(E) "  LD $@"
396         $(Q) $(CC) $(ALL_LDFLAGS) -o e2freefrag $(E2FREEFRAG_OBJS) \
397                 $(LIBS) $(SYSLIBS)
398
399 e2freefrag.profiled: $(E2FREEFRAG_OBJS) $(PROFILED_DEPLIBS)
400         $(E) "  LD $@"
401         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o e2freefrag.profiled \
402                 $(PROFILED_E2FREEFRAG_OBJS) $(PROFILED_LIBS) $(SYSLIBS)
403
404 e2fuzz: $(E2FUZZ_OBJS) $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBUUID) \
405                 $(LIBEXT2FS)
406         $(E) "  LD $@"
407         $(Q) $(CC) $(ALL_LDFLAGS) -o e2fuzz $(E2FUZZ_OBJS) $(LIBS) \
408                 $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(SYSLIBS)
409
410 check_fuzzer: check_fuzzer.o $(DEPLIBS)
411         $(E) "  LD $@"
412         $(Q) $(CC) $(ALL_LDFLAGS) -o check_fuzzer check_fuzzer.o $(LIBS)
413
414 filefrag: $(FILEFRAG_OBJS)
415         $(E) "  LD $@"
416         $(Q) $(CC) $(ALL_LDFLAGS) -o filefrag $(FILEFRAG_OBJS) $(SYSLIBS)
417
418 filefrag.profiled: $(FILEFRAG_OBJS)
419         $(E) "  LD $@"
420         $(Q) $(CC) $(ALL_LDFLAGS) -g -pg -o filefrag.profiled \
421                 $(PROFILED_FILEFRAG_OBJS) 
422
423 fuse2fs: $(FUSE2FS_OBJS) $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBUUID) \
424                 $(LIBEXT2FS)
425         $(E) "  LD $@"
426         $(Q) $(CC) $(ALL_LDFLAGS) -o fuse2fs $(FUSE2FS_OBJS) $(LIBS) \
427                 $(LIBFUSE) $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBINTL) \
428                 $(CLOCK_GETTIME_LIB) $(SYSLIBS)
429
430 journal.o: $(srcdir)/../debugfs/journal.c
431         $(E) "  CC $<"
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 $<
435
436 recovery.o: $(srcdir)/../e2fsck/recovery.c
437         $(E) "  CC $<"
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 $<
441
442 revoke.o: $(srcdir)/../e2fsck/revoke.c
443         $(E) "  CC $<"
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 $<
447
448 tst_ismounted: $(srcdir)/ismounted.c $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR)
449         $(E) "  LD $@"
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 $<
453
454 tune2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/tune2fs.8.in
455         $(E) "  SUBST $@"
456         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/tune2fs.8.in tune2fs.8
457
458 mklost+found.8: $(DEP_SUBSTITUTE) $(srcdir)/mklost+found.8.in
459         $(E) "  SUBST $@"
460         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/mklost+found.8.in mklost+found.8
461
462 mke2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.8.in
463         $(E) "  SUBST $@"
464         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.8.in mke2fs.8
465
466 mke2fs.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.conf.5.in
467         $(E) "  SUBST $@"
468         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.conf.5.in mke2fs.conf.5
469
470 ext4.5: $(DEP_SUBSTITUTE) $(srcdir)/ext4.5.in
471         $(E) "  SUBST $@"
472         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/$@.in $@
473
474 e2label.8: $(DEP_SUBSTITUTE) $(srcdir)/e2label.8.in
475         $(E) "  SUBST $@"
476         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2label.8.in e2label.8
477
478 e2undo.8: $(DEP_SUBSTITUTE) $(srcdir)/e2undo.8.in
479         $(E) "  SUBST $@"
480         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2undo.8.in e2undo.8
481
482 findfs.8: $(DEP_SUBSTITUTE) $(srcdir)/findfs.8.in
483         $(E) "  SUBST $@"
484         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/findfs.8.in findfs.8
485
486 e2image.8: $(DEP_SUBSTITUTE) $(srcdir)/e2image.8.in
487         $(E) "  SUBST $@"
488         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2image.8.in e2image.8
489
490 e4defrag.8: $(DEP_SUBSTITUTE) $(srcdir)/e4defrag.8.in
491         $(E) "  SUBST $@"
492         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e4defrag.8.in e4defrag.8
493
494 e4crypt.8: $(DEP_SUBSTITUTE) $(srcdir)/e4crypt.8.in
495         $(E) "  SUBST $@"
496         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e4crypt.8.in e4crypt.8
497
498 dumpe2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/dumpe2fs.8.in 
499         $(E) "  SUBST $@"
500         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/dumpe2fs.8.in dumpe2fs.8
501
502 e2mmpstatus.8: $(DEP_SUBSTITUTE) $(srcdir)/e2mmpstatus.8.in
503         $(E) "  SUBST $@"
504         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2mmpstatus.8.in e2mmpstatus.8
505
506 badblocks.8: $(DEP_SUBSTITUTE) $(srcdir)/badblocks.8.in
507         $(E) "  SUBST $@"
508         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/badblocks.8.in badblocks.8  
509
510 fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/fsck.8.in
511         $(E) "  SUBST $@"
512         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/fsck.8.in fsck.8 
513
514 blkid.8: $(DEP_SUBSTITUTE) $(srcdir)/blkid.8.in
515         $(E) "  SUBST $@"
516         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/blkid.8.in blkid.8
517
518 logsave.8: $(DEP_SUBSTITUTE) $(srcdir)/logsave.8.in
519         $(E) "  SUBST $@"
520         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/logsave.8.in logsave.8
521
522 uuidd.8: $(DEP_SUBSTITUTE) $(srcdir)/uuidd.8.in
523         $(E) "  SUBST $@"
524         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/uuidd.8.in uuidd.8
525
526 chattr.1: $(DEP_SUBSTITUTE) $(srcdir)/chattr.1.in
527         $(E) "  SUBST $@"
528         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/chattr.1.in chattr.1 
529
530 fuse2fs.1: $(DEP_SUBSTITUTE) $(srcdir)/fuse2fs.1.in
531         $(E) "  SUBST $@"
532         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/fuse2fs.1.in fuse2fs.1
533
534 lsattr.1: $(DEP_SUBSTITUTE) $(srcdir)/lsattr.1.in 
535         $(E) "  SUBST $@"
536         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/lsattr.1.in lsattr.1 
537
538 uuidgen.1: $(DEP_SUBSTITUTE) $(srcdir)/uuidgen.1.in 
539         $(E) "  SUBST $@"
540         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/uuidgen.1.in uuidgen.1 
541
542 blkid.1: $(DEP_SUBSTITUTE) $(srcdir)/blkid.1.in 
543         $(E) "  SUBST $@"
544         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/blkid.1.in blkid.1 
545
546 e2freefrag.8: $(DEP_SUBSTITUTE) $(srcdir)/e2freefrag.8.in
547         $(E) "  SUBST $@"
548         @$(SUBSTITUTE_UPTIME) $(srcdir)/e2freefrag.8.in e2freefrag.8
549
550 filefrag.8: $(DEP_SUBSTITUTE) $(srcdir)/filefrag.8.in
551         $(E) "  SUBST $@"
552         $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/filefrag.8.in filefrag.8
553
554 installdirs:
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)
561
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; \
566         done
567         $(Q) for i in $(USPROGS); do \
568                 $(ES) " INSTALL $(sbindir)/$$i"; \
569                 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(sbindir)/$$i; \
570         done
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); \
575         done
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)); \
584         fi
585         $(Q) for i in $(UPROGS); do \
586                 $(ES) " INSTALL $(bindir)/$$i"; \
587                 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(bindir)/$$i; \
588         done
589         $(Q) for i in $(LPROGS); do \
590                 $(ES) " INSTALL $(libdir)/$$i"; \
591                 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(libdir)/$$i; \
592         done
593         $(Q) for i in $(SMANPAGES); do \
594                 for j in $(COMPRESS_EXT); do \
595                         $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
596                 done; \
597                 $(ES) " INSTALL_DATA $(man8dir)/$$i"; \
598                 $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
599         done
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); \
606         done
607         $(Q) for i in $(UMANPAGES); do \
608                 for j in $(COMPRESS_EXT); do \
609                         $(RM) -f $(DESTDIR)$(man1dir)/$$i.$$j; \
610                 done; \
611                 $(ES) " INSTALL_DATA $(man1dir)/$$i"; \
612                 $(INSTALL_DATA) $$i $(DESTDIR)$(man1dir)/$$i; \
613         done
614         $(Q) for i in $(FMANPAGES); do \
615                 for j in $(COMPRESS_EXT); do \
616                         $(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
617                 done; \
618                 $(ES) " INSTALL_DATA $(man5dir)/$$i"; \
619                 $(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
620         done
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); \
625         done
626         $(Q) if test -f $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; then \
627                 if cmp -s $(DESTDIR)$(root_sysconfdir)/mke2fs.conf \
628                         mke2fs.conf; then \
629                         true; \
630                 else \
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"; \
637                         else \
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."; \
646                         fi; \
647                         echo " "; \
648                 fi; \
649         else \
650                 $(ES) " INSTALL_DATA $(root_sysconfdir)/mke2fs.conf"; \
651                 $(INSTALL_DATA) mke2fs.conf \
652                         $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; \
653         fi
654
655 install-strip: install
656         $(Q) for i in $(SPROGS); do \
657                 $(E) "  STRIP $(root_sbindir)/$$i"; \
658                 $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
659         done
660         $(Q) for i in $(USPROGS); do \
661                 $(E) "  STRIP $(sbindir)/$$i"; \
662                 $(STRIP) $(DESTDIR)$(sbindir)/$$i; \
663         done
664
665 uninstall:
666         for i in $(SPROGS); do \
667                 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
668         done
669         for i in $(USPROGS); do \
670                 $(RM) -f $(DESTDIR)$(sbindir)/$$i; \
671         done
672         for i in $(LPROGS); do \
673                 $(RM) -f $(DESTDIR)$(libdir)/$$i; \
674         done
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; \
680         done
681         for i in $(SMANPAGES); do \
682                 $(RM) -f $(DESTDIR)$(man8dir)/$$i; \
683         done
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
690
691         for i in $(UMANPAGES); do \
692                 $(RM) -f $(DESTDIR)$(man1dir)/$$i; \
693         done
694         for i in $(FINDFS_LINK) e2label e2mmpstatus ; do \
695                 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
696         done
697         for i in $(FMANPAGES); do \
698                 $(RM) -f $(DESTDIR)$(man5dir)/$$i; \
699         done
700         $(Q) for i in ext2 ext3; do \
701                 $(ES) " LINK $$i.5"; \
702                 $(RM) -f $(DESTDIR)$(man5dir)/$$i.5; \
703         done
704         if cmp -s mke2fs.conf $(DESTDIR)/$(root_sysconfdir)/mke2fs.conf; then \
705                 $(RM) $(DESTDIR)/$(root_sysconfdir)/mke2fs.conf; \
706         fi
707
708 clean::
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
720
721 mostlyclean: clean
722 distclean: clean
723         $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
724
725 # +++ Dependency line eater +++
726
727 # Makefile dependencies follow.  This must be the last section in
728 # the Makefile.in file
729 #
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 \
804  $(srcdir)/fsck.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