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