• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Standard e2fsprogs prologue....
3#
4
5srcdir = @srcdir@
6top_srcdir = @top_srcdir@
7VPATH = @srcdir@
8top_builddir = ..
9my_dir = misc
10INSTALL = @INSTALL@
11
12@MCONFIG@
13
14@IMAGER_CMT@E2IMAGE_PROG= e2image
15@IMAGER_CMT@E2IMAGE_MAN= e2image.8
16
17@UUIDD_CMT@UUIDD_PROG= uuidd
18@UUIDD_CMT@UUIDD_MAN= uuidd.8
19
20SPROGS=		mke2fs badblocks tune2fs dumpe2fs blkid logsave \
21			$(E2IMAGE_PROG) @FSCK_PROG@
22USPROGS=	mklost+found filefrag $(UUIDD_PROG)
23SMANPAGES=	tune2fs.8 mklost+found.8 mke2fs.8 dumpe2fs.8 badblocks.8 \
24			e2label.8 findfs.8 blkid.8 $(E2IMAGE_MAN) \
25			logsave.8 filefrag.8 $(UUIDD_MAN) @FSCK_MAN@
26FMANPAGES=	mke2fs.conf.5
27
28UPROGS=		chattr lsattr uuidgen
29UMANPAGES=	chattr.1 lsattr.1 uuidgen.1
30
31LPROGS=		@E2INITRD_PROG@
32
33TUNE2FS_OBJS=	tune2fs.o util.o
34MKLPF_OBJS=	mklost+found.o
35MKE2FS_OBJS=	mke2fs.o util.o profile.o prof_err.o default_profile.o
36CHATTR_OBJS=	chattr.o
37LSATTR_OBJS=	lsattr.o
38UUIDGEN_OBJS=	uuidgen.o
39UUIDD_OBJS=	uuidd.o
40DUMPE2FS_OBJS=	dumpe2fs.o
41BADBLOCKS_OBJS=	badblocks.o
42E2IMAGE_OBJS=	e2image.o
43FSCK_OBJS=	fsck.o base_device.o ismounted.o
44BLKID_OBJS=	blkid.o
45FILEFRAG_OBJS=	filefrag.o
46
47XTRA_CFLAGS=	-I$(srcdir)/../e2fsck -I.
48
49SRCS=	$(srcdir)/tune2fs.c $(srcdir)/mklost+found.c $(srcdir)/mke2fs.c \
50		$(srcdir)/chattr.c $(srcdir)/lsattr.c $(srcdir)/dumpe2fs.c \
51		$(srcdir)/badblocks.c $(srcdir)/fsck.c $(srcdir)/util.c \
52		$(srcdir)/uuidgen.c $(srcdir)/blkid.c $(srcdir)/logsave.c \
53		$(srcdir)/filefrag.c $(srcdir)/base_device.c \
54		$(srcdir)/ismounted.c $(srcdir)/../e2fsck/profile.c
55
56LIBS= $(LIBEXT2FS) $(LIBCOM_ERR)
57DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR)
58
59STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR)
60STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR)
61
62LIBS_BLKID= $(LIBBLKID) $(LIBUUID)
63DEPLIBS_BLKID= $(DEPLIBBLKID) $(DEPLIBUUID)
64
65LIBS_E2P= $(LIBE2P) $(LIBCOM_ERR)
66DEPLIBS_E2P= $(LIBE2P) $(LIBCOM_ERR)
67
68COMPILE_ET=$(top_builddir)/lib/et/compile_et --build-tree
69
70.c.o:
71	@echo "	CC $<"
72	@$(CC) -c $(ALL_CFLAGS) $< -o $@
73
74all:: $(SPROGS) $(UPROGS) $(USPROGS) $(SMANPAGES) $(UMANPAGES) \
75	$(FMANPAGES) $(LPROGS)
76
77prof_err.c prof_err.h: $(srcdir)/../e2fsck/prof_err.et
78	@echo "	COMPILE_ET prof_err.et"
79	@$(COMPILE_ET) $(srcdir)/../e2fsck/prof_err.et
80
81default_profile.c: $(srcdir)/mke2fs.conf $(srcdir)/profile-to-c.awk
82	@echo "	PROFILE_TO_C mke2fs.conf"
83	$(AWK) -f $(srcdir)/profile-to-c.awk < $(srcdir)/mke2fs.conf \
84		>  default_profile.c
85profile.o:
86	@echo "	CC $<"
87	@$(CC) -c $(ALL_CFLAGS) $(srcdir)/../e2fsck/profile.c -o $@
88
89findsuper: findsuper.o
90	@echo "	LD $@"
91	@$(CC) $(ALL_LDFLAGS) -o findsuper findsuper.o
92
93partinfo: partinfo.o
94	@echo "	LD $@"
95	@$(CC) $(ALL_LDFLAGS) -o partinfo partinfo.o
96
97e2initrd_helper: e2initrd_helper.o $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBS_BLKID)
98	@echo "	LD $@"
99	@$(CC) $(ALL_LDFLAGS) -o e2initrd_helper e2initrd_helper.o $(LIBS) \
100		$(LIBS_BLKID) $(LIBS_E2P) $(LIBINTL)
101
102tune2fs: $(TUNE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBS_BLKID)
103	@echo "	LD $@"
104	@$(CC) $(ALL_LDFLAGS) -o tune2fs $(TUNE2FS_OBJS) $(LIBS) \
105		$(LIBS_BLKID) $(LIBS_E2P) $(LIBINTL)
106
107blkid: $(BLKID_OBJS) $(DEPLIBS_BLKID)
108	@echo "	LD $@"
109	@$(CC) $(ALL_LDFLAGS) -o blkid $(BLKID_OBJS) $(LIBS_BLKID) $(LIBINTL)
110
111e2image: $(E2IMAGE_OBJS) $(DEPLIBS)
112	@echo "	LD $@"
113	@$(CC) $(ALL_LDFLAGS) -o e2image $(E2IMAGE_OBJS) $(LIBS) $(LIBINTL)
114
115base_device: base_device.c
116	@echo "	LD $@"
117	@$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(srcdir)/base_device.c \
118		-DDEBUG -o base_device
119
120check:: base_device
121	./base_device < $(srcdir)/base_device.tst > base_device.out
122	cmp $(srcdir)/base_device.tst base_device.out
123
124mklost+found: $(MKLPF_OBJS)
125	@echo "	LD $@"
126	@$(CC) $(ALL_LDFLAGS) -o mklost+found $(MKLPF_OBJS) $(LIBINTL)
127
128mke2fs: $(MKE2FS_OBJS) $(DEPLIBS) $(LIBE2P) $(DEPLIBUUID) $(DEPLIBS_BLKID)
129	@echo "	LD $@"
130	@$(CC) $(ALL_LDFLAGS) -o mke2fs $(MKE2FS_OBJS) $(LIBS) $(LIBS_BLKID) \
131		$(LIBE2P) $(LIBUUID) $(LIBINTL)
132
133mke2fs.static: $(MKE2FS_OBJS) $(STATIC_DEPLIBS) $(STATIC_LIBE2P) $(DEPSTATIC_LIBUUID) $(DEPSTATIC_LIBBLKID)
134	@echo "	LD $@"
135	@$(CC) $(ALL_LDFLAGS) -static -o mke2fs.static $(MKE2FS_OBJS) \
136		$(STATIC_LIBS) $(STATIC_LIBE2P) $(STATIC_LIBBLKID) \
137		$(STATIC_LIBUUID) $(LIBINTL)
138
139chattr: $(CHATTR_OBJS) $(DEPLIBS_E2P)
140	@echo "	LD $@"
141	@$(CC) $(ALL_LDFLAGS) -o chattr $(CHATTR_OBJS) $(LIBS_E2P) $(LIBINTL)
142
143lsattr: $(LSATTR_OBJS) $(DEPLIBS_E2P)
144	@echo "	LD $@"
145	@$(CC) $(ALL_LDFLAGS) -o lsattr $(LSATTR_OBJS) $(LIBS_E2P) $(LIBINTL)
146
147uuidgen: $(UUIDGEN_OBJS) $(DEPLIBUUID)
148	@echo "	LD $@"
149	@$(CC) $(ALL_LDFLAGS) -o uuidgen $(UUIDGEN_OBJS) $(LIBUUID) $(LIBINTL)
150
151uuidd: $(UUIDD_OBJS) $(DEPLIBUUID)
152	@echo "	LD $@"
153	@$(CC) $(ALL_LDFLAGS) -o uuidd $(UUIDD_OBJS) $(LIBUUID) $(LIBINTL)
154
155dumpe2fs: $(DUMPE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBUUID)
156	@echo "	LD $@"
157	@$(CC) $(ALL_LDFLAGS) -o dumpe2fs $(DUMPE2FS_OBJS) $(LIBS) \
158		$(LIBS_E2P) $(LIBUUID) $(LIBINTL)
159
160fsck: $(FSCK_OBJS) $(DEBLIBS_BLKID)
161	@echo "	LD $@"
162	@$(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBS_BLKID) $(LIBINTL)
163
164badblocks: $(BADBLOCKS_OBJS) $(DEPLIBS)
165	@echo "	LD $@"
166	@$(CC) $(ALL_LDFLAGS) -o badblocks $(BADBLOCKS_OBJS) $(LIBS) $(LIBINTL)
167
168logsave: logsave.o
169	@echo "	LD $@"
170	@$(CC) $(ALL_LDFLAGS) -o logsave logsave.o
171
172filefrag: $(FILEFRAG_OBJS)
173	@echo "	LD $@"
174	@$(CC) $(ALL_LDFLAGS) -o filefrag $(FILEFRAG_OBJS)
175
176tst_ismounted: $(srcdir)/ismounted.c $(STATIC_LIBEXT2FS)
177	@echo "	LD $@"
178	$(CC) -o tst_ismounted $(srcdir)/ismounted.c -DDEBUG $(ALL_CFLAGS) $(LIBCOM_ERR)
179
180tune2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/tune2fs.8.in
181	@echo "	SUBST $@"
182	@$(SUBSTITUTE_UPTIME) $(srcdir)/tune2fs.8.in tune2fs.8
183
184mklost+found.8: $(DEP_SUBSTITUTE) $(srcdir)/mklost+found.8.in
185	@echo "	SUBST $@"
186	@$(SUBSTITUTE_UPTIME) $(srcdir)/mklost+found.8.in mklost+found.8
187
188mke2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.8.in
189	@echo "	SUBST $@"
190	@$(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.8.in mke2fs.8
191
192mke2fs.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.conf.5.in
193	@echo "	SUBST $@"
194	@$(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.conf.5.in mke2fs.conf.5
195
196e2label.8: $(DEP_SUBSTITUTE) $(srcdir)/e2label.8.in
197	@echo "	SUBST $@"
198	@$(SUBSTITUTE_UPTIME) $(srcdir)/e2label.8.in e2label.8
199
200findfs.8: $(DEP_SUBSTITUTE) $(srcdir)/findfs.8.in
201	@echo "	SUBST $@"
202	@$(SUBSTITUTE_UPTIME) $(srcdir)/findfs.8.in findfs.8
203
204e2image.8: $(DEP_SUBSTITUTE) $(srcdir)/e2image.8.in
205	@echo "	SUBST $@"
206	@$(SUBSTITUTE_UPTIME) $(srcdir)/e2image.8.in e2image.8
207
208dumpe2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/dumpe2fs.8.in
209	@echo "	SUBST $@"
210	@$(SUBSTITUTE_UPTIME) $(srcdir)/dumpe2fs.8.in dumpe2fs.8
211
212badblocks.8: $(DEP_SUBSTITUTE) $(srcdir)/badblocks.8.in
213	@echo "	SUBST $@"
214	@$(SUBSTITUTE_UPTIME) $(srcdir)/badblocks.8.in badblocks.8
215
216fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/fsck.8.in
217	@echo "	SUBST $@"
218	@$(SUBSTITUTE_UPTIME) $(srcdir)/fsck.8.in fsck.8
219
220blkid.8: $(DEP_SUBSTITUTE) $(srcdir)/blkid.8.in
221	@echo "	SUBST $@"
222	@$(SUBSTITUTE_UPTIME) $(srcdir)/blkid.8.in blkid.8
223
224logsave.8: $(DEP_SUBSTITUTE) $(srcdir)/logsave.8.in
225	@echo "	SUBST $@"
226	@$(SUBSTITUTE_UPTIME) $(srcdir)/logsave.8.in logsave.8
227
228uuidd.8: $(DEP_SUBSTITUTE) $(srcdir)/uuidd.8.in
229	@echo "	SUBST $@"
230	@$(SUBSTITUTE_UPTIME) $(srcdir)/uuidd.8.in uuidd.8
231
232chattr.1: $(DEP_SUBSTITUTE) $(srcdir)/chattr.1.in
233	@echo "	SUBST $@"
234	@$(SUBSTITUTE_UPTIME) $(srcdir)/chattr.1.in chattr.1
235
236lsattr.1: $(DEP_SUBSTITUTE) $(srcdir)/lsattr.1.in
237	@echo "	SUBST $@"
238	@$(SUBSTITUTE_UPTIME) $(srcdir)/lsattr.1.in lsattr.1
239
240uuidgen.1: $(DEP_SUBSTITUTE) $(srcdir)/uuidgen.1.in
241	@echo "	SUBST $@"
242	@$(SUBSTITUTE_UPTIME) $(srcdir)/uuidgen.1.in uuidgen.1
243
244blkid.1: $(DEP_SUBSTITUTE) $(srcdir)/blkid.1.in
245	@echo "	SUBST $@"
246	@$(SUBSTITUTE_UPTIME) $(srcdir)/blkid.1.in blkid.1
247
248filefrag.8: $(DEP_SUBSTITUTE) $(srcdir)/filefrag.8.in
249	@echo "	SUBST $@"
250	@$(SUBSTITUTE_UPTIME) $(srcdir)/filefrag.8.in filefrag.8
251
252installdirs:
253	@echo "	MKINSTALLDIRS $(sbindir) $(root_sbindir) $(bindir) $(man1dir) $(man8dir) $(libdir) $(root_sysconfdir)"
254	@$(MKINSTALLDIRS) $(DESTDIR)$(sbindir) \
255		$(DESTDIR)$(root_sbindir) $(DESTDIR)$(bindir) \
256		$(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir) \
257		$(DESTDIR)$(man1dir) $(DESTDIR)$(man5dir) \
258		$(DESTDIR)$(libdir) $(DESTDIR)/$(root_sysconfdir)
259
260install: all $(SMANPAGES) $(UMANPAGES) installdirs
261	@for i in $(SPROGS); do \
262		echo "	INSTALL $(root_sbindir)/$$i"; \
263		$(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
264	done
265	@for i in $(USPROGS); do \
266		echo "	INSTALL $(sbindir)/$$i"; \
267		$(INSTALL_PROGRAM) $$i $(DESTDIR)$(sbindir)/$$i; \
268	done
269	@echo "	LINK $(root_sbindir)/mkfs.ext2"
270	@$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
271		$(DESTDIR)$(root_sbindir)/mkfs.ext2
272	@echo "	LINK $(root_sbindir)/mkfs.ext3"
273	@$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
274		$(DESTDIR)$(root_sbindir)/mkfs.ext3
275	@echo "	LINK $(root_sbindir)/e2label"
276	@$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
277		$(DESTDIR)$(root_sbindir)/e2label
278	@echo "	LINK $(root_sbindir)/findfs"
279	@$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
280		$(DESTDIR)$(root_sbindir)/findfs
281	@for i in $(UPROGS); do \
282		echo "	INSTALL $(bindir)/$$i"; \
283		$(INSTALL_PROGRAM) $$i $(DESTDIR)$(bindir)/$$i; \
284	done
285	@for i in $(LPROGS); do \
286		echo "	INSTALL $(libdir)/$$i"; \
287		$(INSTALL_PROGRAM) $$i $(DESTDIR)$(libdir)/$$i; \
288	done
289	@for i in $(SMANPAGES); do \
290		for j in $(COMPRESS_EXT); do \
291			$(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
292		done; \
293		echo "	INSTALL_DATA $(man8dir)/$$i"; \
294		$(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
295	done
296	@$(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8.gz \
297		$(DESTDIR)$(man8dir)/mkfs.ext3.8.gz
298	@echo "	LINK mkfs.ext2.8"
299	@$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
300		$(DESTDIR)$(man8dir)/mkfs.ext2.8
301	@echo "	LINK mkfs.ext3.8"
302	@$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
303		$(DESTDIR)$(man8dir)/mkfs.ext3.8
304	@for i in $(UMANPAGES); do \
305		for j in $(COMPRESS_EXT); do \
306			$(RM) -f $(DESTDIR)$(man1dir)/$$i.$$j; \
307		done; \
308		echo "	INSTALL_DATA $(man1dir)/$$i"; \
309		$(INSTALL_DATA) $$i $(DESTDIR)$(man1dir)/$$i; \
310	done
311	@for i in $(FMANPAGES); do \
312		for j in $(COMPRESS_EXT); do \
313			$(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
314		done; \
315		echo "	INSTALL_DATA $(man5dir)/$$i"; \
316		$(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
317	done
318	@if ! test -f $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; then \
319		echo "	INSTALL_DATA $(root_sysconfdir)/mke2fs.conf"; \
320		$(INSTALL_DATA) $(srcdir)/mke2fs.conf \
321			$(DESTDIR)$(root_sysconfdir)/mke2fs.conf; \
322	fi
323
324install-strip: install
325	@for i in $(SPROGS); do \
326		echo "	STRIP $(root_sbindir)/$$i"; \
327		$(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
328	done
329	@for i in $(USPROGS); do \
330		echo "	STRIP $(sbindir)/$$i"; \
331		$(STRIP) $(DESTDIR)$(sbindir)/$$i; \
332	done
333
334uninstall:
335	for i in $(SPROGS); do \
336		$(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
337	done
338	for i in $(USPROGS); do \
339		$(RM) -f $(DESTDIR)$(sbindir)/$$i; \
340	done
341	for i in $(LPROGS); do \
342		$(RM) -f $(DESTDIR)$(libdir)/$$i; \
343	done
344	$(RM) -f $(DESTDIR)$(root_sbindir)/mkfs.ext2 \
345			$(DESTDIR)$(root_sbindir)/mkfs.ext3
346	for i in $(UPROGS); do \
347		$(RM) -f $(DESTDIR)$(bindir)/$$i; \
348	done
349	for i in $(SMANPAGES); do \
350		$(RM) -f $(DESTDIR)$(man8dir)/$$i; \
351	done
352	$(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8 \
353		$(DESTDIR)$(man8dir)/mkfs.ext3.8
354	for i in $(UMANPAGES); do \
355		$(RM) -f $(DESTDIR)$(man1dir)/$$i; \
356	done
357	for i in findfs e2label ; do \
358		$(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
359	done
360	for i in fsck.ext2.8 fsck.ext3.8 ; do \
361		$(RM) -f $(DESTDIR)$(man8dir)/$$i; \
362	done
363	for i in $(FMANPAGES); do \
364		$(RM) -f $(DESTDIR)$(man5dir)/$$i; \
365	done
366	if cmp -s $(srcdir)/mke2fs.conf $(DESTDIR)/$(root_sysconfdir)/mke2fs.conf; then \
367		$(RM) $(DESTDIR)/$(root_sysconfdir)/mke2fs.conf; \
368	fi
369
370clean:
371	$(RM) -f $(SPROGS) $(USPROGS) $(UPROGS) $(UMANPAGES) $(SMANPAGES) \
372		$(FMANPAGES) \
373		base_device base_device.out mke2fs.static filefrag \
374		e2initrd_helper partinfo prof_err.[ch] default_profile.c \
375		uuidd e2image tst_ismounted \#* *.s *.o *.a *~ core
376
377mostlyclean: clean
378distclean: clean
379	$(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
380
381# +++ Dependency line eater +++
382#
383# Makefile dependencies follow.  This must be the last section in
384# the Makefile.in file
385#
386tune2fs.o: $(srcdir)/tune2fs.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
387 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
388 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
389 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
390 $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
391 $(top_srcdir)/lib/uuid/uuid.h $(top_srcdir)/lib/e2p/e2p.h \
392 $(srcdir)/jfs_user.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
393 $(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h \
394 $(srcdir)/util.h $(top_srcdir)/lib/blkid/blkid.h \
395 $(top_builddir)/lib/blkid/blkid_types.h $(top_srcdir)/version.h \
396 $(srcdir)/nls-enable.h
397mklost+found.o: $(srcdir)/mklost+found.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
398 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/version.h \
399 $(srcdir)/nls-enable.h
400mke2fs.o: $(srcdir)/mke2fs.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
401 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/et/com_err.h \
402 $(top_srcdir)/lib/uuid/uuid.h $(top_srcdir)/lib/e2p/e2p.h \
403 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
404 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
405 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
406 $(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/util.h \
407 $(srcdir)/../e2fsck/profile.h prof_err.h $(top_srcdir)/version.h \
408 $(srcdir)/nls-enable.h
409chattr.o: $(srcdir)/chattr.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
410 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/et/com_err.h \
411 $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
412 $(top_srcdir)/version.h $(srcdir)/nls-enable.h
413lsattr.o: $(srcdir)/lsattr.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
414 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/et/com_err.h \
415 $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
416 $(top_srcdir)/version.h $(srcdir)/nls-enable.h
417dumpe2fs.o: $(srcdir)/dumpe2fs.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
418 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
419 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
420 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
421 $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
422 $(top_srcdir)/lib/e2p/e2p.h $(srcdir)/jfs_user.h \
423 $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
424 $(top_srcdir)/lib/ext2fs/kernel-list.h $(top_srcdir)/lib/uuid/uuid.h \
425 $(top_srcdir)/version.h $(srcdir)/nls-enable.h
426badblocks.o: $(srcdir)/badblocks.c $(top_srcdir)/lib/et/com_err.h \
427 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
428 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
429 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
430 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
431 $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
432 $(srcdir)/nls-enable.h
433fsck.o: $(srcdir)/fsck.c $(top_srcdir)/version.h $(srcdir)/nls-enable.h \
434 $(srcdir)/fsck.h $(top_srcdir)/lib/blkid/blkid.h \
435 $(top_builddir)/lib/blkid/blkid_types.h
436util.o: $(srcdir)/util.c $(top_srcdir)/lib/et/com_err.h \
437 $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
438 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
439 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
440 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
441 $(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/nls-enable.h \
442 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
443 $(srcdir)/util.h
444uuidgen.o: $(srcdir)/uuidgen.c $(top_srcdir)/lib/uuid/uuid.h \
445 $(srcdir)/nls-enable.h
446blkid.o: $(srcdir)/blkid.c $(top_srcdir)/lib/blkid/blkid.h \
447 $(top_builddir)/lib/blkid/blkid_types.h
448logsave.o: $(srcdir)/logsave.c
449filefrag.o: $(srcdir)/filefrag.c
450base_device.o: $(srcdir)/base_device.c $(srcdir)/fsck.h
451ismounted.o: $(srcdir)/ismounted.c $(top_srcdir)/lib/et/com_err.h
452profile.o: $(srcdir)/../e2fsck/profile.c $(top_srcdir)/lib/et/com_err.h \
453 $(srcdir)/../e2fsck/profile.h prof_err.h
454