]>
Commit | Line | Data |
---|---|---|
50e1e10f TT |
1 | srcdir = @srcdir@ |
2 | top_srcdir = @top_srcdir@ | |
3 | VPATH = @srcdir@ | |
4 | top_builddir = ../.. | |
1e3472c5 | 5 | my_dir = lib/ext2fs |
50e1e10f TT |
6 | INSTALL = @INSTALL@ |
7 | ||
8 | @MCONFIG@ | |
9 | ||
50448d3d | 10 | @DEBUGFS_CMT@DEBUGFS_LIB_OBJS = bb_compat.o fileio.o \ |
e5b16437 | 11 | @DEBUGFS_CMT@ inode_io.o namei.o write_bb_file.o |
30ae14c9 | 12 | |
3eb07f64 TT |
13 | MK_CMDS= _SS_DIR_OVERRIDE=../ss ../ss/mk_cmds |
14 | ||
af773654 TT |
15 | @RESIZER_CMT@RESIZE_LIB_OBJS = dupfs.o |
16 | @TEST_IO_CMT@TEST_IO_LIB_OBJS = test_io.o | |
30ae14c9 TT |
17 | @IMAGER_CMT@E2IMAGE_LIB_OBJS = imager.o |
18 | ||
19 | OBJS= $(DEBUGFS_LIB_OBJS) $(RESIZE_LIB_OBJS) $(E2IMAGE_LIB_OBJS) \ | |
af773654 | 20 | $(TEST_IO_LIB_OBJS) \ |
30ae14c9 | 21 | ext2_err.o \ |
50e1e10f | 22 | alloc.o \ |
ef344e13 | 23 | alloc_sb.o \ |
8bd0c959 | 24 | alloc_stats.o \ |
21c84b71 | 25 | alloc_tables.o \ |
50e1e10f TT |
26 | badblocks.o \ |
27 | bb_inode.o \ | |
28 | bitmaps.o \ | |
29 | bitops.o \ | |
30 | block.o \ | |
30fab293 | 31 | bmap.o \ |
50e1e10f TT |
32 | check_desc.o \ |
33 | closefs.o \ | |
ca2634a4 JS |
34 | crc16.o \ |
35 | csum.o \ | |
21c84b71 TT |
36 | dblist.o \ |
37 | dblist_dir.o \ | |
50e1e10f | 38 | dirblock.o \ |
52783e0c | 39 | dirhash.o \ |
21c84b71 | 40 | dir_iterate.o \ |
50e1e10f | 41 | expanddir.o \ |
342d847d | 42 | ext_attr.o \ |
3eb07f64 | 43 | extent.o \ |
de23aa1d | 44 | finddev.o \ |
4d0f3e17 | 45 | flushb.o \ |
50e1e10f | 46 | freefs.o \ |
3034f62a | 47 | gen_bitmap.o \ |
50e1e10f TT |
48 | get_pathname.o \ |
49 | getsize.o \ | |
93d5c387 | 50 | getsectsize.o \ |
1ca1059f | 51 | i_block.o \ |
21c84b71 | 52 | icount.o \ |
dc8ce346 | 53 | ind_block.o \ |
50e1e10f TT |
54 | initialize.o \ |
55 | inline.o \ | |
56 | inode.o \ | |
2e8ca9a2 | 57 | io_manager.o \ |
50e1e10f TT |
58 | ismounted.o \ |
59 | link.o \ | |
60 | llseek.o \ | |
21c84b71 | 61 | lookup.o \ |
50e1e10f | 62 | mkdir.o \ |
d3cd93ca | 63 | mkjournal.o \ |
1e3472c5 | 64 | native.o \ |
50e1e10f TT |
65 | newdir.o \ |
66 | openfs.o \ | |
67 | read_bb.o \ | |
68 | read_bb_file.o \ | |
d323f8fb | 69 | res_gdt.o \ |
50e1e10f TT |
70 | rw_bitmaps.o \ |
71 | swapfs.o \ | |
106ad96d | 72 | tdb.o \ |
72a168b5 | 73 | undo_io.o \ |
21c84b71 TT |
74 | unix_io.o \ |
75 | unlink.o \ | |
521e3685 | 76 | valid_blk.o \ |
30ae14c9 | 77 | version.o |
50e1e10f TT |
78 | |
79 | SRCS= ext2_err.c \ | |
80 | $(srcdir)/alloc.c \ | |
ef344e13 | 81 | $(srcdir)/alloc_sb.c \ |
8bd0c959 | 82 | $(srcdir)/alloc_stats.c \ |
21c84b71 | 83 | $(srcdir)/alloc_tables.c \ |
50e1e10f | 84 | $(srcdir)/badblocks.c \ |
21c84b71 | 85 | $(srcdir)/bb_compat.c \ |
50e1e10f TT |
86 | $(srcdir)/bb_inode.c \ |
87 | $(srcdir)/bitmaps.c \ | |
88 | $(srcdir)/bitops.c \ | |
89 | $(srcdir)/block.c \ | |
30fab293 | 90 | $(srcdir)/bmap.c \ |
50e1e10f TT |
91 | $(srcdir)/check_desc.c \ |
92 | $(srcdir)/closefs.c \ | |
ca2634a4 JS |
93 | $(srcdir)/crc16.c \ |
94 | $(srcdir)/csum.c \ | |
21c84b71 TT |
95 | $(srcdir)/dblist.c \ |
96 | $(srcdir)/dblist_dir.c \ | |
50e1e10f | 97 | $(srcdir)/dirblock.c \ |
52783e0c | 98 | $(srcdir)/dirhash.c \ |
21c84b71 | 99 | $(srcdir)/dir_iterate.c \ |
a29f4d30 | 100 | $(srcdir)/dupfs.c \ |
50e1e10f | 101 | $(srcdir)/expanddir.c \ |
342d847d | 102 | $(srcdir)/ext_attr.c \ |
3eb07f64 | 103 | $(srcdir)/extent.c \ |
30fab293 | 104 | $(srcdir)/fileio.c \ |
0e8a9560 | 105 | $(srcdir)/finddev.c \ |
4d0f3e17 | 106 | $(srcdir)/flushb.c \ |
50e1e10f | 107 | $(srcdir)/freefs.c \ |
30ae14c9 | 108 | $(srcdir)/gen_bitmap.c \ |
50e1e10f TT |
109 | $(srcdir)/get_pathname.c \ |
110 | $(srcdir)/getsize.c \ | |
93d5c387 | 111 | $(srcdir)/getsectsize.c \ |
1ca1059f | 112 | $(srcdir)/i_block.c \ |
21c84b71 | 113 | $(srcdir)/icount.c \ |
dc8ce346 | 114 | $(srcdir)/ind_block.c \ |
50e1e10f TT |
115 | $(srcdir)/initialize.c \ |
116 | $(srcdir)/inline.c \ | |
117 | $(srcdir)/inode.c \ | |
f12e285f | 118 | $(srcdir)/inode_io.c \ |
2e8ca9a2 TT |
119 | $(srcdir)/imager.c \ |
120 | $(srcdir)/io_manager.c \ | |
50e1e10f TT |
121 | $(srcdir)/ismounted.c \ |
122 | $(srcdir)/link.c \ | |
123 | $(srcdir)/llseek.c \ | |
21c84b71 | 124 | $(srcdir)/lookup.c \ |
50e1e10f | 125 | $(srcdir)/mkdir.c \ |
d3cd93ca | 126 | $(srcdir)/mkjournal.c \ |
50e1e10f | 127 | $(srcdir)/namei.c \ |
1e3472c5 | 128 | $(srcdir)/native.c \ |
50e1e10f TT |
129 | $(srcdir)/newdir.c \ |
130 | $(srcdir)/openfs.c \ | |
131 | $(srcdir)/read_bb.c \ | |
132 | $(srcdir)/read_bb_file.c \ | |
d323f8fb | 133 | $(srcdir)/res_gdt.c \ |
50e1e10f TT |
134 | $(srcdir)/rw_bitmaps.c \ |
135 | $(srcdir)/swapfs.c \ | |
106ad96d | 136 | $(srcdir)/tdb.c \ |
21c84b71 | 137 | $(srcdir)/test_io.c \ |
ac493821 TT |
138 | $(srcdir)/tst_badblocks.c \ |
139 | $(srcdir)/tst_bitops.c \ | |
140 | $(srcdir)/tst_byteswap.c \ | |
141 | $(srcdir)/tst_getsize.c \ | |
4d5cb2ac | 142 | $(srcdir)/tst_iscan.c \ |
72a168b5 | 143 | $(srcdir)/undo_io.c \ |
4d5cb2ac JS |
144 | $(srcdir)/unix_io.c \ |
145 | $(srcdir)/unlink.c \ | |
146 | $(srcdir)/valid_blk.c \ | |
147 | $(srcdir)/version.c \ | |
148 | $(srcdir)/write_bb_file.c | |
50e1e10f | 149 | |
106ad96d TT |
150 | HFILES= bitops.h ext2fs.h ext2_io.h ext2_fs.h ext2_ext_attr.h ext3_extents.h \ |
151 | tdb.h | |
d1e66b79 | 152 | HFILES_IN= ext2_err.h ext2_types.h |
50e1e10f TT |
153 | |
154 | LIBRARY= libext2fs | |
155 | LIBDIR= ext2fs | |
156 | ||
e9affb7b | 157 | ELF_VERSION = 2.4 |
297f47a1 | 158 | ELF_SO_VERSION = 2 |
50e1e10f TT |
159 | ELF_IMAGE = libext2fs |
160 | ELF_MYDIR = ext2fs | |
469bec82 | 161 | ELF_INSTALL_DIR = $(root_libdir) |
349a484a | 162 | ELF_OTHER_LIBS = -L../.. -lcom_err |
50e1e10f | 163 | |
521e3685 | 164 | BSDLIB_VERSION = 2.1 |
50e1e10f TT |
165 | BSDLIB_IMAGE = libext2fs |
166 | BSDLIB_MYDIR = ext2fs | |
469bec82 | 167 | BSDLIB_INSTALL_DIR = $(root_libdir) |
50e1e10f TT |
168 | |
169 | @MAKEFILE_LIBRARY@ | |
50e1e10f TT |
170 | @MAKEFILE_ELF@ |
171 | @MAKEFILE_BSDLIB@ | |
172 | @MAKEFILE_PROFILE@ | |
173 | @MAKEFILE_CHECKER@ | |
174 | ||
e6441865 TT |
175 | all:: ext2fs.pc |
176 | ||
50e1e10f | 177 | .c.o: |
c13351f6 TT |
178 | $(E) " CC $<" |
179 | $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@ | |
180 | @PROFILE_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $< | |
181 | @CHECKER_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c $< | |
182 | @ELF_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $< | |
183 | @BSDLIB_CMT@ $(Q) $(CC) $(ALL_CFLAGS) $(BSDLIB_PIC_FLAG) -o pic/$*.o -c $< | |
50e1e10f | 184 | |
91835c15 | 185 | COMPILE_ET=../et/compile_et --build-tree |
50e1e10f TT |
186 | |
187 | DISTFILES= Makefile *.c *.h image | |
188 | ||
44339bdf | 189 | ext2_err.et: $(DEP_SUBSTITUTE) $(srcdir)/ext2_err.et.in |
c13351f6 TT |
190 | $(E) " SUBST $@" |
191 | $(Q) $(SUBSTITUTE) $(srcdir)/ext2_err.et.in ext2_err.et | |
62c06f79 | 192 | |
74becf3c | 193 | ext2_err.c ext2_err.h: ext2_err.et |
c13351f6 TT |
194 | $(E) " COMPILE_ET ext2_err.et" |
195 | $(Q) $(COMPILE_ET) ext2_err.et | |
50e1e10f | 196 | |
e6441865 | 197 | ext2fs.pc: $(srcdir)/ext2fs.pc.in $(top_builddir)/config.status |
c13351f6 TT |
198 | $(E) " CONFIG.STATUS $@" |
199 | $(Q) cd $(top_builddir); CONFIG_FILES=lib/ext2fs/ext2fs.pc ./config.status | |
e6441865 | 200 | |
a6a1c081 | 201 | tst_badblocks: tst_badblocks.o $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR) |
c13351f6 TT |
202 | $(E) " LD $@" |
203 | $(Q) $(CC) -o tst_badblocks tst_badblocks.o $(STATIC_LIBEXT2FS) \ | |
d4f34d41 | 204 | $(LIBCOM_ERR) |
21c84b71 | 205 | |
a6a1c081 | 206 | tst_icount: $(srcdir)/icount.c $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR) |
c13351f6 TT |
207 | $(E) " LD $@" |
208 | $(Q) $(CC) -o tst_icount $(srcdir)/icount.c -DDEBUG $(ALL_CFLAGS) \ | |
1cb78d84 TT |
209 | $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) |
210 | ||
a6a1c081 | 211 | tst_iscan: tst_iscan.o $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR) |
c13351f6 TT |
212 | $(E) " LD $@" |
213 | $(Q) $(CC) -o tst_iscan tst_iscan.o $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) | |
21c84b71 | 214 | |
a6a1c081 | 215 | tst_getsize: tst_getsize.o $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR) |
c13351f6 TT |
216 | $(E) " LD $@" |
217 | $(Q) $(CC) -o tst_getsize tst_getsize.o $(STATIC_LIBEXT2FS) \ | |
d36d835b TT |
218 | $(LIBCOM_ERR) |
219 | ||
a6a1c081 | 220 | tst_ismounted: $(srcdir)/ismounted.c $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR) |
c13351f6 | 221 | $(E) " LD $@" |
04f13d66 TT |
222 | $(Q) $(CC) -o tst_ismounted $(srcdir)/ismounted.c \ |
223 | $(STATIC_LIBEXT2FS) -DDEBUG $(ALL_CFLAGS) \ | |
a6a1c081 | 224 | $(LIBCOM_ERR) |
52db0b41 | 225 | |
a6a1c081 | 226 | tst_byteswap: tst_byteswap.o $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR) |
c13351f6 TT |
227 | $(E) " LD $@" |
228 | $(Q) $(CC) -o tst_byteswap tst_byteswap.o $(STATIC_LIBEXT2FS) \ | |
9ec53cf4 TT |
229 | $(LIBCOM_ERR) |
230 | ||
a6a1c081 | 231 | tst_bitops: tst_bitops.o $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR) |
c13351f6 TT |
232 | $(E) " LD $@" |
233 | $(Q) $(CC) -o tst_bitops tst_bitops.o $(ALL_CFLAGS) \ | |
ac493821 TT |
234 | $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) |
235 | ||
a6a1c081 | 236 | tst_getsectsize: tst_getsectsize.o $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR) |
c13351f6 TT |
237 | $(E) " LD $@" |
238 | $(Q) $(CC) -o tst_sectgetsize tst_getsectsize.o \ | |
06ce1f6b | 239 | $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) |
93d5c387 | 240 | |
4ea7ea00 | 241 | tst_types: tst_types.o ext2_types.h |
c13351f6 TT |
242 | $(E) " LD $@" |
243 | $(Q) $(CC) -o tst_types tst_types.o | |
4ea7ea00 | 244 | |
a2b2ff61 | 245 | tst_super_size: tst_super_size.o ext2_fs.h |
c13351f6 TT |
246 | $(E) " LD $@" |
247 | $(Q) $(CC) -o tst_super_size tst_super_size.o | |
a2b2ff61 | 248 | |
106ad96d | 249 | ext2_tdbtool: tdbtool.o |
c13351f6 TT |
250 | $(E) " LD $@" |
251 | $(Q) $(CC) -o ext2_tdbtool tdbtool.o tdb.o | |
106ad96d | 252 | |
3eb07f64 | 253 | extent_dbg.c: $(srcdir)/extent_dbg.ct |
c13351f6 TT |
254 | $(E) " MK_CMDS $<" |
255 | $(Q) $(MK_CMDS) $(srcdir)/extent_dbg.ct | |
3eb07f64 TT |
256 | |
257 | debug_cmds.c debug_cmds.h: $(top_srcdir)/debugfs/debug_cmds.ct | |
c13351f6 TT |
258 | $(E) " MK_CMDS $<@" |
259 | $(Q) $(MK_CMDS) $(top_srcdir)/debugfs/debug_cmds.ct | |
3eb07f64 TT |
260 | |
261 | DEBUG_OBJS= debug_cmds.o debugfs.o util.o ncheck.o icheck.o ls.o \ | |
262 | lsdel.o dump.o set_fields.o logdump.o htree.o unused.o | |
263 | ||
264 | debugfs.o: $(top_srcdir)/debugfs/debugfs.c | |
c13351f6 TT |
265 | $(E) " CC $<" |
266 | $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@ | |
3eb07f64 TT |
267 | |
268 | util.o: $(top_srcdir)/debugfs/util.c | |
c13351f6 TT |
269 | $(E) " CC $<" |
270 | $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@ | |
3eb07f64 TT |
271 | |
272 | ncheck.o: $(top_srcdir)/debugfs/ncheck.c | |
c13351f6 TT |
273 | $(E) " CC $<" |
274 | $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@ | |
3eb07f64 TT |
275 | |
276 | icheck.o: $(top_srcdir)/debugfs/icheck.c | |
c13351f6 TT |
277 | $(E) " CC $<" |
278 | $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@ | |
3eb07f64 TT |
279 | |
280 | ls.o: $(top_srcdir)/debugfs/ls.c | |
c13351f6 TT |
281 | $(E) " CC $<" |
282 | $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@ | |
3eb07f64 TT |
283 | |
284 | lsdel.o: $(top_srcdir)/debugfs/lsdel.c | |
c13351f6 TT |
285 | $(E) " CC $<" |
286 | $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@ | |
3eb07f64 TT |
287 | |
288 | dump.o: $(top_srcdir)/debugfs/dump.c | |
c13351f6 TT |
289 | $(E) " CC $<" |
290 | $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@ | |
3eb07f64 TT |
291 | |
292 | set_fields.o: $(top_srcdir)/debugfs/set_fields.c | |
c13351f6 TT |
293 | $(E) " CC $<" |
294 | $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@ | |
3eb07f64 TT |
295 | |
296 | logdump.o: $(top_srcdir)/debugfs/logdump.c | |
c13351f6 TT |
297 | $(E) " CC $<" |
298 | $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@ | |
3eb07f64 TT |
299 | |
300 | htree.o: $(top_srcdir)/debugfs/htree.c | |
c13351f6 TT |
301 | $(E) " CC $<" |
302 | $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@ | |
3eb07f64 TT |
303 | |
304 | unused.o: $(top_srcdir)/debugfs/unused.c | |
c13351f6 TT |
305 | $(E) " CC $<" |
306 | $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@ | |
3eb07f64 | 307 | |
a6a1c081 TT |
308 | tst_extents: $(srcdir)/extent.c extent_dbg.c $(DEBUG_OBJS) $(DEPLIBSS) \ |
309 | $(LIBE2P) $(DEPLIBUUID) $(DEPLIBBLKID) $(DEPLIBCOM_ERR) | |
c13351f6 TT |
310 | $(E) " LD $@" |
311 | $(Q) $(CC) -o tst_extents $(srcdir)/extent.c extent_dbg.c \ | |
3eb07f64 | 312 | $(ALL_CFLAGS) -DDEBUG $(DEBUG_OBJS) $(LIBSS) $(LIBE2P) \ |
daf7a6e5 | 313 | $(STATIC_LIBEXT2FS) $(LIBBLKID) $(LIBUUID) $(LIBCOM_ERR) \ |
3eb07f64 TT |
314 | -I $(top_srcdir)/debugfs |
315 | ||
a6a1c081 | 316 | tst_csum: csum.c $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR) |
c13351f6 TT |
317 | $(E) " LD $@" |
318 | $(Q) $(CC) -o tst_csum $(srcdir)/csum.c -DDEBUG \ | |
ca2634a4 JS |
319 | $(ALL_CFLAGS) $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) |
320 | ||
a6a1c081 | 321 | mkjournal: mkjournal.c $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR) |
c13351f6 TT |
322 | $(E) " LD $@" |
323 | $(Q) $(CC) -o mkjournal $(srcdir)/mkjournal.c -DDEBUG $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) $(ALL_CFLAGS) | |
d3cd93ca | 324 | |
ca2634a4 | 325 | check:: tst_bitops tst_badblocks tst_iscan tst_types tst_icount tst_super_size tst_types tst_csum |
f9bcce3b | 326 | LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_bitops |
afb6d709 TT |
327 | LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_badblocks |
328 | LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_iscan | |
4ea7ea00 | 329 | LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_types |
1cb78d84 | 330 | LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_icount |
a2b2ff61 | 331 | LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_super_size |
ca2634a4 | 332 | LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_csum |
21c84b71 | 333 | |
50e1e10f | 334 | installdirs:: |
c13351f6 TT |
335 | $(E) " MKINSTALLDIRS $(libdir) $(includedir)/ext2fs" |
336 | $(Q) $(MKINSTALLDIRS) $(DESTDIR)$(libdir) \ | |
e6441865 | 337 | $(DESTDIR)$(includedir)/ext2fs $(DESTDIR)$(libdir)/pkgconfig |
50e1e10f | 338 | |
e6441865 | 339 | install:: all $(HFILES) $(HFILES_IN) installdirs ext2fs.pc |
c13351f6 TT |
340 | $(E) " INSTALL_DATA $(libdir)/libext2fs.a" |
341 | $(Q) $(INSTALL_DATA) libext2fs.a $(DESTDIR)$(libdir)/libext2fs.a | |
342 | -$(Q) $(RANLIB) $(DESTDIR)$(libdir)/libext2fs.a | |
343 | $(Q) $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libext2fs.a | |
344 | $(Q) for i in $(HFILES); do \ | |
522798d3 | 345 | echo " INSTALL_DATA $(includedir)/ext2fs/$$i"; \ |
50e1e10f TT |
346 | $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/ext2fs/$$i; \ |
347 | done | |
c13351f6 | 348 | $(Q) for i in $(HFILES_IN); do \ |
522798d3 | 349 | echo " INSTALL_DATA $(includedir)/ext2fs/$$i"; \ |
d1e66b79 TT |
350 | $(INSTALL_DATA) $$i $(DESTDIR)$(includedir)/ext2fs/$$i; \ |
351 | done | |
c13351f6 TT |
352 | $(E) " INSTALL_DATA $(libdir)/pkgconfig/ext2fs.pc" |
353 | $(Q) $(INSTALL_DATA) ext2fs.pc $(DESTDIR)$(libdir)/pkgconfig/ext2fs.pc | |
50e1e10f TT |
354 | |
355 | uninstall:: | |
e6441865 TT |
356 | $(RM) -f $(DESTDIR)$(libdir)/libext2fs.a \ |
357 | $(DESTDIR)$(libdir)/pkgconfig/ext2fs.pc | |
358 | $(RM) -rf $(DESTDIR)$(includedir)/ext2fs | |
50e1e10f TT |
359 | |
360 | clean:: | |
b7aa0d65 | 361 | $(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* checker/* \ |
5c36a2f8 | 362 | tst_badblocks tst_iscan ext2_err.et ext2_err.c ext2_err.h \ |
06ce1f6b | 363 | tst_byteswap tst_ismounted tst_getsize tst_sectgetsize \ |
ca2634a4 | 364 | tst_bitops tst_types tst_icount tst_super_size tst_csum \ |
3eb07f64 | 365 | ext2_tdbtool mkjournal debug_cmds.c \ |
106ad96d | 366 | ../libext2fs.a ../libext2fs_p.a ../libext2fs_chk.a |
50e1e10f TT |
367 | |
368 | mostlyclean:: clean | |
369 | distclean:: clean | |
b7aa0d65 | 370 | $(RM) -f .depend ext2_err.c ext2_err.h Makefile ext2fs.pc \ |
5c36a2f8 | 371 | $(srcdir)/TAGS $(srcdir)/Makefile.in.old |
f0f4acbd TT |
372 | # |
373 | # Hack to parallel makes recognize dependencies correctly. | |
374 | # | |
375 | $(top_builddir)/lib/ext2fs/ext2_err.h: ext2_err.h | |
50e1e10f | 376 | |
3ded50b3 TT |
377 | $(OBJS): subdirs |
378 | ||
50e1e10f TT |
379 | # +++ Dependency line eater +++ |
380 | # | |
381 | # Makefile dependencies follow. This must be the last section in | |
382 | # the Makefile.in file | |
383 | # | |
384 | ext2_err.o: ext2_err.c | |
797f5ef1 TT |
385 | alloc.o: $(srcdir)/alloc.c $(srcdir)/ext2_fs.h \ |
386 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 387 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
388 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
389 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
1daf7585 TT |
390 | alloc_sb.o: $(srcdir)/alloc_sb.c $(srcdir)/ext2_fs.h \ |
391 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 392 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
393 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
394 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
a5f3f5c1 TT |
395 | alloc_stats.o: $(srcdir)/alloc_stats.c $(srcdir)/ext2_fs.h \ |
396 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 397 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
398 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
399 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
9f8046fc | 400 | alloc_tables.o: $(srcdir)/alloc_tables.c $(srcdir)/ext2_fs.h \ |
797f5ef1 | 401 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
a2b2ff61 | 402 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
403 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
404 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
405 | badblocks.o: $(srcdir)/badblocks.c $(srcdir)/ext2_fs.h \ |
406 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ | |
a2b2ff61 TT |
407 | $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \ |
408 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ | |
d89ad0ae ES |
409 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \ |
410 | $(srcdir)/bitops.h | |
797f5ef1 TT |
411 | bb_compat.o: $(srcdir)/bb_compat.c $(srcdir)/ext2_fs.h \ |
412 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ | |
a2b2ff61 TT |
413 | $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \ |
414 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ | |
d89ad0ae ES |
415 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \ |
416 | $(srcdir)/bitops.h | |
797f5ef1 TT |
417 | bb_inode.o: $(srcdir)/bb_inode.c $(srcdir)/ext2_fs.h \ |
418 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 419 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
420 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
421 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
422 | bitmaps.o: $(srcdir)/bitmaps.c $(srcdir)/ext2_fs.h \ |
423 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 424 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
425 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
426 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
427 | bitops.o: $(srcdir)/bitops.c $(srcdir)/ext2_fs.h \ |
428 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 429 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
430 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
431 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
432 | block.o: $(srcdir)/block.c $(srcdir)/ext2_fs.h \ |
433 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 434 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
435 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
436 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
437 | bmap.o: $(srcdir)/bmap.c $(srcdir)/ext2_fs.h \ |
438 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 439 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
440 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
441 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
442 | check_desc.o: $(srcdir)/check_desc.c $(srcdir)/ext2_fs.h \ |
443 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 444 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
445 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
446 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
447 | closefs.o: $(srcdir)/closefs.c $(srcdir)/ext2_fs.h \ |
448 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ | |
a2b2ff61 TT |
449 | $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \ |
450 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ | |
d89ad0ae ES |
451 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \ |
452 | $(srcdir)/bitops.h | |
d58d8320 TT |
453 | crc16.o: $(srcdir)/crc16.c $(top_builddir)/lib/ext2fs/ext2_types.h \ |
454 | $(srcdir)/crc16.h | |
ca2634a4 | 455 | csum.o: $(srcdir)/csum.c $(srcdir)/ext2_fs.h \ |
d89ad0ae ES |
456 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
457 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ | |
458 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ | |
459 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h $(srcdir)/crc16.h | |
797f5ef1 TT |
460 | dblist.o: $(srcdir)/dblist.c $(srcdir)/ext2_fs.h \ |
461 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ | |
a2b2ff61 TT |
462 | $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \ |
463 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ | |
d89ad0ae ES |
464 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \ |
465 | $(srcdir)/bitops.h | |
797f5ef1 TT |
466 | dblist_dir.o: $(srcdir)/dblist_dir.c $(srcdir)/ext2_fs.h \ |
467 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ | |
a2b2ff61 TT |
468 | $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \ |
469 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ | |
d89ad0ae ES |
470 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \ |
471 | $(srcdir)/bitops.h | |
797f5ef1 TT |
472 | dirblock.o: $(srcdir)/dirblock.c $(srcdir)/ext2_fs.h \ |
473 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 474 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
475 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
476 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
c6633059 TT |
477 | dirhash.o: $(srcdir)/dirhash.c $(srcdir)/ext2_fs.h \ |
478 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 479 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
480 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
481 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
9f8046fc | 482 | dir_iterate.o: $(srcdir)/dir_iterate.c $(srcdir)/ext2_fs.h \ |
797f5ef1 | 483 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ |
a2b2ff61 TT |
484 | $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \ |
485 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ | |
d89ad0ae ES |
486 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \ |
487 | $(srcdir)/bitops.h | |
797f5ef1 TT |
488 | dupfs.o: $(srcdir)/dupfs.c $(srcdir)/ext2_fs.h \ |
489 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ | |
a2b2ff61 TT |
490 | $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \ |
491 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ | |
d89ad0ae ES |
492 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \ |
493 | $(srcdir)/bitops.h | |
797f5ef1 TT |
494 | expanddir.o: $(srcdir)/expanddir.c $(srcdir)/ext2_fs.h \ |
495 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 496 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
497 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
498 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
ac493821 TT |
499 | ext_attr.o: $(srcdir)/ext_attr.c $(srcdir)/ext2_fs.h \ |
500 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2_ext_attr.h \ | |
a2b2ff61 TT |
501 | $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \ |
502 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ | |
d89ad0ae ES |
503 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \ |
504 | $(srcdir)/bitops.h | |
505 | extent.o: $(srcdir)/extent.c $(srcdir)/ext2_fs.h \ | |
506 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ | |
507 | $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \ | |
508 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ | |
509 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \ | |
3da77aab | 510 | $(srcdir)/bitops.h $(srcdir)/e2image.h |
797f5ef1 TT |
511 | fileio.o: $(srcdir)/fileio.c $(srcdir)/ext2_fs.h \ |
512 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 513 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
514 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
515 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
516 | finddev.o: $(srcdir)/finddev.c $(srcdir)/ext2_fs.h \ |
517 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 518 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
519 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
520 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
521 | flushb.o: $(srcdir)/flushb.c $(srcdir)/ext2_fs.h \ |
522 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 523 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
524 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
525 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
526 | freefs.o: $(srcdir)/freefs.c $(srcdir)/ext2_fs.h \ |
527 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ | |
a2b2ff61 TT |
528 | $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \ |
529 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ | |
d89ad0ae ES |
530 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \ |
531 | $(srcdir)/bitops.h | |
30ae14c9 TT |
532 | gen_bitmap.o: $(srcdir)/gen_bitmap.c $(srcdir)/ext2_fs.h \ |
533 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 534 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
535 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
536 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
9f8046fc | 537 | get_pathname.o: $(srcdir)/get_pathname.c $(srcdir)/ext2_fs.h \ |
797f5ef1 | 538 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
a2b2ff61 | 539 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
540 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
541 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
5f0fabe6 TT |
542 | getsize.o: $(srcdir)/getsize.c $(srcdir)/ext2_fs.h \ |
543 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 544 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
545 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
546 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
c6df04bb TT |
547 | getsectsize.o: $(srcdir)/getsectsize.c $(srcdir)/ext2_fs.h \ |
548 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 549 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
550 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
551 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
dabfa68f TT |
552 | i_block.o: $(srcdir)/i_block.c $(srcdir)/ext2_fs.h \ |
553 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
554 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ | |
555 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ | |
556 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
557 | icount.o: $(srcdir)/icount.c $(srcdir)/ext2_fs.h \ |
558 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 559 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
560 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
561 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h $(srcdir)/tdb.h | |
75e93ab0 TT |
562 | ind_block.o: $(srcdir)/ind_block.c $(srcdir)/ext2_fs.h \ |
563 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 564 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
565 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
566 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
567 | initialize.o: $(srcdir)/initialize.c $(srcdir)/ext2_fs.h \ |
568 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 569 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
570 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
571 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
572 | inline.o: $(srcdir)/inline.c $(srcdir)/ext2_fs.h \ |
573 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 574 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
575 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
576 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
577 | inode.o: $(srcdir)/inode.c $(srcdir)/ext2_fs.h \ |
578 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ | |
a2b2ff61 TT |
579 | $(srcdir)/ext2fs.h $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h \ |
580 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ | |
d89ad0ae ES |
581 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \ |
582 | $(srcdir)/bitops.h $(srcdir)/e2image.h | |
f12e285f TT |
583 | inode_io.o: $(srcdir)/inode_io.c $(srcdir)/ext2_fs.h \ |
584 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 585 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
586 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
587 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
6d402278 TT |
588 | imager.o: $(srcdir)/imager.c $(srcdir)/ext2_fs.h \ |
589 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 590 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
591 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
592 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
6d402278 TT |
593 | io_manager.o: $(srcdir)/io_manager.c $(srcdir)/ext2_fs.h \ |
594 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 595 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
596 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
597 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
5f0fabe6 TT |
598 | ismounted.o: $(srcdir)/ismounted.c $(srcdir)/ext2_fs.h \ |
599 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 600 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
601 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
602 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
603 | link.o: $(srcdir)/link.c $(srcdir)/ext2_fs.h \ |
604 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 605 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
606 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
607 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
5a679c8f | 608 | llseek.o: $(srcdir)/llseek.c $(top_srcdir)/lib/et/com_err.h \ |
6c133523 | 609 | $(srcdir)/ext2_io.h |
797f5ef1 TT |
610 | lookup.o: $(srcdir)/lookup.c $(srcdir)/ext2_fs.h \ |
611 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 612 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
613 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
614 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
615 | mkdir.o: $(srcdir)/mkdir.c $(srcdir)/ext2_fs.h \ |
616 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 617 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
618 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
619 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
5f0fabe6 TT |
620 | mkjournal.o: $(srcdir)/mkjournal.c $(srcdir)/ext2_fs.h \ |
621 | $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/e2p/e2p.h \ | |
a2b2ff61 TT |
622 | $(srcdir)/ext2_fs.h $(srcdir)/ext2fs.h $(srcdir)/ext3_extents.h \ |
623 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ | |
d89ad0ae ES |
624 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/ext2_ext_attr.h \ |
625 | $(srcdir)/bitops.h $(srcdir)/jfs_user.h $(srcdir)/kernel-jbd.h \ | |
626 | $(srcdir)/jfs_compat.h $(srcdir)/kernel-list.h | |
797f5ef1 TT |
627 | namei.o: $(srcdir)/namei.c $(srcdir)/ext2_fs.h \ |
628 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 629 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
630 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
631 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
632 | native.o: $(srcdir)/native.c $(srcdir)/ext2_fs.h \ |
633 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 634 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
635 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
636 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
637 | newdir.o: $(srcdir)/newdir.c $(srcdir)/ext2_fs.h \ |
638 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 639 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
640 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
641 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
642 | openfs.o: $(srcdir)/openfs.c $(srcdir)/ext2_fs.h \ |
643 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 644 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
645 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
646 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h $(srcdir)/e2image.h | |
797f5ef1 TT |
647 | read_bb.o: $(srcdir)/read_bb.c $(srcdir)/ext2_fs.h \ |
648 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 649 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
650 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
651 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
9f8046fc | 652 | read_bb_file.o: $(srcdir)/read_bb_file.c $(srcdir)/ext2_fs.h \ |
797f5ef1 | 653 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
a2b2ff61 | 654 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
655 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
656 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
d323f8fb TT |
657 | res_gdt.o: $(srcdir)/res_gdt.c $(srcdir)/ext2_fs.h \ |
658 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 659 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
660 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
661 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
797f5ef1 TT |
662 | rw_bitmaps.o: $(srcdir)/rw_bitmaps.c $(srcdir)/ext2_fs.h \ |
663 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 664 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
665 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
666 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h $(srcdir)/e2image.h | |
797f5ef1 TT |
667 | swapfs.o: $(srcdir)/swapfs.c $(srcdir)/ext2_fs.h \ |
668 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 669 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
670 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
671 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
a2b2ff61 | 672 | tdb.o: $(srcdir)/tdb.c $(srcdir)/tdb.h |
797f5ef1 TT |
673 | test_io.o: $(srcdir)/test_io.c $(srcdir)/ext2_fs.h \ |
674 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
a2b2ff61 | 675 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
676 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
677 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
678 | tst_badblocks.o: $(srcdir)/tst_badblocks.c $(srcdir)/ext2_fs.h \ | |
797f5ef1 | 679 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
a2b2ff61 | 680 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
681 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
682 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
683 | tst_bitops.o: $(srcdir)/tst_bitops.c $(srcdir)/ext2_fs.h \ | |
797f5ef1 | 684 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
a2b2ff61 | 685 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
686 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
687 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
688 | tst_byteswap.o: $(srcdir)/tst_byteswap.c $(srcdir)/ext2_fs.h \ | |
797f5ef1 | 689 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
a2b2ff61 | 690 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
691 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
692 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
d89ad0ae | 693 | tst_getsize.o: $(srcdir)/tst_getsize.c $(srcdir)/ext2_fs.h \ |
797f5ef1 | 694 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
a2b2ff61 | 695 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
696 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
697 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
698 | tst_iscan.o: $(srcdir)/tst_iscan.c $(srcdir)/ext2_fs.h \ | |
ac493821 | 699 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
a2b2ff61 | 700 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
701 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
702 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
72a168b5 AK |
703 | undo_io.o: $(srcdir)/undo_io.c $(srcdir)/tdb.h $(srcdir)/ext2_fs.h \ |
704 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
705 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ | |
706 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ | |
707 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
d89ad0ae | 708 | unix_io.o: $(srcdir)/unix_io.c $(srcdir)/ext2_fs.h \ |
ac493821 | 709 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
a2b2ff61 | 710 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
711 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
712 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
713 | unlink.o: $(srcdir)/unlink.c $(srcdir)/ext2_fs.h \ | |
ac493821 | 714 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
a2b2ff61 | 715 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
716 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
717 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
718 | valid_blk.o: $(srcdir)/valid_blk.c $(srcdir)/ext2_fs.h \ | |
ac493821 | 719 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
a2b2ff61 | 720 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
721 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
722 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h | |
723 | version.o: $(srcdir)/version.c $(srcdir)/ext2_fs.h \ | |
ac493821 | 724 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
a2b2ff61 | 725 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ |
d89ad0ae ES |
726 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ |
727 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h $(top_srcdir)/version.h | |
728 | write_bb_file.o: $(srcdir)/write_bb_file.c $(srcdir)/ext2_fs.h \ | |
729 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ | |
730 | $(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \ | |
731 | $(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \ | |
732 | $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h |