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