blob: 6f626f4dac2db1d83a160bf220e1eb93f1f4c173 [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@
Theodore Ts'o50e1e101997-04-26 13:58:21 +000011
12@MCONFIG@
13
Theodore Ts'o5be8dc21997-12-01 18:24:10 +000014PROGS= e2fsck
Theodore Ts'o50e1e101997-04-26 13:58:21 +000015MANPAGES= e2fsck.8
Theodore Ts'o1abdba42006-03-27 01:03:11 -050016FMANPAGES= e2fsck.conf.5
Theodore Ts'o50e1e101997-04-26 13:58:21 +000017
Theodore Ts'of34af412015-07-11 23:05:57 -040018LIBS= $(LIBSUPPORT) $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBBLKID) $(LIBUUID) \
Darrick J. Wongb291c112014-09-13 15:12:46 -070019 $(LIBINTL) $(LIBE2P) $(LIBMAGIC) $(SYSLIBS)
Theodore Ts'of34af412015-07-11 23:05:57 -040020DEPLIBS= $(DEPLIBSUPPORT) $(LIBEXT2FS) $(DEPLIBCOM_ERR) $(DEPLIBBLKID) \
Aditya Kali624e4a62011-07-20 11:40:06 -070021 $(DEPLIBUUID) $(DEPLIBE2P)
Theodore Ts'o62c06f71997-04-29 14:34:47 +000022
Theodore Ts'of34af412015-07-11 23:05:57 -040023STATIC_LIBS= $(STATIC_LIBSUPPORT) $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) \
Theodore Ts'o6c59a662014-01-04 20:44:29 -050024 $(STATIC_LIBBLKID) $(STATIC_LIBUUID) $(LIBINTL) $(STATIC_LIBE2P) \
Darrick J. Wongb291c112014-09-13 15:12:46 -070025 $(LIBMAGIC) $(SYSLIBS)
Theodore Ts'of34af412015-07-11 23:05:57 -040026STATIC_DEPLIBS= $(DEPSTATIC_LIBSUPPORT) $(STATIC_LIBEXT2FS) \
Aditya Kali624e4a62011-07-20 11:40:06 -070027 $(DEPSTATIC_LIBCOM_ERR) $(DEPSTATIC_LIBBLKID) \
28 $(DEPSTATIC_LIBUUID) $(DEPSTATIC_LIBE2P)
Theodore Ts'o62c06f71997-04-29 14:34:47 +000029
Theodore Ts'of34af412015-07-11 23:05:57 -040030PROFILED_LIBS= $(PROFILED_LIBSUPPORT) $(PROFILED_LIBEXT2FS) \
Aditya Kali624e4a62011-07-20 11:40:06 -070031 $(PROFILED_LIBCOM_ERR) $(PROFILED_LIBBLKID) $(PROFILED_LIBUUID) \
Darrick J. Wongb291c112014-09-13 15:12:46 -070032 $(PROFILED_LIBE2P) $(LIBINTL) $(LIBMAGIC) $(SYSLIBS)
Theodore Ts'of34af412015-07-11 23:05:57 -040033PROFILED_DEPLIBS= $(DEPPROFILED_LIBSUPPORT) $(PROFILED_LIBEXT2FS) \
Aditya Kali624e4a62011-07-20 11:40:06 -070034 $(DEPPROFILED_LIBCOM_ERR) $(DEPPROFILED_LIBBLKID) \
35 $(DEPPROFILED_LIBUUID) $(DEPPROFILED_LIBE2P)
Theodore Ts'o50e1e101997-04-26 13:58:21 +000036
Theodore Ts'oa2143b52016-09-01 22:25:22 -040037COMPILE_ET= _ET_DIR_OVERRIDE=$(srcdir)/../lib/et/et ../lib/et/compile_et
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -050038
Theodore Ts'o50e1e101997-04-26 13:58:21 +000039.c.o:
Theodore Ts'oc13351f2009-07-02 00:11:17 -040040 $(E) " CC $<"
41 $(Q) $(CC) -c $(ALL_CFLAGS) $< -o $@
Darrick J. Wong832cb612013-10-11 23:02:12 -040042 $(Q) $(CHECK_CMD) $(ALL_CFLAGS) $<
Darrick J. Wonga46300f2014-05-11 18:32:07 -040043 $(Q) $(CPPCHECK_CMD) $(CPPFLAGS) $<
Theodore Ts'oc13351f2009-07-02 00:11:17 -040044@PROFILE_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
Theodore Ts'o50e1e101997-04-26 13:58:21 +000045
46#
Theodore Ts'o50e1e101997-04-26 13:58:21 +000047# Flags for doing mtrace --- uncomment to produce mtracing e2fsck
48# Note: The optimization flags must include -g
49#
50#MTRACE= -DMTRACE
51#MTRACE_OBJ= mtrace.o
52#MTRACE_SRC= $(srcdir)/mtrace.c
53#OPT= -g
54
55#
56# Flags for doing mcheck --- uncomment to produce mchecking e2fsck
57# Note: The optimization flags must include -g
58#
59#MCHECK= -DMCHECK
60
Theodore Ts'o3dca12f2015-07-12 22:43:31 -040061OBJS= unix.o e2fsck.o super.o pass1.o pass1b.o pass2.o \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -040062 pass3.o pass4.o pass5.o journal.o badblocks.o util.o dirinfo.o \
Aditya Kali624e4a62011-07-20 11:40:06 -070063 dx_dirinfo.o ehandler.o problem.o message.o quota.o recovery.o \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -040064 region.o revoke.o ea_refcount.o rehash.o \
Theodore Ts'o99ceb8e2015-07-12 21:55:32 -040065 logfile.o sigcatcher.o $(MTRACE_OBJ) readahead.o \
Darrick J. Wonge228d702015-04-01 19:34:40 -070066 extents.o
Theodore Ts'o50e1e101997-04-26 13:58:21 +000067
Theodore Ts'o3dca12f2015-07-12 22:43:31 -040068PROFILED_OBJS= profiled/unix.o profiled/e2fsck.o \
Theodore Ts'o838e7732002-08-01 12:37:00 -040069 profiled/super.o profiled/pass1.o profiled/pass1b.o \
Theodore Ts'o62c06f71997-04-29 14:34:47 +000070 profiled/pass2.o profiled/pass3.o profiled/pass4.o profiled/pass5.o \
Theodore Ts'o17390c02000-07-07 04:13:21 +000071 profiled/journal.o profiled/badblocks.o profiled/util.o \
Theodore Ts'o8fdc9982002-06-25 23:26:34 -040072 profiled/dirinfo.o profiled/dx_dirinfo.o profiled/ehandler.o \
Aditya Kali624e4a62011-07-20 11:40:06 -070073 profiled/message.o profiled/problem.o profiled/quota.o \
Theodore Ts'o8fdc9982002-06-25 23:26:34 -040074 profiled/recovery.o profiled/region.o profiled/revoke.o \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -040075 profiled/ea_refcount.o profiled/rehash.o \
76 profiled/logfile.o profiled/sigcatcher.o \
Theodore Ts'o99ceb8e2015-07-12 21:55:32 -040077 profiled/readahead.o profiled/extents.o
Theodore Ts'o62c06f71997-04-29 14:34:47 +000078
Theodore Ts'o50e1e101997-04-26 13:58:21 +000079SRCS= $(srcdir)/e2fsck.c \
Theodore Ts'o1b6bf171997-10-03 17:48:10 +000080 $(srcdir)/super.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000081 $(srcdir)/pass1.c \
82 $(srcdir)/pass1b.c \
83 $(srcdir)/pass2.c \
84 $(srcdir)/pass3.c \
85 $(srcdir)/pass4.c \
86 $(srcdir)/pass5.c \
Theodore Ts'o17390c02000-07-07 04:13:21 +000087 $(srcdir)/journal.c \
Theodore Ts'o3b5386d2000-08-14 14:25:19 +000088 $(srcdir)/recovery.c \
Theodore Ts'o0e8a9562000-12-09 06:41:25 +000089 $(srcdir)/revoke.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000090 $(srcdir)/badblocks.c \
91 $(srcdir)/util.c \
Theodore Ts'o1b6bf171997-10-03 17:48:10 +000092 $(srcdir)/unix.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000093 $(srcdir)/dirinfo.c \
Theodore Ts'o8fdc9982002-06-25 23:26:34 -040094 $(srcdir)/dx_dirinfo.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000095 $(srcdir)/ehandler.c \
Theodore Ts'o21c84b71997-04-29 16:15:03 +000096 $(srcdir)/problem.c \
Theodore Ts'o5df55d72001-06-11 07:00:04 +000097 $(srcdir)/message.c \
Theodore Ts'o342d8472001-07-02 11:54:09 -040098 $(srcdir)/ea_refcount.c \
Theodore Ts'ob7a00562002-07-20 00:28:07 -040099 $(srcdir)/rehash.c \
Darrick J. Wong79614b22015-04-20 22:27:19 -0400100 $(srcdir)/readahead.c \
Theodore Ts'o55fd07e2001-07-19 16:31:25 -0400101 $(srcdir)/region.c \
Theodore Ts'o9b3018a2011-08-11 14:56:49 -0400102 $(srcdir)/sigcatcher.c \
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400103 $(srcdir)/logfile.c \
Aditya Kali624e4a62011-07-20 11:40:06 -0700104 $(srcdir)/quota.c \
Darrick J. Wonge228d702015-04-01 19:34:40 -0700105 $(srcdir)/extents.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000106 $(MTRACE_SRC)
107
Theodore Ts'o7e8fe322008-01-27 17:43:10 -0500108all:: profiled $(PROGS) e2fsck $(MANPAGES) $(FMANPAGES)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000109
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000110@PROFILE_CMT@all:: e2fsck.profiled
111
Theodore Ts'o7e8fe322008-01-27 17:43:10 -0500112e2fsck: $(OBJS) $(DEPLIBS)
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400113 $(E) " LD $@"
Theodore Ts'o9b3018a2011-08-11 14:56:49 -0400114 $(Q) $(LD) $(ALL_LDFLAGS) $(RDYNAMIC) -o e2fsck $(OBJS) $(LIBS)
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000115
Theodore Ts'o7e8fe322008-01-27 17:43:10 -0500116e2fsck.static: $(OBJS) $(STATIC_DEPLIBS)
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400117 $(E) " LD $@"
118 $(Q) $(LD) $(LDFLAGS_STATIC) -o e2fsck.static $(OBJS) $(STATIC_LIBS)
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000119
Theodore Ts'o51fb43d2012-10-05 22:01:31 -0400120e2fsck.profiled: $(OBJS) $(PROFILED_DEPLIBS)
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400121 $(E) " LD $@"
122 $(Q) $(LD) $(ALL_LDFLAGS) -g -pg -o e2fsck.profiled $(PROFILED_OBJS) \
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000123 $(PROFILED_LIBS)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000124
Theodore Ts'o3df60142013-06-16 16:14:40 -0400125tst_sigcatcher: $(srcdir)/sigcatcher.c sigcatcher.o
126 $(E) " CC $@"
Michael Forney53904ae2014-09-05 15:42:32 -0700127 $(Q) $(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(RDYNAMIC) \
Theodore Ts'o9b3018a2011-08-11 14:56:49 -0400128 $(srcdir)/sigcatcher.c -DDEBUG -o tst_sigcatcher
129
Theodore Ts'oa6a1c082009-07-01 22:06:51 -0400130tst_problem: $(srcdir)/problem.c $(srcdir)/problem.h $(LIBEXT2FS) \
131 $(DEPLIBCOM_ERR)
Michael Forney53904ae2014-09-05 15:42:32 -0700132 $(Q) $(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) -o tst_problem \
Matthias Andreede43f222009-11-05 01:37:37 +0100133 $(srcdir)/problem.c -DUNITTEST $(LIBEXT2FS) $(LIBCOM_ERR) \
Theodore Ts'o6c59a662014-01-04 20:44:29 -0500134 $(LIBINTL) $(SYSLIBS)
Andreas Dilger7494cbf2009-04-27 16:59:24 -0600135
Theodore Ts'oa6a1c082009-07-01 22:06:51 -0400136tst_refcount: ea_refcount.c $(DEPLIBCOM_ERR)
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400137 $(E) " LD $@"
138 $(Q) $(CC) -o tst_refcount $(srcdir)/ea_refcount.c \
Michael Forney53904ae2014-09-05 15:42:32 -0700139 $(ALL_CFLAGS) $(ALL_LDFLAGS) -DTEST_PROGRAM \
140 $(LIBCOM_ERR) $(LIBEXT2FS) $(SYSLIBS)
Theodore Ts'o342d8472001-07-02 11:54:09 -0400141
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400142tst_logfile: $(srcdir)/logfile.c
143 $(E) " LD $@"
Michael Forney53904ae2014-09-05 15:42:32 -0700144 $(Q) $(CC) -o tst_logfile $(srcdir)/logfile.c \
145 $(ALL_CFLAGS) $(ALL_LDFLAGS) -DTEST_PROGRAM $(SYSLIBS)
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400146
Theodore Ts'oa6a1c082009-07-01 22:06:51 -0400147tst_region: region.c $(DEPLIBCOM_ERR)
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400148 $(E) " LD $@"
149 $(Q) $(CC) -o tst_region $(srcdir)/region.c \
Michael Forney53904ae2014-09-05 15:42:32 -0700150 $(ALL_CFLAGS) $(ALL_LDFLAGS) -DTEST_PROGRAM \
151 $(LIBCOM_ERR) $(SYSLIBS)
Theodore Ts'o55fd07e2001-07-19 16:31:25 -0400152
Darrick J. Wonga8ed3702012-08-02 20:47:46 -0400153check:: tst_refcount tst_region tst_problem
Michael Forney60abcd72014-09-05 15:35:13 -0700154 $(TESTENV) ./tst_refcount
155 $(TESTENV) ./tst_region
Michael Forney60abcd72014-09-05 15:35:13 -0700156 $(TESTENV) ./tst_problem
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400157
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000158extend: extend.o
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400159 $(E) " LD $@"
160 $(Q) $(LD) $(ALL_LDFLAGS) -o extend extend.o $(CHECKLIB)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000161
162flushb: flushb.o
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400163 $(E) " LD $@"
164 $(Q) $(LD) $(ALL_LDFLAGS) -o flushb flushb.o $(CHECKLIB)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000165
Theodore Ts'oe3bda782001-08-08 20:50:57 -0400166iscan: iscan.o util.o ehandler.o $(DEPLIBS)
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400167 $(E) " LD $@"
168 $(Q) $(LD) $(ALL_LDFLAGS) -o iscan iscan.o util.o ehandler.o $(LIBS)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000169
Theodore Ts'o9a4c2092006-01-02 22:04:41 -0500170test_profile: $(srcdir)/profile.c profile_helpers.o argv_parse.o \
Theodore Ts'oa6a1c082009-07-01 22:06:51 -0400171 prof_err.o profile.h $(DEPSTATIC_LIBCOM_ERR)
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400172 $(E) " LD $@"
173 $(Q) $(CC) -o test_profile -DDEBUG_PROGRAM $(srcdir)/profile.c prof_err.o \
Theodore Ts'o9a4c2092006-01-02 22:04:41 -0500174 profile_helpers.o argv_parse.o $(STATIC_LIBCOM_ERR) \
175 $(ALL_CFLAGS)
Theodore Ts'o2fa9ba92005-12-30 23:57:32 -0500176
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000177profiled:
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400178@PROFILE_CMT@ $(E) " MKDIR $@"
179@PROFILE_CMT@ $(Q) mkdir profiled
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000180
Theodore Ts'o44339bd1997-10-15 02:47:20 +0000181e2fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.8.in
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400182 $(E) " SUBST $@"
183 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.8.in e2fsck.8
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000184
Theodore Ts'o1abdba42006-03-27 01:03:11 -0500185e2fsck.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.conf.5.in
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400186 $(E) " SUBST $@"
187 $(Q) $(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.conf.5.in e2fsck.conf.5
Theodore Ts'o1abdba42006-03-27 01:03:11 -0500188
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000189installdirs:
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400190 $(E) " MKINSTALLDIRS $(root_sbindir) $(man8dir)"
191 $(Q) $(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
Theodore Ts'o1abdba42006-03-27 01:03:11 -0500192 $(DESTDIR)$(man8dir) $(DESTDIR)$(man5dir)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000193
Mike Frysinger1f803992008-02-28 20:41:17 -0500194install: $(PROGS) $(MANPAGES) $(FMANPAGES) installdirs
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400195 $(Q) for i in $(PROGS); do \
Theodore Ts'oc1986ec2012-06-13 15:29:13 -0400196 $(ES) " INSTALL $(root_sbindir)/$$i"; \
Theodore Ts'o7e44f241998-04-01 03:16:29 +0000197 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000198 done
Theodore Ts'o5aa6c3f2010-05-17 19:21:42 -0400199 $(Q) for i in ext2 ext3 ext4 ext4dev; do \
Theodore Ts'oc1986ec2012-06-13 15:29:13 -0400200 $(ES) " LINK $(root_sbindir)/fsck.$$i"; \
Theodore Ts'o5aa6c3f2010-05-17 19:21:42 -0400201 (cd $(DESTDIR)$(root_sbindir); \
202 $(LN) $(LINK_INSTALL_FLAGS) e2fsck fsck.$$i); \
203 done
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400204 $(Q) for i in $(MANPAGES); do \
Theodore Ts'o482afc42002-10-31 03:32:34 -0500205 for j in $(COMPRESS_EXT); do \
206 $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
207 done; \
Theodore Ts'oc1986ec2012-06-13 15:29:13 -0400208 $(ES) " INSTALL_DATA $(man8dir)/$$i"; \
Theodore Ts'o74becf31997-04-26 14:37:06 +0000209 $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000210 done
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400211 $(Q) for i in $(FMANPAGES); do \
Theodore Ts'o1abdba42006-03-27 01:03:11 -0500212 for j in $(COMPRESS_EXT); do \
213 $(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
214 done; \
Theodore Ts'oc1986ec2012-06-13 15:29:13 -0400215 $(ES) " INSTALL_DATA $(man5dir)/$$i"; \
Theodore Ts'o1abdba42006-03-27 01:03:11 -0500216 $(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
217 done
Theodore Ts'o5aa6c3f2010-05-17 19:21:42 -0400218 $(Q) for i in ext2 ext3 ext4 ext4dev; do \
Theodore Ts'oc1986ec2012-06-13 15:29:13 -0400219 $(ES) " LINK $(man8dir)/fsck.$$i.8"; \
Theodore Ts'o5aa6c3f2010-05-17 19:21:42 -0400220 (cd $(DESTDIR)$(man8dir); \
221 $(LN) $(LINK_INSTALL_FLAGS) e2fsck.8 fsck.$$i.8); \
222 done
Theodore Ts'o522798d2004-12-15 11:28:55 -0500223
224install-strip: install
Theodore Ts'oc13351f2009-07-02 00:11:17 -0400225 $(Q) for i in $(PROGS); do \
Theodore Ts'oc1986ec2012-06-13 15:29:13 -0400226 $(ES) " STRIP $(root_sbindir)/$$i"; \
Theodore Ts'o522798d2004-12-15 11:28:55 -0500227 $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
228 done
Theodore Ts'o74becf31997-04-26 14:37:06 +0000229
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000230uninstall:
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000231 for i in $(PROGS); do \
Theodore Ts'o7e44f241998-04-01 03:16:29 +0000232 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000233 done
Theodore Ts'o1d279212000-05-19 02:38:14 +0000234 $(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
Theodore Ts'oeda08d42008-05-14 18:23:47 -0400235 $(DESTDIR)$(root_sbindir)/fsck.ext3 \
236 $(DESTDIR)$(root_sbindir)/fsck.ext4 \
237 $(DESTDIR)$(root_sbindir)/fsck.ext4dev
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000238 for i in $(MANPAGES); do \
Theodore Ts'o7e44f241998-04-01 03:16:29 +0000239 $(RM) -f $(DESTDIR)$(man8dir)/$$i; \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000240 done
Theodore Ts'o1abdba42006-03-27 01:03:11 -0500241 for i in $(FMANPAGES); do \
242 $(RM) -f $(DESTDIR)$(man5dir)/$$i; \
243 done
Theodore Ts'ob9f40922002-02-24 03:08:57 -0500244 $(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
Theodore Ts'oeda08d42008-05-14 18:23:47 -0400245 $(DESTDIR)$(root_sbindir)/fsck.ext3 \
246 $(DESTDIR)$(root_sbindir)/fsck.ext4 \
247 $(DESTDIR)$(root_sbindir)/fsck.ext4dev
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000248
Theodore Ts'ofedfb272014-02-23 00:17:09 -0500249clean::
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000250 $(RM) -f $(PROGS) \#* *\# *.s *.o *.a *~ core e2fsck.static \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400251 e2fsck.shared e2fsck.profiled flushb e2fsck.8 \
Theodore Ts'o59a220d2015-07-01 19:40:23 -0400252 tst_problem tst_region tst_refcount tst_crc32 \
253 gen_crc32table e2fsck.conf.5 \
Darrick J. Wonga8ed3702012-08-02 20:47:46 -0400254 prof_err.c prof_err.h test_profile
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000255 $(RM) -rf profiled
256
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000257mostlyclean: clean
258distclean: clean
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +0000259 $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000260
261# +++ Dependency line eater +++
262#
263# Makefile dependencies follow. This must be the last section in
264# the Makefile.in file
265#
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400266e2fsck.o: $(srcdir)/e2fsck.c $(top_builddir)/lib/config.h \
267 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000268 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'oe1f08502009-10-04 14:45:08 -0400269 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
270 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
271 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400272 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400273 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
274 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400275 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400276super.o: $(srcdir)/super.c $(top_builddir)/lib/config.h \
277 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
Theodore Ts'o96b5cac2001-12-24 15:33:49 -0500278 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'oe1f08502009-10-04 14:45:08 -0400279 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
280 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
281 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400282 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400283 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
284 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400285 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400286pass1.o: $(srcdir)/pass1.c $(top_builddir)/lib/config.h \
287 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000288 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400289 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400290 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400291 $(top_builddir)/lib/ext2fs/ext2_err.h \
292 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400293 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
294 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400295 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400296pass1b.o: $(srcdir)/pass1b.c $(top_builddir)/lib/config.h \
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400297 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/et/com_err.h \
298 $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
299 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
300 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
301 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'oe1f08502009-10-04 14:45:08 -0400302 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400303 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
304 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400305 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h \
306 $(top_srcdir)/lib/support/dict.h
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400307pass2.o: $(srcdir)/pass2.c $(top_builddir)/lib/config.h \
308 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000309 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'oe1f08502009-10-04 14:45:08 -0400310 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
311 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
312 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400313 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400314 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
315 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400316 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h \
317 $(top_srcdir)/lib/support/dict.h
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400318pass3.o: $(srcdir)/pass3.c $(top_builddir)/lib/config.h \
319 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
Theodore Ts'ob7bad612002-08-31 03:00:33 -0400320 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'oe1f08502009-10-04 14:45:08 -0400321 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
322 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
323 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400324 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400325 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
326 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400327 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400328pass4.o: $(srcdir)/pass4.c $(top_builddir)/lib/config.h \
329 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000330 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'oe1f08502009-10-04 14:45:08 -0400331 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
332 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
333 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400334 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400335 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
336 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400337 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400338pass5.o: $(srcdir)/pass5.c $(top_builddir)/lib/config.h \
339 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000340 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'oe1f08502009-10-04 14:45:08 -0400341 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
342 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
343 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400344 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400345 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
346 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400347 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400348journal.o: $(srcdir)/journal.c $(top_builddir)/lib/config.h \
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400349 $(top_builddir)/lib/dirpaths.h $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
350 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
351 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
352 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
353 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400354 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400355 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
356 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400357 $(top_srcdir)/lib/support/quotaio_tree.h \
Theodore Ts'of34af412015-07-11 23:05:57 -0400358 $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
359 $(top_srcdir)/lib/ext2fs/kernel-list.h $(srcdir)/problem.h
Darrick J. Wong759c46c2014-09-08 16:12:42 -0700360recovery.o: $(srcdir)/recovery.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400361 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
362 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
363 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
364 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400365 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400366 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
367 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400368 $(top_srcdir)/lib/support/quotaio_tree.h \
Theodore Ts'of34af412015-07-11 23:05:57 -0400369 $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
370 $(top_srcdir)/lib/ext2fs/kernel-list.h
Darrick J. Wong759c46c2014-09-08 16:12:42 -0700371revoke.o: $(srcdir)/revoke.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400372 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
373 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
374 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
375 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400376 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400377 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
378 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400379 $(top_srcdir)/lib/support/quotaio_tree.h \
Theodore Ts'of34af412015-07-11 23:05:57 -0400380 $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
381 $(top_srcdir)/lib/ext2fs/kernel-list.h
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400382badblocks.o: $(srcdir)/badblocks.c $(top_builddir)/lib/config.h \
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400383 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/et/com_err.h \
384 $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
385 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
386 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
387 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400388 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400389 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
390 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400391 $(top_srcdir)/lib/support/quotaio_tree.h
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400392util.o: $(srcdir)/util.c $(top_builddir)/lib/config.h \
393 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
Theodore Ts'o16f095e2001-06-13 21:40:58 +0000394 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'oe1f08502009-10-04 14:45:08 -0400395 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
396 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
397 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400398 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400399 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
400 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400401 $(top_srcdir)/lib/support/quotaio_tree.h
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400402unix.o: $(srcdir)/unix.c $(top_builddir)/lib/config.h \
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400403 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/e2p/e2p.h \
404 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'o99ceb8e2015-07-12 21:55:32 -0400405 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/support/plausible.h \
406 $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
407 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
408 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400409 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400410 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
411 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400412 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h \
413 $(top_srcdir)/version.h
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400414dirinfo.o: $(srcdir)/dirinfo.c $(top_builddir)/lib/config.h \
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400415 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
416 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
417 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
418 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
419 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400420 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400421 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
422 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400423 $(top_srcdir)/lib/support/quotaio_tree.h $(top_srcdir)/lib/ext2fs/tdb.h
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400424dx_dirinfo.o: $(srcdir)/dx_dirinfo.c $(top_builddir)/lib/config.h \
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400425 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
426 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
427 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
428 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
429 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400430 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400431 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
432 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400433 $(top_srcdir)/lib/support/quotaio_tree.h
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400434ehandler.o: $(srcdir)/ehandler.c $(top_builddir)/lib/config.h \
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400435 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
436 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
437 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
438 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
439 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400440 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400441 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
442 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400443 $(top_srcdir)/lib/support/quotaio_tree.h
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400444problem.o: $(srcdir)/problem.c $(top_builddir)/lib/config.h \
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400445 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
446 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
447 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
448 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
449 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400450 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400451 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
452 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400453 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h \
454 $(srcdir)/problemP.h
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400455message.o: $(srcdir)/message.c $(top_builddir)/lib/config.h \
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400456 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
Theodore Ts'o55fd07e2001-07-19 16:31:25 -0400457 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'oe1f08502009-10-04 14:45:08 -0400458 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
459 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
460 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400461 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400462 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
463 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400464 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400465ea_refcount.o: $(srcdir)/ea_refcount.c $(top_builddir)/lib/config.h \
466 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
467 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
468 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
469 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
470 $(top_builddir)/lib/ext2fs/ext2_err.h \
471 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400472 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
473 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400474 $(top_srcdir)/lib/support/quotaio_tree.h
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400475rehash.o: $(srcdir)/rehash.c $(top_builddir)/lib/config.h \
476 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
477 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
478 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
479 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
480 $(top_builddir)/lib/ext2fs/ext2_err.h \
481 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400482 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
483 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400484 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
Darrick J. Wonge228d702015-04-01 19:34:40 -0700485readahead.o: $(srcdir)/readahead.c $(top_builddir)/lib/config.h \
486 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
487 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
488 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
489 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
490 $(top_builddir)/lib/ext2fs/ext2_err.h \
491 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400492 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
493 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400494 $(top_srcdir)/lib/support/quotaio_tree.h
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400495region.o: $(srcdir)/region.c $(top_builddir)/lib/config.h \
496 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
Theodore Ts'ob7bad612002-08-31 03:00:33 -0400497 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
Theodore Ts'oe1f08502009-10-04 14:45:08 -0400498 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
499 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
500 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400501 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400502 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
503 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400504 $(top_srcdir)/lib/support/quotaio_tree.h
Theodore Ts'od1154eb2011-09-18 17:34:37 -0400505sigcatcher.o: $(srcdir)/sigcatcher.c $(top_builddir)/lib/config.h \
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400506 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
507 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
508 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
509 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
510 $(top_builddir)/lib/ext2fs/ext2_err.h \
511 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400512 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
513 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400514 $(top_srcdir)/lib/support/quotaio_tree.h
Theodore Ts'ob0e91c82012-03-17 23:21:00 -0400515logfile.o: $(srcdir)/logfile.c $(top_builddir)/lib/config.h \
516 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
517 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
518 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
519 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
520 $(top_builddir)/lib/ext2fs/ext2_err.h \
Theodore Ts'o51d12ce2008-05-23 22:02:05 -0400521 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400522 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
523 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400524 $(top_srcdir)/lib/support/quotaio_tree.h
Theodore Ts'o5c15bf52014-05-22 18:52:27 -0400525quota.o: $(srcdir)/quota.c $(top_builddir)/lib/config.h \
526 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
527 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
528 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
529 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
530 $(top_builddir)/lib/ext2fs/ext2_err.h \
531 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400532 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
533 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400534 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h
Darrick J. Wonge228d702015-04-01 19:34:40 -0700535extents.o: $(srcdir)/extents.c $(top_builddir)/lib/config.h \
536 $(top_builddir)/lib/dirpaths.h $(srcdir)/e2fsck.h \
537 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
538 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
539 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
540 $(top_builddir)/lib/ext2fs/ext2_err.h \
541 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
Theodore Ts'o1dc16b02015-07-12 18:05:40 -0400542 $(top_srcdir)/lib/support/profile.h $(top_builddir)/lib/support/prof_err.h \
543 $(top_srcdir)/lib/support/quotaio.h $(top_srcdir)/lib/support/dqblk_v2.h \
Theodore Ts'o3dca12f2015-07-12 22:43:31 -0400544 $(top_srcdir)/lib/support/quotaio_tree.h $(srcdir)/problem.h