blob: d91d561632381a3205e15399888ee3d346f569d5 [file] [log] [blame]
Theodore Ts'o50e1e101997-04-26 13:58:21 +00001#
2# Makefile for e2fsck
3#
4
5srcdir = @srcdir@
6top_srcdir = @top_srcdir@
7VPATH = @srcdir@
8top_builddir = ..
Theodore Ts'o1e3472c1997-04-29 14:53:37 +00009my_dir = e2fsck
Theodore Ts'o50e1e101997-04-26 13:58:21 +000010INSTALL = @INSTALL@
11LDFLAG_STATIC = @LDFLAG_STATIC@
12
13@MCONFIG@
14
Theodore Ts'o5be8dc21997-12-01 18:24:10 +000015PROGS= e2fsck
Theodore Ts'o50e1e101997-04-26 13:58:21 +000016MANPAGES= e2fsck.8
Theodore Ts'o8bf191e1997-10-20 01:38:32 +000017XTRA_CFLAGS= -DRESOURCE_TRACK
Theodore Ts'o50e1e101997-04-26 13:58:21 +000018
Theodore Ts'oa04eba32003-05-03 16:35:17 -040019LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBBLKID) $(LIBUUID) $(LIBINTL)
Theodore Ts'of3640932003-03-01 19:47:44 -050020DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBBLKID) $(DEPLIBUUID)
Theodore Ts'o62c06f71997-04-29 14:34:47 +000021
Theodore Ts'of3640932003-03-01 19:47:44 -050022STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(STATIC_LIBBLKID) \
Theodore Ts'oa04eba32003-05-03 16:35:17 -040023 $(STATIC_LIBUUID) $(LIBINTL)
Theodore Ts'of3640932003-03-01 19:47:44 -050024STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(STATIC_LIBBLKID) \
25 $(DEPSTATIC_LIBUUID)
Theodore Ts'o62c06f71997-04-29 14:34:47 +000026
Theodore Ts'of3640932003-03-01 19:47:44 -050027PROFILED_LIBS= $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR) \
Theodore Ts'oed52f622004-02-23 21:26:23 -050028 $(PROFILED_LIBBLKID) $(PROFILED_LIBUUID) $(LIBINTL)
Theodore Ts'o894edb22000-01-18 21:27:12 +000029PROFILED_DEPLIBS= $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR) \
Theodore Ts'oed52f622004-02-23 21:26:23 -050030 $(PROFILED_LIBBLKID) $(DEPPROFILED_LIBUUID)
Theodore Ts'o50e1e101997-04-26 13:58:21 +000031
32.c.o:
Theodore Ts'o74becf31997-04-26 14:37:06 +000033 $(CC) -c $(ALL_CFLAGS) $< -o $@
Theodore Ts'o21c84b71997-04-29 16:15:03 +000034@PROFILE_CMT@ $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
Theodore Ts'o50e1e101997-04-26 13:58:21 +000035
36#
37# Flags for using Checker
38# Note: The optimization flags must include -g
39#
40#MCHECK= -checker
Theodore Ts'o62c06f71997-04-29 14:34:47 +000041#LIBS= $(LIBCOM_ERR) $(LIB_EXT2FS) $(CHECKLIB)
42#DEPLIBS= $(LIBCOM_ERR) $(LIB_EXT2FS)
Theodore Ts'o50e1e101997-04-26 13:58:21 +000043#CHECKLIB= /usr/lib/libchecker.o
44
45#
46# Flags for doing mtrace --- uncomment to produce mtracing e2fsck
47# Note: The optimization flags must include -g
48#
49#MTRACE= -DMTRACE
50#MTRACE_OBJ= mtrace.o
51#MTRACE_SRC= $(srcdir)/mtrace.c
52#OPT= -g
53
54#
55# Flags for doing mcheck --- uncomment to produce mchecking e2fsck
56# Note: The optimization flags must include -g
57#
58#MCHECK= -DMCHECK
59
Theodore Ts'o838e7732002-08-01 12:37:00 -040060OBJS= dict.o unix.o e2fsck.o super.o pass1.o pass1b.o pass2.o pass3.o pass4.o \
Theodore Ts'o8fdc9982002-06-25 23:26:34 -040061 pass5.o journal.o swapfs.o badblocks.o util.o dirinfo.o dx_dirinfo.o \
62 ehandler.o problem.o message.o recovery.o region.o revoke.o \
Theodore Ts'ob7a00562002-07-20 00:28:07 -040063 ea_refcount.o rehash.o $(MTRACE_OBJ)
Theodore Ts'o50e1e101997-04-26 13:58:21 +000064
Theodore Ts'o838e7732002-08-01 12:37:00 -040065PROFILED_OBJS= profiled/dict.o profiled/unix.o profiled/e2fsck.o \
66 profiled/super.o profiled/pass1.o profiled/pass1b.o \
Theodore Ts'o62c06f71997-04-29 14:34:47 +000067 profiled/pass2.o profiled/pass3.o profiled/pass4.o profiled/pass5.o \
Theodore Ts'o17390c02000-07-07 04:13:21 +000068 profiled/journal.o profiled/badblocks.o profiled/util.o \
Theodore Ts'o8fdc9982002-06-25 23:26:34 -040069 profiled/dirinfo.o profiled/dx_dirinfo.o profiled/ehandler.o \
70 profiled/message.o profiled/problem.o profiled/swapfs.o \
71 profiled/recovery.o profiled/region.o profiled/revoke.o \
Theodore Ts'ob7a00562002-07-20 00:28:07 -040072 profiled/ea_refcount.o profiled/rehash.o
Theodore Ts'o62c06f71997-04-29 14:34:47 +000073
Theodore Ts'o50e1e101997-04-26 13:58:21 +000074SRCS= $(srcdir)/e2fsck.c \
Theodore Ts'o838e7732002-08-01 12:37:00 -040075 $(srcdir)/dict.c \
Theodore Ts'o1b6bf171997-10-03 17:48:10 +000076 $(srcdir)/super.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000077 $(srcdir)/pass1.c \
78 $(srcdir)/pass1b.c \
79 $(srcdir)/pass2.c \
80 $(srcdir)/pass3.c \
81 $(srcdir)/pass4.c \
82 $(srcdir)/pass5.c \
Theodore Ts'o17390c02000-07-07 04:13:21 +000083 $(srcdir)/journal.c \
Theodore Ts'o3b5386d2000-08-14 14:25:19 +000084 $(srcdir)/recovery.c \
Theodore Ts'o0e8a9562000-12-09 06:41:25 +000085 $(srcdir)/revoke.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000086 $(srcdir)/badblocks.c \
87 $(srcdir)/util.c \
Theodore Ts'o1b6bf171997-10-03 17:48:10 +000088 $(srcdir)/unix.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000089 $(srcdir)/dirinfo.c \
Theodore Ts'o8fdc9982002-06-25 23:26:34 -040090 $(srcdir)/dx_dirinfo.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000091 $(srcdir)/ehandler.c \
Theodore Ts'o21c84b71997-04-29 16:15:03 +000092 $(srcdir)/problem.c \
Theodore Ts'o5df55d72001-06-11 07:00:04 +000093 $(srcdir)/message.c \
94 $(srcdir)/swapfs.c \
Theodore Ts'o342d8472001-07-02 11:54:09 -040095 $(srcdir)/ea_refcount.c \
Theodore Ts'ob7a00562002-07-20 00:28:07 -040096 $(srcdir)/rehash.c \
Theodore Ts'o55fd07e2001-07-19 16:31:25 -040097 $(srcdir)/region.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000098 $(MTRACE_SRC)
99
Theodore Ts'o1e3472c1997-04-29 14:53:37 +0000100all:: profiled $(PROGS) e2fsck.static e2fsck.shared $(MANPAGES)
Theodore Ts'o28ffafb2000-02-08 19:14:02 +0000101 @sync
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000102
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000103@PROFILE_CMT@all:: e2fsck.profiled
104
105e2fsck: e2fsck.@E2FSCK_TYPE@
106 $(CP) e2fsck.@E2FSCK_TYPE@ e2fsck
107
108e2fsck.static: $(OBJS) $(STATIC_DEPLIBS)
109 $(LD) $(ALL_LDFLAGS) $(LDFLAG_STATIC) -o e2fsck.static $(OBJS) \
110 $(STATIC_LIBS)
111
112e2fsck.shared: $(OBJS) $(DEPLIBS)
113 $(LD) $(ALL_LDFLAGS) -o e2fsck.shared $(OBJS) $(LIBS)
114
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000115e2fsck.profiled: $(PROFILED_OBJS) $(PROFILED_DEPLIBS)
116 $(LD) $(ALL_LDFLAGS) -g -pg -o e2fsck.profiled $(PROFILED_OBJS) \
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000117 $(PROFILED_LIBS)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000118
Theodore Ts'o342d8472001-07-02 11:54:09 -0400119tst_refcount: ea_refcount.c
120 $(CC) -o tst_refcount $(srcdir)/ea_refcount.c \
121 $(ALL_CFLAGS) -DTEST_PROGRAM -lcom_err
122
Theodore Ts'o55fd07e2001-07-19 16:31:25 -0400123tst_region: region.c
124 $(CC) -o tst_region $(srcdir)/region.c \
125 $(ALL_CFLAGS) -DTEST_PROGRAM -lcom_err
126
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000127extend: extend.o
Theodore Ts'o74becf31997-04-26 14:37:06 +0000128 $(LD) $(ALL_LDFLAGS) -o extend extend.o $(CHECKLIB)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000129
130flushb: flushb.o
Theodore Ts'o74becf31997-04-26 14:37:06 +0000131 $(LD) $(ALL_LDFLAGS) -o flushb flushb.o $(CHECKLIB)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000132
Theodore Ts'oe3bda782001-08-08 20:50:57 -0400133iscan: iscan.o util.o ehandler.o $(DEPLIBS)
Theodore Ts'o74becf31997-04-26 14:37:06 +0000134 $(LD) $(ALL_LDFLAGS) -o iscan iscan.o util.o ehandler.o $(LIBS)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000135
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000136profiled:
137 mkdir profiled
138
Theodore Ts'o44339bd1997-10-15 02:47:20 +0000139e2fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.8.in
Theodore Ts'odd607052004-04-03 13:53:46 -0500140 $(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.8.in e2fsck.8
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000141
142installdirs:
Theodore Ts'o7e44f241998-04-01 03:16:29 +0000143 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(root_sbindir) \
144 $(DESTDIR)$(man8dir)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000145
146install: $(PROGS) $(MANPAGES) installdirs
147 for i in $(PROGS); do \
Theodore Ts'o7e44f241998-04-01 03:16:29 +0000148 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
149 $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000150 done
Theodore Ts'o7e44f241998-04-01 03:16:29 +0000151 $(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
152 $(DESTDIR)$(root_sbindir)/fsck.ext2
Theodore Ts'o1d279212000-05-19 02:38:14 +0000153 $(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
154 $(DESTDIR)$(root_sbindir)/fsck.ext3
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000155 for i in $(MANPAGES); do \
Theodore Ts'o482afc42002-10-31 03:32:34 -0500156 for j in $(COMPRESS_EXT); do \
157 $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
158 done; \
Theodore Ts'o74becf31997-04-26 14:37:06 +0000159 $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000160 done
Theodore Ts'o25813b12002-02-24 03:48:45 -0500161 $(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 $(DESTDIR)$(man8dir)/fsck.ext2.8
162 $(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 $(DESTDIR)$(man8dir)/fsck.ext3.8
Theodore Ts'o74becf31997-04-26 14:37:06 +0000163
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000164uninstall:
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000165 for i in $(PROGS); do \
Theodore Ts'o7e44f241998-04-01 03:16:29 +0000166 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000167 done
Theodore Ts'o1d279212000-05-19 02:38:14 +0000168 $(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
169 $(DESTDIR)$(root_sbindir)/fsck.ext3
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000170 for i in $(MANPAGES); do \
Theodore Ts'o7e44f241998-04-01 03:16:29 +0000171 $(RM) -f $(DESTDIR)$(man8dir)/$$i; \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000172 done
Theodore Ts'ob9f40922002-02-24 03:08:57 -0500173 $(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
174 $(DESTDIR)$(root_sbindir)/fsck.ext3
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000175
176clean:
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000177 $(RM) -f $(PROGS) \#* *\# *.s *.o *.a *~ core e2fsck.static \
Theodore Ts'o3ac9f0e1999-07-19 21:02:11 +0000178 e2fsck.shared e2fsck.profiled flushb e2fsck.8
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000179 $(RM) -rf profiled
180
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000181mostlyclean: clean
182distclean: clean
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +0000183 $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000184
185# +++ Dependency line eater +++
186#
187# Makefile dependencies follow. This must be the last section in
188# the Makefile.in file
189#
Theodore Ts'o80bfaa32000-08-18 15:08:37 +0000190e2fsck.o: $(srcdir)/e2fsck.c $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000191 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
192 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
193 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500194 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
195 $(top_builddir)/lib/blkid/blkid_types.h $(srcdir)/problem.h
Theodore Ts'ob7bad612002-08-31 03:00:33 -0400196dict.o: $(srcdir)/dict.c $(srcdir)/dict.h
Theodore Ts'o08b21301997-11-03 19:42:40 +0000197super.o: $(srcdir)/super.c $(top_srcdir)/lib/uuid/uuid.h $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000198 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
199 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
200 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500201 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
202 $(top_builddir)/lib/blkid/blkid_types.h $(srcdir)/problem.h
Theodore Ts'o80bfaa32000-08-18 15:08:37 +0000203pass1.o: $(srcdir)/pass1.c $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000204 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
205 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
206 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500207 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
208 $(top_builddir)/lib/blkid/blkid_types.h \
209 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(srcdir)/problem.h
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000210pass1b.o: $(srcdir)/pass1b.c $(top_srcdir)/lib/et/com_err.h \
Theodore Ts'o54c637d2001-05-14 11:45:38 +0000211 $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000212 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
213 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500214 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
215 $(top_builddir)/lib/blkid/blkid_types.h $(srcdir)/problem.h $(srcdir)/dict.h
Theodore Ts'o5a679c81998-12-03 16:40:38 +0000216pass2.o: $(srcdir)/pass2.c $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000217 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
218 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
219 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500220 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
221 $(top_builddir)/lib/blkid/blkid_types.h $(srcdir)/problem.h $(srcdir)/dict.h
Theodore Ts'o08b21301997-11-03 19:42:40 +0000222pass3.o: $(srcdir)/pass3.c $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000223 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
224 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
225 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500226 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
227 $(top_builddir)/lib/blkid/blkid_types.h $(srcdir)/problem.h
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000228pass4.o: $(srcdir)/pass4.c $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000229 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
230 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
231 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500232 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
233 $(top_builddir)/lib/blkid/blkid_types.h $(srcdir)/problem.h
Theodore Ts'o08b21301997-11-03 19:42:40 +0000234pass5.o: $(srcdir)/pass5.c $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000235 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
236 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
237 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500238 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
239 $(top_builddir)/lib/blkid/blkid_types.h $(srcdir)/problem.h
Theodore Ts'o96b5cac2001-12-24 15:33:49 -0500240journal.o: $(srcdir)/journal.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
241 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
242 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
243 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500244 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
245 $(top_builddir)/lib/blkid/blkid_types.h \
246 $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
247 $(top_srcdir)/lib/ext2fs/kernel-list.h $(srcdir)/problem.h \
248 $(top_srcdir)/lib/uuid/uuid.h
Theodore Ts'o96b5cac2001-12-24 15:33:49 -0500249recovery.o: $(srcdir)/recovery.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
250 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
251 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
252 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500253 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
254 $(top_builddir)/lib/blkid/blkid_types.h \
255 $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
256 $(top_srcdir)/lib/ext2fs/kernel-list.h
Theodore Ts'o96b5cac2001-12-24 15:33:49 -0500257revoke.o: $(srcdir)/revoke.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
258 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
259 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
260 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500261 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
262 $(top_builddir)/lib/blkid/blkid_types.h \
263 $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
264 $(top_srcdir)/lib/ext2fs/kernel-list.h
Theodore Ts'o80bfaa32000-08-18 15:08:37 +0000265badblocks.o: $(srcdir)/badblocks.c $(top_srcdir)/lib/et/com_err.h \
Theodore Ts'o54c637d2001-05-14 11:45:38 +0000266 $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000267 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
Theodore Ts'o80bfaa32000-08-18 15:08:37 +0000268 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500269 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
270 $(top_builddir)/lib/blkid/blkid_types.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000271util.o: $(srcdir)/util.c $(srcdir)/e2fsck.h \
272 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
273 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
274 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500275 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
276 $(top_builddir)/lib/blkid/blkid_types.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000277unix.o: $(srcdir)/unix.c $(top_srcdir)/lib/et/com_err.h $(srcdir)/e2fsck.h \
278 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
279 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
Theodore Ts'o80bfaa32000-08-18 15:08:37 +0000280 $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500281 $(top_srcdir)/lib/blkid/blkid.h $(top_builddir)/lib/blkid/blkid_types.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000282 $(srcdir)/problem.h $(top_srcdir)/version.h
283dirinfo.o: $(srcdir)/dirinfo.c $(srcdir)/e2fsck.h \
284 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
285 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
286 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500287 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
288 $(top_builddir)/lib/blkid/blkid_types.h
Theodore Ts'ob7bad612002-08-31 03:00:33 -0400289dx_dirinfo.o: $(srcdir)/dx_dirinfo.c $(srcdir)/e2fsck.h \
290 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
291 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
292 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500293 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
294 $(top_builddir)/lib/blkid/blkid_types.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000295ehandler.o: $(srcdir)/ehandler.c $(srcdir)/e2fsck.h \
296 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
297 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
298 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500299 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
300 $(top_builddir)/lib/blkid/blkid_types.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000301problem.o: $(srcdir)/problem.c $(srcdir)/e2fsck.h \
302 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
303 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
304 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500305 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
306 $(top_builddir)/lib/blkid/blkid_types.h $(srcdir)/problem.h \
307 $(srcdir)/problemP.h
Theodore Ts'o16f095e2001-06-13 21:40:58 +0000308message.o: $(srcdir)/message.c $(srcdir)/e2fsck.h \
309 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
310 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
311 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500312 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
313 $(top_builddir)/lib/blkid/blkid_types.h $(srcdir)/problem.h
Theodore Ts'o16f095e2001-06-13 21:40:58 +0000314swapfs.o: $(srcdir)/swapfs.c $(top_srcdir)/lib/et/com_err.h \
315 $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
316 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
317 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500318 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
319 $(top_builddir)/lib/blkid/blkid_types.h
Theodore Ts'o55fd07e2001-07-19 16:31:25 -0400320ea_refcount.o: $(srcdir)/ea_refcount.c $(srcdir)/e2fsck.h \
321 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
322 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
323 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500324 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
325 $(top_builddir)/lib/blkid/blkid_types.h
Theodore Ts'ob7bad612002-08-31 03:00:33 -0400326rehash.o: $(srcdir)/rehash.c $(srcdir)/e2fsck.h \
327 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
328 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
329 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500330 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
331 $(top_builddir)/lib/blkid/blkid_types.h $(srcdir)/problem.h
Theodore Ts'o55fd07e2001-07-19 16:31:25 -0400332region.o: $(srcdir)/region.c $(srcdir)/e2fsck.h \
333 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
334 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
335 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o6cca7ba2003-03-16 20:21:16 -0500336 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
337 $(top_builddir)/lib/blkid/blkid_types.h