blob: c20246750d84c2c0e870f0fc45711bf69c00ab45 [file] [log] [blame]
Theodore Ts'o50e1e101997-04-26 13:58:21 +00001srcdir = @srcdir@
2top_srcdir = @top_srcdir@
3VPATH = @srcdir@
4top_builddir = ../..
Theodore Ts'o1e3472c1997-04-29 14:53:37 +00005my_dir = lib/ext2fs
Theodore Ts'o50e1e101997-04-26 13:58:21 +00006INSTALL = @INSTALL@
7
8@MCONFIG@
9
Theodore Ts'o50448d32007-07-22 23:42:14 -040010@DEBUGFS_CMT@DEBUGFS_LIB_OBJS = bb_compat.o fileio.o \
Theodore Ts'oe5b16432002-08-17 21:11:29 -040011@DEBUGFS_CMT@ inode_io.o namei.o write_bb_file.o
Theodore Ts'o30ae14c2001-06-13 22:38:56 +000012
Theodore Ts'o3eb07f62007-10-14 23:04:58 -040013MK_CMDS= _SS_DIR_OVERRIDE=../ss ../ss/mk_cmds
14
Theodore Ts'o50448d32007-07-22 23:42:14 -040015@RESIZER_CMT@RESIZE_LIB_OBJS = dupfs.o test_io.o
Theodore Ts'o30ae14c2001-06-13 22:38:56 +000016
17@IMAGER_CMT@E2IMAGE_LIB_OBJS = imager.o
18
19OBJS= $(DEBUGFS_LIB_OBJS) $(RESIZE_LIB_OBJS) $(E2IMAGE_LIB_OBJS) \
20 ext2_err.o \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000021 alloc.o \
Theodore Ts'oef344e12003-11-21 09:02:21 -050022 alloc_sb.o \
Theodore Ts'o8bd0c952002-01-03 03:29:19 -050023 alloc_stats.o \
Theodore Ts'o21c84b71997-04-29 16:15:03 +000024 alloc_tables.o \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000025 badblocks.o \
26 bb_inode.o \
27 bitmaps.o \
28 bitops.o \
29 block.o \
Theodore Ts'o30fab291997-10-25 22:37:42 +000030 bmap.o \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000031 check_desc.o \
32 closefs.o \
Jose R. Santosca2634a2007-10-21 21:03:19 -050033 crc16.o \
34 csum.o \
Theodore Ts'o21c84b71997-04-29 16:15:03 +000035 dblist.o \
36 dblist_dir.o \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000037 dirblock.o \
Theodore Ts'o52783e02002-03-11 15:04:45 -050038 dirhash.o \
Theodore Ts'o21c84b71997-04-29 16:15:03 +000039 dir_iterate.o \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000040 expanddir.o \
Theodore Ts'o342d8472001-07-02 11:54:09 -040041 ext_attr.o \
Theodore Ts'o3eb07f62007-10-14 23:04:58 -040042 extent.o \
Theodore Ts'ode23aa12000-08-19 17:00:47 +000043 finddev.o \
Theodore Ts'o4d0f3e12001-01-11 15:48:50 +000044 flushb.o \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000045 freefs.o \
Theodore Ts'o3034f622001-06-11 15:17:45 +000046 gen_bitmap.o \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000047 get_pathname.o \
48 getsize.o \
Theodore Ts'o93d5c382003-05-21 17:28:29 -040049 getsectsize.o \
Theodore Ts'o1ca10592008-04-09 11:39:11 -040050 i_block.o \
Theodore Ts'o21c84b71997-04-29 16:15:03 +000051 icount.o \
Theodore Ts'odc8ce342005-01-06 00:04:24 -050052 ind_block.o \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000053 initialize.o \
54 inline.o \
55 inode.o \
Theodore Ts'o2e8ca9a2004-11-30 14:07:11 -050056 io_manager.o \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000057 ismounted.o \
58 link.o \
59 llseek.o \
Theodore Ts'o21c84b71997-04-29 16:15:03 +000060 lookup.o \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000061 mkdir.o \
Theodore Ts'od3cd93c2000-10-24 18:33:16 +000062 mkjournal.o \
Theodore Ts'o1e3472c1997-04-29 14:53:37 +000063 native.o \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000064 newdir.o \
65 openfs.o \
66 read_bb.o \
67 read_bb_file.o \
Theodore Ts'od323f8f2004-12-15 14:39:16 -050068 res_gdt.o \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000069 rw_bitmaps.o \
70 swapfs.o \
Theodore Ts'o106ad962007-04-04 21:26:37 -040071 tdb.o \
Aneesh Kumar K.V72a168b2007-08-13 15:56:21 +053072 undo_io.o \
Theodore Ts'o21c84b71997-04-29 16:15:03 +000073 unix_io.o \
74 unlink.o \
Theodore Ts'o521e3681997-04-29 17:48:10 +000075 valid_blk.o \
Theodore Ts'o30ae14c2001-06-13 22:38:56 +000076 version.o
Theodore Ts'o50e1e101997-04-26 13:58:21 +000077
78SRCS= ext2_err.c \
79 $(srcdir)/alloc.c \
Theodore Ts'oef344e12003-11-21 09:02:21 -050080 $(srcdir)/alloc_sb.c \
Theodore Ts'o8bd0c952002-01-03 03:29:19 -050081 $(srcdir)/alloc_stats.c \
Theodore Ts'o21c84b71997-04-29 16:15:03 +000082 $(srcdir)/alloc_tables.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000083 $(srcdir)/badblocks.c \
Theodore Ts'o21c84b71997-04-29 16:15:03 +000084 $(srcdir)/bb_compat.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000085 $(srcdir)/bb_inode.c \
86 $(srcdir)/bitmaps.c \
87 $(srcdir)/bitops.c \
88 $(srcdir)/block.c \
Theodore Ts'o30fab291997-10-25 22:37:42 +000089 $(srcdir)/bmap.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000090 $(srcdir)/check_desc.c \
91 $(srcdir)/closefs.c \
Jose R. Santosca2634a2007-10-21 21:03:19 -050092 $(srcdir)/crc16.c \
93 $(srcdir)/csum.c \
Theodore Ts'o21c84b71997-04-29 16:15:03 +000094 $(srcdir)/dblist.c \
95 $(srcdir)/dblist_dir.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000096 $(srcdir)/dirblock.c \
Theodore Ts'o52783e02002-03-11 15:04:45 -050097 $(srcdir)/dirhash.c \
Theodore Ts'o21c84b71997-04-29 16:15:03 +000098 $(srcdir)/dir_iterate.c \
Theodore Ts'oa29f4d31997-04-29 21:26:48 +000099 $(srcdir)/dupfs.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000100 $(srcdir)/expanddir.c \
Theodore Ts'o342d8472001-07-02 11:54:09 -0400101 $(srcdir)/ext_attr.c \
Theodore Ts'o3eb07f62007-10-14 23:04:58 -0400102 $(srcdir)/extent.c \
Theodore Ts'o30fab291997-10-25 22:37:42 +0000103 $(srcdir)/fileio.c \
Theodore Ts'o0e8a9562000-12-09 06:41:25 +0000104 $(srcdir)/finddev.c \
Theodore Ts'o4d0f3e12001-01-11 15:48:50 +0000105 $(srcdir)/flushb.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000106 $(srcdir)/freefs.c \
Theodore Ts'o30ae14c2001-06-13 22:38:56 +0000107 $(srcdir)/gen_bitmap.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000108 $(srcdir)/get_pathname.c \
109 $(srcdir)/getsize.c \
Theodore Ts'o93d5c382003-05-21 17:28:29 -0400110 $(srcdir)/getsectsize.c \
Theodore Ts'o1ca10592008-04-09 11:39:11 -0400111 $(srcdir)/i_block.c \
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000112 $(srcdir)/icount.c \
Theodore Ts'odc8ce342005-01-06 00:04:24 -0500113 $(srcdir)/ind_block.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000114 $(srcdir)/initialize.c \
115 $(srcdir)/inline.c \
116 $(srcdir)/inode.c \
Theodore Ts'of12e2852002-02-20 01:06:25 -0500117 $(srcdir)/inode_io.c \
Theodore Ts'o2e8ca9a2004-11-30 14:07:11 -0500118 $(srcdir)/imager.c \
119 $(srcdir)/io_manager.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000120 $(srcdir)/ismounted.c \
121 $(srcdir)/link.c \
122 $(srcdir)/llseek.c \
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000123 $(srcdir)/lookup.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000124 $(srcdir)/mkdir.c \
Theodore Ts'od3cd93c2000-10-24 18:33:16 +0000125 $(srcdir)/mkjournal.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000126 $(srcdir)/namei.c \
Theodore Ts'o1e3472c1997-04-29 14:53:37 +0000127 $(srcdir)/native.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000128 $(srcdir)/newdir.c \
129 $(srcdir)/openfs.c \
130 $(srcdir)/read_bb.c \
131 $(srcdir)/read_bb_file.c \
Theodore Ts'od323f8f2004-12-15 14:39:16 -0500132 $(srcdir)/res_gdt.c \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000133 $(srcdir)/rw_bitmaps.c \
134 $(srcdir)/swapfs.c \
Theodore Ts'o106ad962007-04-04 21:26:37 -0400135 $(srcdir)/tdb.c \
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000136 $(srcdir)/test_io.c \
Theodore Ts'oac493822001-07-04 14:04:58 -0400137 $(srcdir)/tst_badblocks.c \
138 $(srcdir)/tst_bitops.c \
139 $(srcdir)/tst_byteswap.c \
Jose R. Santosca2634a2007-10-21 21:03:19 -0500140 $(srcdir)/tst_csum.c \
Theodore Ts'oac493822001-07-04 14:04:58 -0400141 $(srcdir)/tst_getsize.c \
Jose R. Santos4d5cb2a2007-10-21 21:03:14 -0500142 $(srcdir)/tst_iscan.c \
Aneesh Kumar K.V72a168b2007-08-13 15:56:21 +0530143 $(srcdir)/undo_io.c \
Jose R. Santos4d5cb2a2007-10-21 21:03:14 -0500144 $(srcdir)/unix_io.c \
145 $(srcdir)/unlink.c \
146 $(srcdir)/valid_blk.c \
147 $(srcdir)/version.c \
148 $(srcdir)/write_bb_file.c
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000149
Theodore Ts'o106ad962007-04-04 21:26:37 -0400150HFILES= bitops.h ext2fs.h ext2_io.h ext2_fs.h ext2_ext_attr.h ext3_extents.h \
151 tdb.h
Theodore Ts'od1e66b72001-06-15 22:44:32 +0000152HFILES_IN= ext2_err.h ext2_types.h
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000153
154LIBRARY= libext2fs
155LIBDIR= ext2fs
156
Theodore Ts'oe9affb71997-08-24 02:57:55 +0000157ELF_VERSION = 2.4
Theodore Ts'o297f47a1997-04-26 14:25:20 +0000158ELF_SO_VERSION = 2
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000159ELF_IMAGE = libext2fs
160ELF_MYDIR = ext2fs
Theodore Ts'o469bec81998-04-01 02:46:43 +0000161ELF_INSTALL_DIR = $(root_libdir)
Theodore Ts'o349a4842001-06-11 00:49:29 +0000162ELF_OTHER_LIBS = -L../.. -lcom_err
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000163
Theodore Ts'o521e3681997-04-29 17:48:10 +0000164BSDLIB_VERSION = 2.1
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000165BSDLIB_IMAGE = libext2fs
166BSDLIB_MYDIR = ext2fs
Theodore Ts'o469bec81998-04-01 02:46:43 +0000167BSDLIB_INSTALL_DIR = $(root_libdir)
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000168
169@MAKEFILE_LIBRARY@
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000170@MAKEFILE_ELF@
171@MAKEFILE_BSDLIB@
172@MAKEFILE_PROFILE@
173@MAKEFILE_CHECKER@
174
Theodore Ts'oe6441862005-01-26 12:59:25 -0500175all:: ext2fs.pc
176
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000177.c.o:
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500178 @echo " CC $<"
179 @$(CC) $(ALL_CFLAGS) -c $< -o $@
180@PROFILE_CMT@ @$(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
181@CHECKER_CMT@ @$(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c $<
182@ELF_CMT@ @$(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $<
183@BSDLIB_CMT@ @$(CC) $(ALL_CFLAGS) $(BSDLIB_PIC_FLAG) -o pic/$*.o -c $<
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000184
Theodore Ts'o91835c12003-03-30 22:26:13 -0500185COMPILE_ET=../et/compile_et --build-tree
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000186
187DISTFILES= Makefile *.c *.h image
188
Theodore Ts'o44339bd1997-10-15 02:47:20 +0000189ext2_err.et: $(DEP_SUBSTITUTE) $(srcdir)/ext2_err.et.in
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500190 @echo " SUBST $@"
191 @$(SUBSTITUTE) $(srcdir)/ext2_err.et.in ext2_err.et
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000192
Theodore Ts'o74becf31997-04-26 14:37:06 +0000193ext2_err.c ext2_err.h: ext2_err.et
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400194 @echo " COMPILE_ET ext2_err.et"
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500195 @$(COMPILE_ET) ext2_err.et
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000196
Theodore Ts'oe6441862005-01-26 12:59:25 -0500197ext2fs.pc: $(srcdir)/ext2fs.pc.in $(top_builddir)/config.status
198 @echo " CONFIG.STATUS $@"
199 @cd $(top_builddir); CONFIG_FILES=lib/ext2fs/ext2fs.pc ./config.status
200
Theodore Ts'o4b577812008-04-01 16:43:24 -0400201tst_badblocks: tst_badblocks.o $(STATIC_LIBEXT2FS)
Theodore Ts'o8800c732005-01-19 00:25:25 -0500202 @echo " LD $@"
Theodore Ts'o4b577812008-04-01 16:43:24 -0400203 @$(CC) -o tst_badblocks tst_badblocks.o $(STATIC_LIBEXT2FS) \
Jose R. Santosd4f34d42007-10-21 21:03:25 -0500204 $(LIBCOM_ERR)
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000205
Theodore Ts'o4b577812008-04-01 16:43:24 -0400206tst_icount: $(srcdir)/icount.c $(STATIC_LIBEXT2FS)
Theodore Ts'o1cb78d82007-04-06 08:52:49 -0400207 @echo " LD $@"
Theodore Ts'o4b577812008-04-01 16:43:24 -0400208 @$(CC) -o tst_icount $(srcdir)/icount.c -DDEBUG $(ALL_CFLAGS) \
Theodore Ts'o1cb78d82007-04-06 08:52:49 -0400209 $(STATIC_LIBEXT2FS) $(LIBCOM_ERR)
210
Theodore Ts'o4b577812008-04-01 16:43:24 -0400211tst_iscan: tst_iscan.o $(STATIC_LIBEXT2FS)
Theodore Ts'o8800c732005-01-19 00:25:25 -0500212 @echo " LD $@"
Theodore Ts'o4b577812008-04-01 16:43:24 -0400213 @$(CC) -o tst_iscan tst_iscan.o $(STATIC_LIBEXT2FS) $(LIBCOM_ERR)
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000214
Theodore Ts'o4b577812008-04-01 16:43:24 -0400215tst_getsize: tst_getsize.o $(STATIC_LIBEXT2FS)
Theodore Ts'o8800c732005-01-19 00:25:25 -0500216 @echo " LD $@"
Theodore Ts'o4b577812008-04-01 16:43:24 -0400217 @$(CC) -o tst_getsize tst_getsize.o $(STATIC_LIBEXT2FS) \
Theodore Ts'od36d8351997-11-12 03:48:07 +0000218 $(LIBCOM_ERR)
219
Theodore Ts'o52db0b42001-04-17 02:22:05 +0000220tst_ismounted: $(srcdir)/ismounted.c $(STATIC_LIBEXT2FS)
Theodore Ts'o8800c732005-01-19 00:25:25 -0500221 @echo " LD $@"
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500222 @$(CC) -o tst_ismounted $(srcdir)/ismounted.c -DDEBUG $(ALL_CFLAGS) $(LIBCOM_ERR)
Theodore Ts'o52db0b42001-04-17 02:22:05 +0000223
Theodore Ts'o4b577812008-04-01 16:43:24 -0400224tst_byteswap: tst_byteswap.o $(STATIC_LIBEXT2FS)
Theodore Ts'o8800c732005-01-19 00:25:25 -0500225 @echo " LD $@"
Theodore Ts'o4b577812008-04-01 16:43:24 -0400226 @$(CC) -o tst_byteswap tst_byteswap.o $(STATIC_LIBEXT2FS) \
Theodore Ts'o9ec53cf2001-02-20 16:28:40 +0000227 $(LIBCOM_ERR)
228
Theodore Ts'o4b577812008-04-01 16:43:24 -0400229tst_bitops: tst_bitops.o $(STATIC_LIBEXT2FS)
Theodore Ts'o8800c732005-01-19 00:25:25 -0500230 @echo " LD $@"
Theodore Ts'o4b577812008-04-01 16:43:24 -0400231 @$(CC) -o tst_bitops tst_bitops.o $(ALL_CFLAGS) \
Theodore Ts'oac493822001-07-04 14:04:58 -0400232 $(STATIC_LIBEXT2FS) $(LIBCOM_ERR)
233
Theodore Ts'o4b577812008-04-01 16:43:24 -0400234tst_getsectsize: tst_getsectsize.o $(STATIC_LIBEXT2FS)
Theodore Ts'o8800c732005-01-19 00:25:25 -0500235 @echo " LD $@"
Theodore Ts'o4b577812008-04-01 16:43:24 -0400236 @$(CC) -o tst_sectgetsize tst_getsectsize.o \
Theodore Ts'o06ce1f62005-03-18 23:50:32 -0500237 $(STATIC_LIBEXT2FS) $(LIBCOM_ERR)
Theodore Ts'o93d5c382003-05-21 17:28:29 -0400238
Theodore Ts'o4ea7ea02006-04-09 08:41:55 -0400239tst_types: tst_types.o ext2_types.h
240 @echo " LD $@"
241 @$(CC) -o tst_types tst_types.o
242
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400243tst_super_size: tst_super_size.o ext2_fs.h
244 @echo " LD $@"
245 @$(CC) -o tst_super_size tst_super_size.o
246
Theodore Ts'o106ad962007-04-04 21:26:37 -0400247ext2_tdbtool: tdbtool.o
248 @echo " LD $@"
249 @$(CC) -o ext2_tdbtool tdbtool.o tdb.o
250
Theodore Ts'o3eb07f62007-10-14 23:04:58 -0400251extent_dbg.c: $(srcdir)/extent_dbg.ct
252 @echo " MK_CMDS $<"
253 @$(MK_CMDS) $(srcdir)/extent_dbg.ct
254
255debug_cmds.c debug_cmds.h: $(top_srcdir)/debugfs/debug_cmds.ct
256 @echo " MK_CMDS $<@"
257 @$(MK_CMDS) $(top_srcdir)/debugfs/debug_cmds.ct
258
259DEBUG_OBJS= debug_cmds.o debugfs.o util.o ncheck.o icheck.o ls.o \
260 lsdel.o dump.o set_fields.o logdump.o htree.o unused.o
261
262debugfs.o: $(top_srcdir)/debugfs/debugfs.c
263 @echo " CC $<"
264 @$(CC) $(ALL_CFLAGS) -c $< -o $@
265
266util.o: $(top_srcdir)/debugfs/util.c
267 @echo " CC $<"
268 @$(CC) $(ALL_CFLAGS) -c $< -o $@
269
270ncheck.o: $(top_srcdir)/debugfs/ncheck.c
271 @echo " CC $<"
272 @$(CC) $(ALL_CFLAGS) -c $< -o $@
273
274icheck.o: $(top_srcdir)/debugfs/icheck.c
275 @echo " CC $<"
276 @$(CC) $(ALL_CFLAGS) -c $< -o $@
277
278ls.o: $(top_srcdir)/debugfs/ls.c
279 @echo " CC $<"
280 @$(CC) $(ALL_CFLAGS) -c $< -o $@
281
282lsdel.o: $(top_srcdir)/debugfs/lsdel.c
283 @echo " CC $<"
284 @$(CC) $(ALL_CFLAGS) -c $< -o $@
285
286dump.o: $(top_srcdir)/debugfs/dump.c
287 @echo " CC $<"
288 @$(CC) $(ALL_CFLAGS) -c $< -o $@
289
290set_fields.o: $(top_srcdir)/debugfs/set_fields.c
291 @echo " CC $<"
292 @$(CC) $(ALL_CFLAGS) -c $< -o $@
293
294logdump.o: $(top_srcdir)/debugfs/logdump.c
295 @echo " CC $<"
296 @$(CC) $(ALL_CFLAGS) -c $< -o $@
297
298htree.o: $(top_srcdir)/debugfs/htree.c
299 @echo " CC $<"
300 @$(CC) $(ALL_CFLAGS) -c $< -o $@
301
302unused.o: $(top_srcdir)/debugfs/unused.c
303 @echo " CC $<"
304 @$(CC) $(ALL_CFLAGS) -c $< -o $@
305
306tst_extents: $(srcdir)/extent.c extent_dbg.c $(DEBUG_OBJS) $(LIBSS) $(LIBE2P) $(DEPLIBUUID) $(DEPLIBBLKID)
307 @echo " LD $@"
308 @$(CC) -o tst_extents $(srcdir)/extent.c extent_dbg.c \
309 $(ALL_CFLAGS) -DDEBUG $(DEBUG_OBJS) $(LIBSS) $(LIBE2P) \
Theodore Ts'odaf7a6e2008-04-17 16:54:24 -0400310 $(STATIC_LIBEXT2FS) $(LIBBLKID) $(LIBUUID) $(LIBCOM_ERR) \
Theodore Ts'o3eb07f62007-10-14 23:04:58 -0400311 -I $(top_srcdir)/debugfs
312
Jose R. Santosca2634a2007-10-21 21:03:19 -0500313tst_csum: tst_csum.c csum.c $(STATIC_LIBEXT2FS)
314 @echo " LD $@"
315 @$(CC) -o tst_csum $(srcdir)/csum.c $(srcdir)/tst_csum.c -DDEBUG \
316 $(ALL_CFLAGS) $(STATIC_LIBEXT2FS) $(LIBCOM_ERR)
317
Theodore Ts'od3cd93c2000-10-24 18:33:16 +0000318mkjournal: mkjournal.c $(STATIC_LIBEXT2FS)
Theodore Ts'o8800c732005-01-19 00:25:25 -0500319 @echo " LD $@"
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500320 @$(CC) -o mkjournal $(srcdir)/mkjournal.c -DDEBUG $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) $(ALL_CFLAGS)
Theodore Ts'od3cd93c2000-10-24 18:33:16 +0000321
Jose R. Santosca2634a2007-10-21 21:03:19 -0500322check:: tst_bitops tst_badblocks tst_iscan tst_types tst_icount tst_super_size tst_types tst_csum
Theodore Ts'of9bcce32006-03-25 13:42:45 -0500323 LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_bitops
Theodore Ts'oafb6d702003-04-21 16:12:34 -0400324 LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_badblocks
325 LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_iscan
Theodore Ts'o4ea7ea02006-04-09 08:41:55 -0400326 LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_types
Theodore Ts'o1cb78d82007-04-06 08:52:49 -0400327 LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_icount
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400328 LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_super_size
Jose R. Santosca2634a2007-10-21 21:03:19 -0500329 LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_csum
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000330
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000331installdirs::
Theodore Ts'o522798d2004-12-15 11:28:55 -0500332 @echo " MKINSTALLDIRS $(libdir) $(includedir)/ext2fs"
333 @$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
Theodore Ts'oe6441862005-01-26 12:59:25 -0500334 $(DESTDIR)$(includedir)/ext2fs $(DESTDIR)$(libdir)/pkgconfig
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000335
Theodore Ts'oe6441862005-01-26 12:59:25 -0500336install:: all $(HFILES) $(HFILES_IN) installdirs ext2fs.pc
Theodore Ts'o522798d2004-12-15 11:28:55 -0500337 @echo " INSTALL_DATA $(libdir)/libext2fs.a"
338 @$(INSTALL_DATA) libext2fs.a $(DESTDIR)$(libdir)/libext2fs.a
339 @-$(RANLIB) $(DESTDIR)$(libdir)/libext2fs.a
340 @$(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libext2fs.a
341 @for i in $(HFILES); do \
342 echo " INSTALL_DATA $(includedir)/ext2fs/$$i"; \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000343 $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/ext2fs/$$i; \
344 done
Theodore Ts'o522798d2004-12-15 11:28:55 -0500345 @for i in $(HFILES_IN); do \
346 echo " INSTALL_DATA $(includedir)/ext2fs/$$i"; \
Theodore Ts'od1e66b72001-06-15 22:44:32 +0000347 $(INSTALL_DATA) $$i $(DESTDIR)$(includedir)/ext2fs/$$i; \
348 done
Theodore Ts'oe6441862005-01-26 12:59:25 -0500349 @echo " INSTALL_DATA $(libdir)/pkgconfig/ext2fs.pc"
350 @$(INSTALL_DATA) ext2fs.pc $(DESTDIR)$(libdir)/pkgconfig/ext2fs.pc
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000351
352uninstall::
Theodore Ts'oe6441862005-01-26 12:59:25 -0500353 $(RM) -f $(DESTDIR)$(libdir)/libext2fs.a \
354 $(DESTDIR)$(libdir)/pkgconfig/ext2fs.pc
355 $(RM) -rf $(DESTDIR)$(includedir)/ext2fs
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000356
357clean::
Theodore Ts'ob7aa0d62005-02-05 15:48:49 -0500358 $(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* checker/* \
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +0000359 tst_badblocks tst_iscan ext2_err.et ext2_err.c ext2_err.h \
Theodore Ts'o06ce1f62005-03-18 23:50:32 -0500360 tst_byteswap tst_ismounted tst_getsize tst_sectgetsize \
Jose R. Santosca2634a2007-10-21 21:03:19 -0500361 tst_bitops tst_types tst_icount tst_super_size tst_csum \
Theodore Ts'o3eb07f62007-10-14 23:04:58 -0400362 ext2_tdbtool mkjournal debug_cmds.c \
Theodore Ts'o106ad962007-04-04 21:26:37 -0400363 ../libext2fs.a ../libext2fs_p.a ../libext2fs_chk.a
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000364
365mostlyclean:: clean
366distclean:: clean
Theodore Ts'ob7aa0d62005-02-05 15:48:49 -0500367 $(RM) -f .depend ext2_err.c ext2_err.h Makefile ext2fs.pc \
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +0000368 $(srcdir)/TAGS $(srcdir)/Makefile.in.old
Theodore Ts'of0f4acb2000-05-25 23:22:11 +0000369#
370# Hack to parallel makes recognize dependencies correctly.
371#
372$(top_builddir)/lib/ext2fs/ext2_err.h: ext2_err.h
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000373
Theodore Ts'o3ded50b2005-12-10 22:23:01 -0500374$(OBJS): subdirs
375
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000376# +++ Dependency line eater +++
377#
378# Makefile dependencies follow. This must be the last section in
379# the Makefile.in file
380#
381ext2_err.o: ext2_err.c
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000382alloc.o: $(srcdir)/alloc.c $(srcdir)/ext2_fs.h \
383 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400384 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400385 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
386 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o1daf7582004-01-31 22:33:16 -0500387alloc_sb.o: $(srcdir)/alloc_sb.c $(srcdir)/ext2_fs.h \
388 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400389 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400390 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
391 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -0500392alloc_stats.o: $(srcdir)/alloc_stats.c $(srcdir)/ext2_fs.h \
393 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400394 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400395 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
396 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o9f8046f2001-05-14 11:35:52 +0000397alloc_tables.o: $(srcdir)/alloc_tables.c $(srcdir)/ext2_fs.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000398 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400399 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400400 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
401 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000402badblocks.o: $(srcdir)/badblocks.c $(srcdir)/ext2_fs.h \
403 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400404 $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \
405 $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400406 $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \
407 $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000408bb_compat.o: $(srcdir)/bb_compat.c $(srcdir)/ext2_fs.h \
409 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400410 $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \
411 $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400412 $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \
413 $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000414bb_inode.o: $(srcdir)/bb_inode.c $(srcdir)/ext2_fs.h \
415 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400416 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400417 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
418 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000419bitmaps.o: $(srcdir)/bitmaps.c $(srcdir)/ext2_fs.h \
420 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400421 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400422 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
423 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000424bitops.o: $(srcdir)/bitops.c $(srcdir)/ext2_fs.h \
425 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400426 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400427 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
428 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000429block.o: $(srcdir)/block.c $(srcdir)/ext2_fs.h \
430 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400431 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400432 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
433 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000434bmap.o: $(srcdir)/bmap.c $(srcdir)/ext2_fs.h \
435 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400436 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400437 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
438 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000439check_desc.o: $(srcdir)/check_desc.c $(srcdir)/ext2_fs.h \
440 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400441 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400442 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
443 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000444closefs.o: $(srcdir)/closefs.c $(srcdir)/ext2_fs.h \
445 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400446 $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \
447 $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400448 $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \
449 $(srcdir)/bitops.h
450crc16.o: $(srcdir)/crc16.c $(srcdir)/crc16.h \
451 $(top_builddir)/lib/ext2fs/ext2_types.h
Jose R. Santosca2634a2007-10-21 21:03:19 -0500452csum.o: $(srcdir)/csum.c $(srcdir)/ext2_fs.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400453 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
454 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
455 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
456 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h $(srcdir)/crc16.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000457dblist.o: $(srcdir)/dblist.c $(srcdir)/ext2_fs.h \
458 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400459 $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \
460 $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400461 $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \
462 $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000463dblist_dir.o: $(srcdir)/dblist_dir.c $(srcdir)/ext2_fs.h \
464 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400465 $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \
466 $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400467 $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \
468 $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000469dirblock.o: $(srcdir)/dirblock.c $(srcdir)/ext2_fs.h \
470 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400471 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400472 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
473 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'oc6633052002-09-24 01:26:50 -0400474dirhash.o: $(srcdir)/dirhash.c $(srcdir)/ext2_fs.h \
475 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400476 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400477 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
478 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o9f8046f2001-05-14 11:35:52 +0000479dir_iterate.o: $(srcdir)/dir_iterate.c $(srcdir)/ext2_fs.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000480 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400481 $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \
482 $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400483 $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \
484 $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000485dupfs.o: $(srcdir)/dupfs.c $(srcdir)/ext2_fs.h \
486 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400487 $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \
488 $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400489 $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \
490 $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000491expanddir.o: $(srcdir)/expanddir.c $(srcdir)/ext2_fs.h \
492 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400493 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400494 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
495 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'oac493822001-07-04 14:04:58 -0400496ext_attr.o: $(srcdir)/ext_attr.c $(srcdir)/ext2_fs.h \
497 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2_ext_attr.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400498 $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \
499 $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400500 $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \
501 $(srcdir)/bitops.h
502extent.o: $(srcdir)/extent.c $(srcdir)/ext2_fs.h \
503 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \
504 $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \
505 $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
506 $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \
507 $(srcdir)/bitops.h $(srcdir)/e2image.h $(top_srcdir)/lib/ss/ss.h \
508 $(top_builddir)/lib/ss/ss_err.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000509fileio.o: $(srcdir)/fileio.c $(srcdir)/ext2_fs.h \
510 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400511 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400512 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
513 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000514finddev.o: $(srcdir)/finddev.c $(srcdir)/ext2_fs.h \
515 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400516 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400517 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
518 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000519flushb.o: $(srcdir)/flushb.c $(srcdir)/ext2_fs.h \
520 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400521 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400522 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
523 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000524freefs.o: $(srcdir)/freefs.c $(srcdir)/ext2_fs.h \
525 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400526 $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \
527 $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400528 $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \
529 $(srcdir)/bitops.h
Theodore Ts'o30ae14c2001-06-13 22:38:56 +0000530gen_bitmap.o: $(srcdir)/gen_bitmap.c $(srcdir)/ext2_fs.h \
531 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400532 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400533 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
534 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o9f8046f2001-05-14 11:35:52 +0000535get_pathname.o: $(srcdir)/get_pathname.c $(srcdir)/ext2_fs.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000536 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400537 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400538 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
539 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o5f0fabe2001-12-24 12:42:45 -0500540getsize.o: $(srcdir)/getsize.c $(srcdir)/ext2_fs.h \
541 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400542 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400543 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
544 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'oc6df04b2003-07-23 09:53:06 -0400545getsectsize.o: $(srcdir)/getsectsize.c $(srcdir)/ext2_fs.h \
546 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400547 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400548 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
549 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'odabfa682008-06-07 11:56:23 -0400550i_block.o: $(srcdir)/i_block.c $(srcdir)/ext2_fs.h \
551 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
552 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
553 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
554 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000555icount.o: $(srcdir)/icount.c $(srcdir)/ext2_fs.h \
556 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400557 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400558 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
559 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h $(srcdir)/tdb.h
Theodore Ts'o75e93ab2005-05-06 09:37:58 -0400560ind_block.o: $(srcdir)/ind_block.c $(srcdir)/ext2_fs.h \
561 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400562 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400563 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
564 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000565initialize.o: $(srcdir)/initialize.c $(srcdir)/ext2_fs.h \
566 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400567 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400568 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
569 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000570inline.o: $(srcdir)/inline.c $(srcdir)/ext2_fs.h \
571 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400572 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400573 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
574 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000575inode.o: $(srcdir)/inode.c $(srcdir)/ext2_fs.h \
576 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400577 $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \
578 $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400579 $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \
580 $(srcdir)/bitops.h $(srcdir)/e2image.h
Theodore Ts'of12e2852002-02-20 01:06:25 -0500581inode_io.o: $(srcdir)/inode_io.c $(srcdir)/ext2_fs.h \
582 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400583 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400584 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
585 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o6d402272004-12-14 21:46:26 -0500586imager.o: $(srcdir)/imager.c $(srcdir)/ext2_fs.h \
587 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400588 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400589 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
590 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o6d402272004-12-14 21:46:26 -0500591io_manager.o: $(srcdir)/io_manager.c $(srcdir)/ext2_fs.h \
592 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400593 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400594 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
595 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o5f0fabe2001-12-24 12:42:45 -0500596ismounted.o: $(srcdir)/ismounted.c $(srcdir)/ext2_fs.h \
597 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400598 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400599 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
600 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000601link.o: $(srcdir)/link.c $(srcdir)/ext2_fs.h \
602 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400603 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400604 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
605 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o5a679c81998-12-03 16:40:38 +0000606llseek.o: $(srcdir)/llseek.c $(top_srcdir)/lib/et/com_err.h \
Theodore Ts'o6c133521999-07-03 20:37:03 +0000607 $(srcdir)/ext2_io.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000608lookup.o: $(srcdir)/lookup.c $(srcdir)/ext2_fs.h \
609 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400610 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400611 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
612 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000613mkdir.o: $(srcdir)/mkdir.c $(srcdir)/ext2_fs.h \
614 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400615 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400616 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
617 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o5f0fabe2001-12-24 12:42:45 -0500618mkjournal.o: $(srcdir)/mkjournal.c $(srcdir)/ext2_fs.h \
619 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/e2p/e2p.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400620 $(srcdir)/ext2_fs.h $(srcdir)/ext2fs.h $(srcdir)/ext3_extents.h \
621 $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400622 $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \
623 $(srcdir)/bitops.h $(srcdir)/jfs_user.h $(srcdir)/kernel-jbd.h \
624 $(srcdir)/jfs_compat.h $(srcdir)/kernel-list.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000625namei.o: $(srcdir)/namei.c $(srcdir)/ext2_fs.h \
626 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400627 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400628 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
629 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000630native.o: $(srcdir)/native.c $(srcdir)/ext2_fs.h \
631 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400632 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400633 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
634 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000635newdir.o: $(srcdir)/newdir.c $(srcdir)/ext2_fs.h \
636 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400637 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400638 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
639 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000640openfs.o: $(srcdir)/openfs.c $(srcdir)/ext2_fs.h \
641 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400642 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400643 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
644 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h $(srcdir)/e2image.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000645read_bb.o: $(srcdir)/read_bb.c $(srcdir)/ext2_fs.h \
646 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400647 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400648 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
649 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o9f8046f2001-05-14 11:35:52 +0000650read_bb_file.o: $(srcdir)/read_bb_file.c $(srcdir)/ext2_fs.h \
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000651 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400652 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400653 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
654 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'od323f8f2004-12-15 14:39:16 -0500655res_gdt.o: $(srcdir)/res_gdt.c $(srcdir)/ext2_fs.h \
656 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400657 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400658 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
659 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000660rw_bitmaps.o: $(srcdir)/rw_bitmaps.c $(srcdir)/ext2_fs.h \
661 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400662 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400663 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
664 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h $(srcdir)/e2image.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000665swapfs.o: $(srcdir)/swapfs.c $(srcdir)/ext2_fs.h \
666 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400667 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400668 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
669 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400670tdb.o: $(srcdir)/tdb.c $(srcdir)/tdb.h
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000671test_io.o: $(srcdir)/test_io.c $(srcdir)/ext2_fs.h \
672 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400673 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400674 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
675 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'oac493822001-07-04 14:04:58 -0400676tst_badblocks.o: $(srcdir)/tst_badblocks.c $(srcdir)/ext2_fs.h \
677 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400678 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400679 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
680 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'oac493822001-07-04 14:04:58 -0400681tst_bitops.o: $(srcdir)/tst_bitops.c $(srcdir)/ext2_fs.h \
682 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400683 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400684 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
685 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'oac493822001-07-04 14:04:58 -0400686tst_byteswap.o: $(srcdir)/tst_byteswap.c $(srcdir)/ext2_fs.h \
687 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400688 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400689 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
690 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
691tst_csum.o: $(srcdir)/tst_csum.c $(srcdir)/ext2_fs.h \
692 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
693 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
694 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
695 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'oac493822001-07-04 14:04:58 -0400696tst_getsize.o: $(srcdir)/tst_getsize.c $(srcdir)/ext2_fs.h \
697 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400698 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400699 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
700 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Theodore Ts'oac493822001-07-04 14:04:58 -0400701tst_iscan.o: $(srcdir)/tst_iscan.c $(srcdir)/ext2_fs.h \
702 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
Theodore Ts'oa2b2ff62007-05-31 12:39:02 -0400703 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400704 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
705 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Aneesh Kumar K.V72a168b2007-08-13 15:56:21 +0530706undo_io.o: $(srcdir)/undo_io.c $(srcdir)/tdb.h $(srcdir)/ext2_fs.h \
707 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
708 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
709 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
710 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
Eric Sandeend89ad0a2008-03-25 09:59:45 -0400711unix_io.o: $(srcdir)/unix_io.c $(srcdir)/ext2_fs.h \
712 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
713 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
714 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
715 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
716unlink.o: $(srcdir)/unlink.c $(srcdir)/ext2_fs.h \
717 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
718 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
719 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
720 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
721valid_blk.o: $(srcdir)/valid_blk.c $(srcdir)/ext2_fs.h \
722 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
723 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
724 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
725 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h
726version.o: $(srcdir)/version.c $(srcdir)/ext2_fs.h \
727 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
728 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
729 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
730 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h $(top_srcdir)/version.h
731write_bb_file.o: $(srcdir)/write_bb_file.c $(srcdir)/ext2_fs.h \
732 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
733 $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
734 $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
735 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h