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