Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 1 | srcdir = @srcdir@ |
| 2 | top_srcdir = @top_srcdir@ |
| 3 | VPATH = @srcdir@ |
| 4 | top_builddir = ../.. |
Theodore Ts'o | 1e3472c | 1997-04-29 14:53:37 +0000 | [diff] [blame] | 5 | my_dir = lib/ext2fs |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 6 | INSTALL = @INSTALL@ |
| 7 | |
| 8 | @MCONFIG@ |
| 9 | |
Theodore Ts'o | 917e875 | 2002-08-13 15:16:47 -0400 | [diff] [blame] | 10 | @DEBUGFS_CMT@DEBUGFS_LIB_OBJS = bb_compat.o cmp_bitmaps.o fileio.o \ |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 11 | @DEBUGFS_CMT@ inode_io.o namei.o write_bb_file.o |
Theodore Ts'o | 30ae14c | 2001-06-13 22:38:56 +0000 | [diff] [blame] | 12 | |
Theodore Ts'o | 917e875 | 2002-08-13 15:16:47 -0400 | [diff] [blame] | 13 | @RESIZER_CMT@RESIZE_LIB_OBJS = rs_bitmap.o dupfs.o test_io.o |
Theodore Ts'o | 30ae14c | 2001-06-13 22:38:56 +0000 | [diff] [blame] | 14 | |
| 15 | @IMAGER_CMT@E2IMAGE_LIB_OBJS = imager.o |
| 16 | |
| 17 | OBJS= $(DEBUGFS_LIB_OBJS) $(RESIZE_LIB_OBJS) $(E2IMAGE_LIB_OBJS) \ |
| 18 | ext2_err.o \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 19 | alloc.o \ |
Theodore Ts'o | ef344e1 | 2003-11-21 09:02:21 -0500 | [diff] [blame^] | 20 | alloc_sb.o \ |
Theodore Ts'o | 8bd0c95 | 2002-01-03 03:29:19 -0500 | [diff] [blame] | 21 | alloc_stats.o \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 22 | alloc_tables.o \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 23 | badblocks.o \ |
| 24 | bb_inode.o \ |
| 25 | bitmaps.o \ |
| 26 | bitops.o \ |
| 27 | block.o \ |
Theodore Ts'o | 30fab29 | 1997-10-25 22:37:42 +0000 | [diff] [blame] | 28 | bmap.o \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 29 | check_desc.o \ |
| 30 | closefs.o \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 31 | dblist.o \ |
| 32 | dblist_dir.o \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 33 | dirblock.o \ |
Theodore Ts'o | 52783e0 | 2002-03-11 15:04:45 -0500 | [diff] [blame] | 34 | dirhash.o \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 35 | dir_iterate.o \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 36 | expanddir.o \ |
Theodore Ts'o | 342d847 | 2001-07-02 11:54:09 -0400 | [diff] [blame] | 37 | ext_attr.o \ |
Theodore Ts'o | de23aa1 | 2000-08-19 17:00:47 +0000 | [diff] [blame] | 38 | finddev.o \ |
Theodore Ts'o | 4d0f3e1 | 2001-01-11 15:48:50 +0000 | [diff] [blame] | 39 | flushb.o \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 40 | freefs.o \ |
Theodore Ts'o | 3034f62 | 2001-06-11 15:17:45 +0000 | [diff] [blame] | 41 | gen_bitmap.o \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 42 | get_pathname.o \ |
| 43 | getsize.o \ |
Theodore Ts'o | 93d5c38 | 2003-05-21 17:28:29 -0400 | [diff] [blame] | 44 | getsectsize.o \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 45 | icount.o \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 46 | initialize.o \ |
| 47 | inline.o \ |
| 48 | inode.o \ |
| 49 | ismounted.o \ |
| 50 | link.o \ |
| 51 | llseek.o \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 52 | lookup.o \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 53 | mkdir.o \ |
Theodore Ts'o | d3cd93c | 2000-10-24 18:33:16 +0000 | [diff] [blame] | 54 | mkjournal.o \ |
Theodore Ts'o | 1e3472c | 1997-04-29 14:53:37 +0000 | [diff] [blame] | 55 | native.o \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 56 | newdir.o \ |
| 57 | openfs.o \ |
| 58 | read_bb.o \ |
| 59 | read_bb_file.o \ |
| 60 | rw_bitmaps.o \ |
| 61 | swapfs.o \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 62 | unix_io.o \ |
| 63 | unlink.o \ |
Theodore Ts'o | 521e368 | 1997-04-29 17:48:10 +0000 | [diff] [blame] | 64 | valid_blk.o \ |
Theodore Ts'o | 30ae14c | 2001-06-13 22:38:56 +0000 | [diff] [blame] | 65 | version.o |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 66 | |
| 67 | SRCS= ext2_err.c \ |
| 68 | $(srcdir)/alloc.c \ |
Theodore Ts'o | ef344e1 | 2003-11-21 09:02:21 -0500 | [diff] [blame^] | 69 | $(srcdir)/alloc_sb.c \ |
Theodore Ts'o | 8bd0c95 | 2002-01-03 03:29:19 -0500 | [diff] [blame] | 70 | $(srcdir)/alloc_stats.c \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 71 | $(srcdir)/alloc_tables.c \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 72 | $(srcdir)/badblocks.c \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 73 | $(srcdir)/bb_compat.c \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 74 | $(srcdir)/bb_inode.c \ |
| 75 | $(srcdir)/bitmaps.c \ |
| 76 | $(srcdir)/bitops.c \ |
| 77 | $(srcdir)/block.c \ |
Theodore Ts'o | 30fab29 | 1997-10-25 22:37:42 +0000 | [diff] [blame] | 78 | $(srcdir)/bmap.c \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 79 | $(srcdir)/check_desc.c \ |
| 80 | $(srcdir)/closefs.c \ |
| 81 | $(srcdir)/cmp_bitmaps.c \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 82 | $(srcdir)/dblist.c \ |
| 83 | $(srcdir)/dblist_dir.c \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 84 | $(srcdir)/dirblock.c \ |
Theodore Ts'o | 52783e0 | 2002-03-11 15:04:45 -0500 | [diff] [blame] | 85 | $(srcdir)/dirhash.c \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 86 | $(srcdir)/dir_iterate.c \ |
Theodore Ts'o | a29f4d3 | 1997-04-29 21:26:48 +0000 | [diff] [blame] | 87 | $(srcdir)/dupfs.c \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 88 | $(srcdir)/expanddir.c \ |
Theodore Ts'o | 342d847 | 2001-07-02 11:54:09 -0400 | [diff] [blame] | 89 | $(srcdir)/ext_attr.c \ |
Theodore Ts'o | 30fab29 | 1997-10-25 22:37:42 +0000 | [diff] [blame] | 90 | $(srcdir)/fileio.c \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 91 | $(srcdir)/finddev.c \ |
Theodore Ts'o | 4d0f3e1 | 2001-01-11 15:48:50 +0000 | [diff] [blame] | 92 | $(srcdir)/flushb.c \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 93 | $(srcdir)/freefs.c \ |
Theodore Ts'o | 30ae14c | 2001-06-13 22:38:56 +0000 | [diff] [blame] | 94 | $(srcdir)/gen_bitmap.c \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 95 | $(srcdir)/get_pathname.c \ |
| 96 | $(srcdir)/getsize.c \ |
Theodore Ts'o | 93d5c38 | 2003-05-21 17:28:29 -0400 | [diff] [blame] | 97 | $(srcdir)/getsectsize.c \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 98 | $(srcdir)/icount.c \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 99 | $(srcdir)/imager.c \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 100 | $(srcdir)/initialize.c \ |
| 101 | $(srcdir)/inline.c \ |
| 102 | $(srcdir)/inode.c \ |
Theodore Ts'o | f12e285 | 2002-02-20 01:06:25 -0500 | [diff] [blame] | 103 | $(srcdir)/inode_io.c \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 104 | $(srcdir)/ismounted.c \ |
| 105 | $(srcdir)/link.c \ |
| 106 | $(srcdir)/llseek.c \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 107 | $(srcdir)/lookup.c \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 108 | $(srcdir)/mkdir.c \ |
Theodore Ts'o | d3cd93c | 2000-10-24 18:33:16 +0000 | [diff] [blame] | 109 | $(srcdir)/mkjournal.c \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 110 | $(srcdir)/namei.c \ |
Theodore Ts'o | 1e3472c | 1997-04-29 14:53:37 +0000 | [diff] [blame] | 111 | $(srcdir)/native.c \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 112 | $(srcdir)/newdir.c \ |
| 113 | $(srcdir)/openfs.c \ |
| 114 | $(srcdir)/read_bb.c \ |
| 115 | $(srcdir)/read_bb_file.c \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 116 | $(srcdir)/rs_bitmap.c \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 117 | $(srcdir)/rw_bitmaps.c \ |
| 118 | $(srcdir)/swapfs.c \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 119 | $(srcdir)/test_io.c \ |
| 120 | $(srcdir)/unix_io.c \ |
| 121 | $(srcdir)/unlink.c \ |
Theodore Ts'o | 521e368 | 1997-04-29 17:48:10 +0000 | [diff] [blame] | 122 | $(srcdir)/valid_blk.c \ |
Theodore Ts'o | 57dca85 | 2000-07-04 19:20:25 +0000 | [diff] [blame] | 123 | $(srcdir)/version.c \ |
Theodore Ts'o | ac49382 | 2001-07-04 14:04:58 -0400 | [diff] [blame] | 124 | $(srcdir)/write_bb_file.c \ |
| 125 | $(srcdir)/tst_badblocks.c \ |
| 126 | $(srcdir)/tst_bitops.c \ |
| 127 | $(srcdir)/tst_byteswap.c \ |
| 128 | $(srcdir)/tst_getsize.c \ |
| 129 | $(srcdir)/tst_iscan.c |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 130 | |
Theodore Ts'o | 342d847 | 2001-07-02 11:54:09 -0400 | [diff] [blame] | 131 | HFILES= bitops.h ext2fs.h ext2_io.h ext2_fs.h ext2_ext_attr.h |
Theodore Ts'o | d1e66b7 | 2001-06-15 22:44:32 +0000 | [diff] [blame] | 132 | HFILES_IN= ext2_err.h ext2_types.h |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 133 | |
| 134 | LIBRARY= libext2fs |
| 135 | LIBDIR= ext2fs |
| 136 | |
| 137 | DLL_ADDRESS = 0x66900000 |
| 138 | DLL_JUMPSIZE = 0x1000 |
| 139 | DLL_GOTSIZE = 0x1000 |
Theodore Ts'o | 521e368 | 1997-04-29 17:48:10 +0000 | [diff] [blame] | 140 | DLL_VERSION = 1.2 |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 141 | DLL_IMAGE = libe2fs |
| 142 | DLL_STUB = libext2fs |
Theodore Ts'o | 349a484 | 2001-06-11 00:49:29 +0000 | [diff] [blame] | 143 | DLL_LIBS = -L../.. -lcom_err |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 144 | DLL_MYDIR = ext2fs |
Theodore Ts'o | 469bec8 | 1998-04-01 02:46:43 +0000 | [diff] [blame] | 145 | DLL_INSTALL_DIR = $(root_libdir) |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 146 | |
Theodore Ts'o | e9affb7 | 1997-08-24 02:57:55 +0000 | [diff] [blame] | 147 | ELF_VERSION = 2.4 |
Theodore Ts'o | 297f47a | 1997-04-26 14:25:20 +0000 | [diff] [blame] | 148 | ELF_SO_VERSION = 2 |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 149 | ELF_IMAGE = libext2fs |
| 150 | ELF_MYDIR = ext2fs |
Theodore Ts'o | 469bec8 | 1998-04-01 02:46:43 +0000 | [diff] [blame] | 151 | ELF_INSTALL_DIR = $(root_libdir) |
Theodore Ts'o | 349a484 | 2001-06-11 00:49:29 +0000 | [diff] [blame] | 152 | ELF_OTHER_LIBS = -L../.. -lcom_err |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 153 | |
Theodore Ts'o | 521e368 | 1997-04-29 17:48:10 +0000 | [diff] [blame] | 154 | BSDLIB_VERSION = 2.1 |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 155 | BSDLIB_IMAGE = libext2fs |
| 156 | BSDLIB_MYDIR = ext2fs |
Theodore Ts'o | 469bec8 | 1998-04-01 02:46:43 +0000 | [diff] [blame] | 157 | BSDLIB_INSTALL_DIR = $(root_libdir) |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 158 | |
| 159 | @MAKEFILE_LIBRARY@ |
| 160 | @MAKEFILE_DLL@ |
| 161 | @MAKEFILE_ELF@ |
| 162 | @MAKEFILE_BSDLIB@ |
| 163 | @MAKEFILE_PROFILE@ |
| 164 | @MAKEFILE_CHECKER@ |
| 165 | |
| 166 | .c.o: |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 167 | $(CC) $(ALL_CFLAGS) -c $< -o $@ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 168 | @PROFILE_CMT@ $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $< |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 169 | @CHECKER_CMT@ $(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c $< |
| 170 | @DLL_CMT@ (export JUMP_DIR=`pwd`/jump; $(CC) -B$(JUMP_PREFIX) $(ALL_CFLAGS) \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 171 | @DLL_CMT@ -o jump/$*.o -c $<) |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 172 | @ELF_CMT@ $(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $< |
| 173 | @BSDLIB_CMT@ $(CC) $(ALL_CFLAGS) -fpic -o pic/$*.o -c $< |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 174 | |
Theodore Ts'o | 91835c1 | 2003-03-30 22:26:13 -0500 | [diff] [blame] | 175 | COMPILE_ET=../et/compile_et --build-tree |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 176 | |
| 177 | DISTFILES= Makefile *.c *.h image |
| 178 | |
Theodore Ts'o | 44339bd | 1997-10-15 02:47:20 +0000 | [diff] [blame] | 179 | ext2_err.et: $(DEP_SUBSTITUTE) $(srcdir)/ext2_err.et.in |
Theodore Ts'o | 62c06f7 | 1997-04-29 14:34:47 +0000 | [diff] [blame] | 180 | $(SUBSTITUTE) $(srcdir)/ext2_err.et.in ext2_err.et |
| 181 | |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 182 | ext2_err.c ext2_err.h: ext2_err.et |
| 183 | $(COMPILE_ET) ext2_err.et |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 184 | |
Theodore Ts'o | 57dca85 | 2000-07-04 19:20:25 +0000 | [diff] [blame] | 185 | tst_badblocks: tst_badblocks.o freefs.o \ |
| 186 | read_bb_file.o write_bb_file.o badblocks.o |
| 187 | $(CC) -o tst_badblocks tst_badblocks.o freefs.o \ |
Theodore Ts'o | 7d4343d | 2002-02-12 02:34:44 -0500 | [diff] [blame] | 188 | read_bb_file.o write_bb_file.o badblocks.o \ |
| 189 | inline.o bitops.o gen_bitmap.o $(LIBCOM_ERR) |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 190 | |
Theodore Ts'o | 30ae14c | 2001-06-13 22:38:56 +0000 | [diff] [blame] | 191 | tst_iscan: tst_iscan.o inode.o badblocks.o test_io.o $(STATIC_LIBEXT2FS) |
| 192 | $(CC) -o tst_iscan tst_iscan.o inode.o badblocks.o test_io.o \ |
| 193 | $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 194 | |
Theodore Ts'o | d36d835 | 1997-11-12 03:48:07 +0000 | [diff] [blame] | 195 | tst_getsize: tst_getsize.o getsize.o $(STATIC_LIBEXT2FS) |
| 196 | $(CC) -o tst_getsize tst_getsize.o getsize.o $(STATIC_LIBEXT2FS) \ |
| 197 | $(LIBCOM_ERR) |
| 198 | |
Theodore Ts'o | 52db0b4 | 2001-04-17 02:22:05 +0000 | [diff] [blame] | 199 | tst_ismounted: $(srcdir)/ismounted.c $(STATIC_LIBEXT2FS) |
| 200 | $(CC) -o tst_ismounted $(srcdir)/ismounted.c -DDEBUG $(ALL_CFLAGS) $(LIBCOM_ERR) |
| 201 | |
Theodore Ts'o | 9ec53cf | 2001-02-20 16:28:40 +0000 | [diff] [blame] | 202 | tst_byteswap: tst_byteswap.o bitops.o $(STATIC_LIBEXT2FS) |
| 203 | $(CC) -o tst_byteswap tst_byteswap.o bitops.o $(STATIC_LIBEXT2FS) \ |
| 204 | $(LIBCOM_ERR) |
| 205 | |
Theodore Ts'o | ac49382 | 2001-07-04 14:04:58 -0400 | [diff] [blame] | 206 | tst_bitops: tst_bitops.o inline.o $(STATIC_LIBEXT2FS) |
| 207 | $(CC) -o tst_bitops tst_bitops.o inline.o \ |
| 208 | $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) |
| 209 | |
Theodore Ts'o | 93d5c38 | 2003-05-21 17:28:29 -0400 | [diff] [blame] | 210 | tst_getsectsize: tst_getsectsize.o getsectsize.o $(STATIC_LIBEXT2FS) |
| 211 | $(CC) -o tst_sectgetsize tst_getsectsize.o getsectsize.o \ |
| 212 | -DDEBUG $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) |
| 213 | |
Theodore Ts'o | d3cd93c | 2000-10-24 18:33:16 +0000 | [diff] [blame] | 214 | mkjournal: mkjournal.c $(STATIC_LIBEXT2FS) |
| 215 | $(CC) -o mkjournal $(srcdir)/mkjournal.c -DDEBUG $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) $(ALL_CFLAGS) |
| 216 | |
Theodore Ts'o | feb44c6 | 2002-11-08 14:55:38 -0500 | [diff] [blame] | 217 | check:: tst_badblocks tst_iscan @SWAPFS_CMT@ tst_byteswap |
Theodore Ts'o | afb6d70 | 2003-04-21 16:12:34 -0400 | [diff] [blame] | 218 | LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_badblocks |
| 219 | LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_iscan |
| 220 | @SWAPFS_CMT@ LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_byteswap |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 221 | |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 222 | installdirs:: |
Theodore Ts'o | 469bec8 | 1998-04-01 02:46:43 +0000 | [diff] [blame] | 223 | $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 224 | $(DESTDIR)$(includedir)/ext2fs |
| 225 | |
Theodore Ts'o | d1e66b7 | 2001-06-15 22:44:32 +0000 | [diff] [blame] | 226 | install:: all $(HFILES) $(HFILES_IN) installdirs |
Theodore Ts'o | 469bec8 | 1998-04-01 02:46:43 +0000 | [diff] [blame] | 227 | $(INSTALL_DATA) libext2fs.a $(DESTDIR)$(libdir)/libext2fs.a |
| 228 | $(CHMOD) 644 $(DESTDIR)$(libdir)/libext2fs.a |
| 229 | -$(RANLIB) $(DESTDIR)$(libdir)/libext2fs.a |
| 230 | $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libext2fs.a |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 231 | for i in $(HFILES); do \ |
| 232 | $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/ext2fs/$$i; \ |
| 233 | done |
Theodore Ts'o | d1e66b7 | 2001-06-15 22:44:32 +0000 | [diff] [blame] | 234 | for i in $(HFILES_IN); do \ |
| 235 | $(INSTALL_DATA) $$i $(DESTDIR)$(includedir)/ext2fs/$$i; \ |
| 236 | done |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 237 | |
| 238 | uninstall:: |
Theodore Ts'o | 469bec8 | 1998-04-01 02:46:43 +0000 | [diff] [blame] | 239 | $(RM) -f $(DESTDIR)$(libdir)/libext2fs.a |
| 240 | $(RM) -rf $(DESTDIR)$(includedir)/ext2fs |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 241 | |
| 242 | clean:: |
| 243 | $(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* checker/* \ |
Theodore Ts'o | 5c36a2f | 1999-11-19 18:42:30 +0000 | [diff] [blame] | 244 | tst_badblocks tst_iscan ext2_err.et ext2_err.c ext2_err.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 245 | tst_byteswap tst_ismounted mkjournal \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 246 | ../libext2fs.a ../libext2fs_p.a ../libext2fs_chk.a |
| 247 | |
| 248 | mostlyclean:: clean |
| 249 | distclean:: clean |
Theodore Ts'o | 5c36a2f | 1999-11-19 18:42:30 +0000 | [diff] [blame] | 250 | $(RM) -f .depend ext2_err.c ext2_err.h Makefile \ |
| 251 | $(srcdir)/TAGS $(srcdir)/Makefile.in.old |
Theodore Ts'o | f0f4acb | 2000-05-25 23:22:11 +0000 | [diff] [blame] | 252 | # |
| 253 | # Hack to parallel makes recognize dependencies correctly. |
| 254 | # |
| 255 | $(top_builddir)/lib/ext2fs/ext2_err.h: ext2_err.h |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 256 | |
| 257 | # +++ Dependency line eater +++ |
| 258 | # |
| 259 | # Makefile dependencies follow. This must be the last section in |
| 260 | # the Makefile.in file |
| 261 | # |
| 262 | ext2_err.o: ext2_err.c |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 263 | alloc.o: $(srcdir)/alloc.c $(srcdir)/ext2_fs.h \ |
| 264 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 265 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 266 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | a5f3f5c | 2002-02-03 01:00:22 -0500 | [diff] [blame] | 267 | alloc_stats.o: $(srcdir)/alloc_stats.c $(srcdir)/ext2_fs.h \ |
| 268 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 269 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 270 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 271 | alloc_tables.o: $(srcdir)/alloc_tables.c $(srcdir)/ext2_fs.h \ |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 272 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 273 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 274 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 275 | badblocks.o: $(srcdir)/badblocks.c $(srcdir)/ext2_fs.h \ |
| 276 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 277 | $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 278 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 279 | bb_compat.o: $(srcdir)/bb_compat.c $(srcdir)/ext2_fs.h \ |
| 280 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 281 | $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 282 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 283 | bb_inode.o: $(srcdir)/bb_inode.c $(srcdir)/ext2_fs.h \ |
| 284 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 285 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 286 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 287 | bitmaps.o: $(srcdir)/bitmaps.c $(srcdir)/ext2_fs.h \ |
| 288 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 289 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 290 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 291 | bitops.o: $(srcdir)/bitops.c $(srcdir)/ext2_fs.h \ |
| 292 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 293 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 294 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 295 | block.o: $(srcdir)/block.c $(srcdir)/ext2_fs.h \ |
| 296 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 297 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 298 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 299 | bmap.o: $(srcdir)/bmap.c $(srcdir)/ext2_fs.h \ |
| 300 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 301 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 302 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 303 | check_desc.o: $(srcdir)/check_desc.c $(srcdir)/ext2_fs.h \ |
| 304 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 305 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 306 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 307 | closefs.o: $(srcdir)/closefs.c $(srcdir)/ext2_fs.h \ |
| 308 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 309 | $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 310 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 311 | cmp_bitmaps.o: $(srcdir)/cmp_bitmaps.c $(srcdir)/ext2_fs.h \ |
| 312 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 313 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 314 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 315 | dblist.o: $(srcdir)/dblist.c $(srcdir)/ext2_fs.h \ |
| 316 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 317 | $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 318 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 319 | dblist_dir.o: $(srcdir)/dblist_dir.c $(srcdir)/ext2_fs.h \ |
| 320 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 321 | $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 322 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 323 | dirblock.o: $(srcdir)/dirblock.c $(srcdir)/ext2_fs.h \ |
| 324 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 325 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 326 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | c663305 | 2002-09-24 01:26:50 -0400 | [diff] [blame] | 327 | dirhash.o: $(srcdir)/dirhash.c $(srcdir)/ext2_fs.h \ |
| 328 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 329 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 330 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 331 | dir_iterate.o: $(srcdir)/dir_iterate.c $(srcdir)/ext2_fs.h \ |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 332 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 333 | $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 334 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 335 | dupfs.o: $(srcdir)/dupfs.c $(srcdir)/ext2_fs.h \ |
| 336 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ |
| 337 | $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 338 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 339 | expanddir.o: $(srcdir)/expanddir.c $(srcdir)/ext2_fs.h \ |
| 340 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 341 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 342 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | ac49382 | 2001-07-04 14:04:58 -0400 | [diff] [blame] | 343 | ext_attr.o: $(srcdir)/ext_attr.c $(srcdir)/ext2_fs.h \ |
| 344 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2_ext_attr.h \ |
| 345 | $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 346 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 347 | fileio.o: $(srcdir)/fileio.c $(srcdir)/ext2_fs.h \ |
| 348 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 349 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 350 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 351 | finddev.o: $(srcdir)/finddev.c $(srcdir)/ext2_fs.h \ |
| 352 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 353 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 354 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 355 | flushb.o: $(srcdir)/flushb.c $(srcdir)/ext2_fs.h \ |
| 356 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 357 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 358 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 359 | freefs.o: $(srcdir)/freefs.c $(srcdir)/ext2_fs.h \ |
| 360 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 361 | $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 362 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 30ae14c | 2001-06-13 22:38:56 +0000 | [diff] [blame] | 363 | gen_bitmap.o: $(srcdir)/gen_bitmap.c $(srcdir)/ext2_fs.h \ |
| 364 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 365 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 366 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 367 | get_pathname.o: $(srcdir)/get_pathname.c $(srcdir)/ext2_fs.h \ |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 368 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 369 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 370 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 5f0fabe | 2001-12-24 12:42:45 -0500 | [diff] [blame] | 371 | getsize.o: $(srcdir)/getsize.c $(srcdir)/ext2_fs.h \ |
| 372 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 373 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 374 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | c6df04b | 2003-07-23 09:53:06 -0400 | [diff] [blame] | 375 | getsectsize.o: $(srcdir)/getsectsize.c $(srcdir)/ext2_fs.h \ |
| 376 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 377 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 378 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 379 | icount.o: $(srcdir)/icount.c $(srcdir)/ext2_fs.h \ |
| 380 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 381 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 382 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 383 | imager.o: $(srcdir)/imager.c $(srcdir)/ext2_fs.h \ |
| 384 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 385 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 386 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 387 | initialize.o: $(srcdir)/initialize.c $(srcdir)/ext2_fs.h \ |
| 388 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 389 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 390 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 391 | inline.o: $(srcdir)/inline.c $(srcdir)/ext2_fs.h \ |
| 392 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 393 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 394 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 395 | inode.o: $(srcdir)/inode.c $(srcdir)/ext2_fs.h \ |
| 396 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 397 | $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 398 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h $(srcdir)/e2image.h |
Theodore Ts'o | f12e285 | 2002-02-20 01:06:25 -0500 | [diff] [blame] | 399 | inode_io.o: $(srcdir)/inode_io.c $(srcdir)/ext2_fs.h \ |
| 400 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 401 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 402 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 5f0fabe | 2001-12-24 12:42:45 -0500 | [diff] [blame] | 403 | ismounted.o: $(srcdir)/ismounted.c $(srcdir)/ext2_fs.h \ |
| 404 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 405 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 406 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 407 | link.o: $(srcdir)/link.c $(srcdir)/ext2_fs.h \ |
| 408 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 409 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 410 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 5a679c8 | 1998-12-03 16:40:38 +0000 | [diff] [blame] | 411 | llseek.o: $(srcdir)/llseek.c $(top_srcdir)/lib/et/com_err.h \ |
Theodore Ts'o | 6c13352 | 1999-07-03 20:37:03 +0000 | [diff] [blame] | 412 | $(srcdir)/ext2_io.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 413 | lookup.o: $(srcdir)/lookup.c $(srcdir)/ext2_fs.h \ |
| 414 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 415 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
Theodore Ts'o | 5a679c8 | 1998-12-03 16:40:38 +0000 | [diff] [blame] | 416 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 417 | mkdir.o: $(srcdir)/mkdir.c $(srcdir)/ext2_fs.h \ |
| 418 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 419 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
Theodore Ts'o | 5a679c8 | 1998-12-03 16:40:38 +0000 | [diff] [blame] | 420 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 5f0fabe | 2001-12-24 12:42:45 -0500 | [diff] [blame] | 421 | mkjournal.o: $(srcdir)/mkjournal.c $(srcdir)/ext2_fs.h \ |
| 422 | $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/e2p/e2p.h \ |
| 423 | $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 424 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h \ |
| 425 | $(srcdir)/jfs_user.h $(srcdir)/kernel-jbd.h $(srcdir)/jfs_compat.h \ |
| 426 | $(srcdir)/kernel-list.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 427 | namei.o: $(srcdir)/namei.c $(srcdir)/ext2_fs.h \ |
| 428 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 429 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 430 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 431 | native.o: $(srcdir)/native.c $(srcdir)/ext2_fs.h \ |
| 432 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 433 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 434 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 435 | newdir.o: $(srcdir)/newdir.c $(srcdir)/ext2_fs.h \ |
| 436 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 437 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 438 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 439 | openfs.o: $(srcdir)/openfs.c $(srcdir)/ext2_fs.h \ |
| 440 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 441 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
Theodore Ts'o | 2521f52 | 2001-05-11 05:04:03 +0000 | [diff] [blame] | 442 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h $(srcdir)/e2image.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 443 | read_bb.o: $(srcdir)/read_bb.c $(srcdir)/ext2_fs.h \ |
| 444 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 445 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 446 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 447 | read_bb_file.o: $(srcdir)/read_bb_file.c $(srcdir)/ext2_fs.h \ |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 448 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 449 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 450 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 451 | rs_bitmap.o: $(srcdir)/rs_bitmap.c $(srcdir)/ext2_fs.h \ |
| 452 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 453 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 454 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 455 | rw_bitmaps.o: $(srcdir)/rw_bitmaps.c $(srcdir)/ext2_fs.h \ |
| 456 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 457 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 458 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h $(srcdir)/e2image.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 459 | swapfs.o: $(srcdir)/swapfs.c $(srcdir)/ext2_fs.h \ |
| 460 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 461 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 462 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 463 | test_io.o: $(srcdir)/test_io.c $(srcdir)/ext2_fs.h \ |
| 464 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 465 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 466 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 467 | unix_io.o: $(srcdir)/unix_io.c $(srcdir)/ext2_fs.h \ |
| 468 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 469 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 470 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 471 | unlink.o: $(srcdir)/unlink.c $(srcdir)/ext2_fs.h \ |
| 472 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 473 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 474 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 475 | valid_blk.o: $(srcdir)/valid_blk.c $(srcdir)/ext2_fs.h \ |
| 476 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 477 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 478 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 479 | version.o: $(srcdir)/version.c $(srcdir)/ext2_fs.h \ |
| 480 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 481 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 482 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h \ |
Theodore Ts'o | 9f8046f | 2001-05-14 11:35:52 +0000 | [diff] [blame] | 483 | $(top_srcdir)/version.h |
| 484 | write_bb_file.o: $(srcdir)/write_bb_file.c $(srcdir)/ext2_fs.h \ |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 485 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 486 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
Theodore Ts'o | 0e8a956 | 2000-12-09 06:41:25 +0000 | [diff] [blame] | 487 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
Theodore Ts'o | ac49382 | 2001-07-04 14:04:58 -0400 | [diff] [blame] | 488 | tst_badblocks.o: $(srcdir)/tst_badblocks.c $(srcdir)/ext2_fs.h \ |
| 489 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 490 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 491 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 492 | tst_bitops.o: $(srcdir)/tst_bitops.c $(srcdir)/ext2_fs.h \ |
| 493 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 494 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 495 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 496 | tst_byteswap.o: $(srcdir)/tst_byteswap.c $(srcdir)/ext2_fs.h \ |
| 497 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 498 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 499 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 500 | tst_getsize.o: $(srcdir)/tst_getsize.c $(srcdir)/ext2_fs.h \ |
| 501 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 502 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 503 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |
| 504 | tst_iscan.o: $(srcdir)/tst_iscan.c $(srcdir)/ext2_fs.h \ |
| 505 | $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \ |
| 506 | $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \ |
| 507 | $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h |