sewardj | 20e56c1 | 2004-03-31 22:08:37 +0000 | [diff] [blame] | 1 | |
sewardj | 887a11a | 2004-07-05 17:26:47 +0000 | [diff] [blame] | 2 | PUB_HEADERS = pub/libvex_basictypes.h \ |
| 3 | pub/libvex_ir.h \ |
sewardj | 7d0960d | 2004-09-06 23:22:55 +0000 | [diff] [blame] | 4 | pub/libvex.h \ |
sewardj | c4278f4 | 2004-11-26 13:18:19 +0000 | [diff] [blame] | 5 | pub/libvex_trc_values.h \ |
florian | 4180af3 | 2012-12-24 00:25:34 +0000 | [diff] [blame] | 6 | pub/libvex_emnote.h \ |
sewardj | d584f8f | 2004-11-22 16:02:34 +0000 | [diff] [blame] | 7 | pub/libvex_guest_x86.h \ |
sewardj | 33dba64 | 2004-11-25 13:07:51 +0000 | [diff] [blame] | 8 | pub/libvex_guest_amd64.h \ |
cerion | 896a137 | 2005-01-25 12:24:25 +0000 | [diff] [blame] | 9 | pub/libvex_guest_arm.h \ |
sewardj | 2825ac4 | 2005-03-08 16:43:27 +0000 | [diff] [blame] | 10 | pub/libvex_guest_ppc32.h \ |
cerion | d0eae2d | 2005-12-23 11:43:01 +0000 | [diff] [blame] | 11 | pub/libvex_guest_ppc64.h \ |
sewardj | 1e3830f | 2011-03-14 11:27:26 +0000 | [diff] [blame] | 12 | pub/libvex_guest_s390x.h \ |
| 13 | pub/libvex_s390x_common.h \ |
florian | 4180af3 | 2012-12-24 00:25:34 +0000 | [diff] [blame] | 14 | pub/libvex_guest_mips32.h \ |
sewardj | 2825ac4 | 2005-03-08 16:43:27 +0000 | [diff] [blame] | 15 | pub/libvex_guest_offsets.h |
sewardj | 5cf515f | 2004-06-26 20:10:35 +0000 | [diff] [blame] | 16 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 17 | PRIV_HEADERS = priv/host_x86_defs.h \ |
| 18 | priv/host_amd64_defs.h \ |
| 19 | priv/host_arm_defs.h \ |
| 20 | priv/host_ppc_defs.h \ |
sewardj | 1e3830f | 2011-03-14 11:27:26 +0000 | [diff] [blame] | 21 | priv/host_s390_defs.h \ |
sewardj | d0e5fe7 | 2012-06-07 08:51:02 +0000 | [diff] [blame] | 22 | priv/host_mips_defs.h \ |
florian | 0af77fc | 2013-08-03 20:57:17 +0000 | [diff] [blame] | 23 | priv/host_generic_maddf.h \ |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 24 | priv/host_generic_regs.h \ |
| 25 | priv/host_generic_simd64.h \ |
sewardj | 69d98e3 | 2010-06-18 08:17:41 +0000 | [diff] [blame] | 26 | priv/host_generic_simd128.h \ |
florian | 0af77fc | 2013-08-03 20:57:17 +0000 | [diff] [blame] | 27 | priv/host_generic_simd256.h \ |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 28 | priv/main_globals.h \ |
| 29 | priv/main_util.h \ |
| 30 | priv/guest_generic_x87.h \ |
| 31 | priv/guest_generic_bb_to_IR.h \ |
| 32 | priv/guest_x86_defs.h \ |
| 33 | priv/guest_amd64_defs.h \ |
| 34 | priv/guest_arm_defs.h \ |
| 35 | priv/guest_ppc_defs.h \ |
sewardj | d0e5fe7 | 2012-06-07 08:51:02 +0000 | [diff] [blame] | 36 | priv/guest_mips_defs.h \ |
florian | 4180af3 | 2012-12-24 00:25:34 +0000 | [diff] [blame] | 37 | priv/s390_disasm.h \ |
| 38 | priv/s390_defs.h \ |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 39 | priv/ir_match.h \ |
| 40 | priv/ir_opt.h |
sewardj | 5cf515f | 2004-06-26 20:10:35 +0000 | [diff] [blame] | 41 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 42 | LIB_OBJS = priv/ir_defs.o \ |
| 43 | priv/ir_match.o \ |
| 44 | priv/ir_opt.o \ |
florian | 4180af3 | 2012-12-24 00:25:34 +0000 | [diff] [blame] | 45 | priv/ir_inject.o \ |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 46 | priv/main_main.o \ |
| 47 | priv/main_globals.o \ |
| 48 | priv/main_util.o \ |
florian | 4180af3 | 2012-12-24 00:25:34 +0000 | [diff] [blame] | 49 | priv/s390_disasm.o \ |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 50 | priv/host_x86_defs.o \ |
| 51 | priv/host_amd64_defs.o \ |
| 52 | priv/host_arm_defs.o \ |
| 53 | priv/host_ppc_defs.o \ |
sewardj | 1e3830f | 2011-03-14 11:27:26 +0000 | [diff] [blame] | 54 | priv/host_s390_defs.o \ |
sewardj | d0e5fe7 | 2012-06-07 08:51:02 +0000 | [diff] [blame] | 55 | priv/host_mips_defs.o \ |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 56 | priv/host_x86_isel.o \ |
| 57 | priv/host_amd64_isel.o \ |
| 58 | priv/host_arm_isel.o \ |
| 59 | priv/host_ppc_isel.o \ |
sewardj | 1e3830f | 2011-03-14 11:27:26 +0000 | [diff] [blame] | 60 | priv/host_s390_isel.o \ |
sewardj | d0e5fe7 | 2012-06-07 08:51:02 +0000 | [diff] [blame] | 61 | priv/host_mips_isel.o \ |
florian | 0af77fc | 2013-08-03 20:57:17 +0000 | [diff] [blame] | 62 | priv/host_generic_maddf.o \ |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 63 | priv/host_generic_regs.o \ |
| 64 | priv/host_generic_simd64.o \ |
sewardj | 69d98e3 | 2010-06-18 08:17:41 +0000 | [diff] [blame] | 65 | priv/host_generic_simd128.o \ |
florian | 0af77fc | 2013-08-03 20:57:17 +0000 | [diff] [blame] | 66 | priv/host_generic_simd256.o \ |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 67 | priv/host_generic_reg_alloc2.o \ |
| 68 | priv/guest_generic_x87.o \ |
| 69 | priv/guest_generic_bb_to_IR.o \ |
| 70 | priv/guest_x86_helpers.o \ |
| 71 | priv/guest_amd64_helpers.o \ |
| 72 | priv/guest_arm_helpers.o \ |
| 73 | priv/guest_ppc_helpers.o \ |
sewardj | 1e3830f | 2011-03-14 11:27:26 +0000 | [diff] [blame] | 74 | priv/guest_s390_helpers.o \ |
sewardj | d0e5fe7 | 2012-06-07 08:51:02 +0000 | [diff] [blame] | 75 | priv/guest_mips_helpers.o \ |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 76 | priv/guest_x86_toIR.o \ |
| 77 | priv/guest_amd64_toIR.o \ |
| 78 | priv/guest_arm_toIR.o \ |
sewardj | 1e3830f | 2011-03-14 11:27:26 +0000 | [diff] [blame] | 79 | priv/guest_ppc_toIR.o \ |
sewardj | d0e5fe7 | 2012-06-07 08:51:02 +0000 | [diff] [blame] | 80 | priv/guest_s390_toIR.o \ |
| 81 | priv/guest_mips_toIR.o |
sewardj | 5cf515f | 2004-06-26 20:10:35 +0000 | [diff] [blame] | 82 | |
sewardj | ac9af02 | 2004-07-05 01:15:34 +0000 | [diff] [blame] | 83 | PUB_INCLUDES = -Ipub |
| 84 | |
sewardj | c0ee2ed | 2004-07-27 10:29:41 +0000 | [diff] [blame] | 85 | # Do not add any priv/host-ARCH or priv/guest-ARCH directories to this |
| 86 | # list, as they contain duplicate file names (each host has a hdefs.h, |
| 87 | # for example). |
| 88 | PRIV_INCLUDES = -Ipriv |
sewardj | ac9af02 | 2004-07-05 01:15:34 +0000 | [diff] [blame] | 89 | |
| 90 | |
sewardj | 7937c5e | 2007-01-04 16:13:14 +0000 | [diff] [blame] | 91 | ifndef CC |
sewardj | 967de5c | 2005-08-29 12:07:41 +0000 | [diff] [blame] | 92 | CC = gcc |
| 93 | endif |
sewardj | 7937c5e | 2007-01-04 16:13:14 +0000 | [diff] [blame] | 94 | ifndef AR |
sewardj | 030fd36 | 2005-09-15 16:00:58 +0000 | [diff] [blame] | 95 | AR = ar |
| 96 | endif |
| 97 | |
sewardj | 2573c25 | 2005-11-23 03:54:48 +0000 | [diff] [blame] | 98 | # Put -g -O2 after any flags we inherit from V. -O2 vs -O |
| 99 | # makes a significant difference, at least with gcc4. |
sewardj | 48b279b | 2007-11-16 12:43:32 +0000 | [diff] [blame] | 100 | CCFLAGS = -Wall -Wmissing-prototypes -Wshadow \ |
sewardj | 59c0778 | 2005-01-21 21:23:07 +0000 | [diff] [blame] | 101 | -Wpointer-arith -Wbad-function-cast -Wcast-qual \ |
sewardj | 9a036bf | 2005-03-14 18:19:08 +0000 | [diff] [blame] | 102 | -Wcast-align -Wmissing-declarations \ |
sewardj | 9ee696a | 2011-06-16 11:34:25 +0000 | [diff] [blame] | 103 | -Wno-pointer-sign \ |
sewardj | c6f970f | 2012-04-02 21:54:49 +0000 | [diff] [blame] | 104 | $(EXTRA_CFLAGS) -g -O2 -fstrict-aliasing \ |
| 105 | \ |
| 106 | -O |
sewardj | 41f43bc | 2004-07-08 14:23:22 +0000 | [diff] [blame] | 107 | |
sewardj | e05c42c | 2004-07-08 20:25:10 +0000 | [diff] [blame] | 108 | #CC = icc |
sewardj | 52ff4cc | 2005-03-26 20:33:38 +0000 | [diff] [blame] | 109 | #CCFLAGS = -g -Wall -wd981 -wd279 -wd1287 -wd869 -wd111 -wd188 -wd186 |
sewardj | 41f43bc | 2004-07-08 14:23:22 +0000 | [diff] [blame] | 110 | # 981: operands are evaluated in unspecified order |
| 111 | # 279: controlling expression is constant |
| 112 | # 1287: invalid attribute for parameter |
| 113 | # 869: parameter "..." was never referenced |
sewardj | 41f43bc | 2004-07-08 14:23:22 +0000 | [diff] [blame] | 114 | # 111: statement is unreachable |
sewardj | b7a0a11 | 2005-02-01 16:06:14 +0000 | [diff] [blame] | 115 | # 188: enumerated type mixed with another type |
sewardj | e05c42c | 2004-07-08 20:25:10 +0000 | [diff] [blame] | 116 | # (the above are for icc 8.0 -- 8.0.0.55 I think) |
sewardj | 52ff4cc | 2005-03-26 20:33:38 +0000 | [diff] [blame] | 117 | # 186: pointless comparison of unsigned integer with zero |
sewardj | ac9af02 | 2004-07-05 01:15:34 +0000 | [diff] [blame] | 118 | |
sewardj | 88c5796 | 2005-11-11 18:37:10 +0000 | [diff] [blame] | 119 | # kludge: stops V biarch builds screwing up at -j 2 or above |
| 120 | # The Right fix is to autoconf/automake-ise vex. |
| 121 | .NOTPARALLEL: |
sewardj | b7a0a11 | 2005-02-01 16:06:14 +0000 | [diff] [blame] | 122 | |
sewardj | b5d0f3d | 2004-12-31 17:21:28 +0000 | [diff] [blame] | 123 | all: vex |
sewardj | bf31abd | 2004-07-25 00:07:35 +0000 | [diff] [blame] | 124 | |
sewardj | 030fd36 | 2005-09-15 16:00:58 +0000 | [diff] [blame] | 125 | # Empty, needed for Valgrind |
| 126 | install: |
| 127 | |
sewardj | 6c299f3 | 2009-12-31 18:00:12 +0000 | [diff] [blame] | 128 | scratch: clean all |
cerion | 9c47d81 | 2005-02-16 09:08:23 +0000 | [diff] [blame] | 129 | |
sewardj | c0ee2ed | 2004-07-27 10:29:41 +0000 | [diff] [blame] | 130 | vex: libvex.a test_main.o |
sewardj | 80424fe | 2004-07-27 10:43:34 +0000 | [diff] [blame] | 131 | $(CC) $(CCFLAGS) -o vex test_main.o libvex.a |
sewardj | ac9af02 | 2004-07-05 01:15:34 +0000 | [diff] [blame] | 132 | |
sewardj | 887a11a | 2004-07-05 17:26:47 +0000 | [diff] [blame] | 133 | libvex.a: $(LIB_OBJS) |
| 134 | rm -f libvex.a |
sewardj | 16a5960 | 2009-06-09 23:00:49 +0000 | [diff] [blame] | 135 | $(AR) crus libvex.a $(LIB_OBJS) |
sewardj | ac9af02 | 2004-07-05 01:15:34 +0000 | [diff] [blame] | 136 | |
sewardj | a1eb31c | 2005-11-07 14:59:13 +0000 | [diff] [blame] | 137 | |
sewardj | 4771230 | 2009-02-22 23:38:55 +0000 | [diff] [blame] | 138 | # The idea with these TAG-s is to mark the flavour of libvex.a |
sewardj | a1eb31c | 2005-11-07 14:59:13 +0000 | [diff] [blame] | 139 | # most recently built, so if the same target is re-requested, we |
| 140 | # don't rebuild everything, but if a different one is requested |
| 141 | # then we scrub everything and start over. |
| 142 | |
sewardj | 4771230 | 2009-02-22 23:38:55 +0000 | [diff] [blame] | 143 | libvex-x86-linux.a: TAG-x86-linux libvex.a |
| 144 | mv -f libvex.a libvex-x86-linux.a |
| 145 | TAG-x86-linux: |
| 146 | if [ ! -f TAG-x86-linux ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi |
| 147 | touch TAG-x86-linux |
sewardj | a1eb31c | 2005-11-07 14:59:13 +0000 | [diff] [blame] | 148 | |
sewardj | 4771230 | 2009-02-22 23:38:55 +0000 | [diff] [blame] | 149 | libvex-amd64-linux.a: TAG-amd64-linux libvex.a |
| 150 | mv -f libvex.a libvex-amd64-linux.a |
| 151 | TAG-amd64-linux: |
| 152 | if [ ! -f TAG-amd64-linux ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi |
| 153 | touch TAG-amd64-linux |
sewardj | a1eb31c | 2005-11-07 14:59:13 +0000 | [diff] [blame] | 154 | |
sewardj | 4771230 | 2009-02-22 23:38:55 +0000 | [diff] [blame] | 155 | libvex-ppc32-linux.a: TAG-ppc32-linux libvex.a |
| 156 | mv -f libvex.a libvex-ppc32-linux.a |
| 157 | TAG-ppc32-linux: |
| 158 | if [ ! -f TAG-ppc32-linux ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi |
| 159 | touch TAG-ppc32-linux |
sewardj | d660d41 | 2008-12-03 21:29:59 +0000 | [diff] [blame] | 160 | |
sewardj | 4771230 | 2009-02-22 23:38:55 +0000 | [diff] [blame] | 161 | libvex-ppc64-linux.a: TAG-ppc64-linux libvex.a |
| 162 | mv -f libvex.a libvex-ppc64-linux.a |
| 163 | TAG-ppc64-linux: |
| 164 | if [ ! -f TAG-ppc64-linux ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi |
| 165 | touch TAG-ppc64-linux |
sewardj | d660d41 | 2008-12-03 21:29:59 +0000 | [diff] [blame] | 166 | |
sewardj | d0e5fe7 | 2012-06-07 08:51:02 +0000 | [diff] [blame] | 167 | libvex-mips-linux.a: TAG-mips32-linux libvex.a |
| 168 | mv -f libvex.a libvex-mips32-linux.a |
| 169 | TAG-mips-linux: |
| 170 | if [ ! -f TAG-mips32-linux ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi |
| 171 | touch TAG-mips32-linux |
| 172 | |
sewardj | 4771230 | 2009-02-22 23:38:55 +0000 | [diff] [blame] | 173 | libvex-ppc32-aix5.a: TAG-ppc32-aix5 libvex.a |
| 174 | mv -f libvex.a libvex-ppc32-aix5.a |
| 175 | TAG-ppc32-aix5: |
| 176 | if [ ! -f TAG-ppc32-aix5 ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi |
| 177 | touch TAG-ppc32-aix5 |
sewardj | a1eb31c | 2005-11-07 14:59:13 +0000 | [diff] [blame] | 178 | |
sewardj | 4771230 | 2009-02-22 23:38:55 +0000 | [diff] [blame] | 179 | libvex-ppc64-aix5.a: TAG-ppc64-aix5 libvex.a |
| 180 | mv -f libvex.a libvex-ppc64-aix5.a |
| 181 | TAG-ppc64-aix5: |
| 182 | if [ ! -f TAG-ppc64-aix5 ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi |
| 183 | touch TAG-ppc64-aix5 |
cerion | d953ebb | 2005-11-29 13:27:20 +0000 | [diff] [blame] | 184 | |
sewardj | 4771230 | 2009-02-22 23:38:55 +0000 | [diff] [blame] | 185 | libvex-x86-darwin.a: TAG-x86-darwin libvex.a |
| 186 | mv -f libvex.a libvex-x86-darwin.a |
| 187 | TAG-x86-darwin: |
| 188 | if [ ! -f TAG-x86-darwin ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi |
| 189 | touch TAG-x86-darwin |
sewardj | aca070a | 2006-10-17 00:28:22 +0000 | [diff] [blame] | 190 | |
sewardj | 4771230 | 2009-02-22 23:38:55 +0000 | [diff] [blame] | 191 | libvex-amd64-darwin.a: TAG-amd64-darwin libvex.a |
| 192 | mv -f libvex.a libvex-amd64-darwin.a |
| 193 | TAG-amd64-darwin: |
| 194 | if [ ! -f TAG-amd64-darwin ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi |
| 195 | touch TAG-amd64-darwin |
sewardj | aca070a | 2006-10-17 00:28:22 +0000 | [diff] [blame] | 196 | |
sewardj | a1eb31c | 2005-11-07 14:59:13 +0000 | [diff] [blame] | 197 | |
sewardj | 5cf515f | 2004-06-26 20:10:35 +0000 | [diff] [blame] | 198 | clean: |
sewardj | 4771230 | 2009-02-22 23:38:55 +0000 | [diff] [blame] | 199 | rm -f $(LIB_OBJS) *.a vex test_main.o TAG-* \ |
sewardj | ba69ffb | 2008-12-17 22:37:49 +0000 | [diff] [blame] | 200 | pub/libvex_guest_offsets.h \ |
| 201 | auxprogs/genoffsets.s |
sewardj | ce605f9 | 2004-07-05 14:39:15 +0000 | [diff] [blame] | 202 | |
sewardj | 6c299f3 | 2009-12-31 18:00:12 +0000 | [diff] [blame] | 203 | minidist: |
sewardj | eecde93 | 2005-01-05 19:11:09 +0000 | [diff] [blame] | 204 | rm -f vex--minidist-2005MMDD.tar |
| 205 | tar cf vex--minidist-2005MMDD.tar $(PUB_HEADERS) $(PRIV_HEADERS) \ |
sewardj | eecde93 | 2005-01-05 19:11:09 +0000 | [diff] [blame] | 206 | test_main.c test_main.h \ |
| 207 | Makefile \ |
| 208 | `echo $(LIB_OBJS) | sed "s/\.o/\.c/g"` |
| 209 | @echo |
sewardj | 6c299f3 | 2009-12-31 18:00:12 +0000 | [diff] [blame] | 210 | @echo minidist done, size follows: |
sewardj | eecde93 | 2005-01-05 19:11:09 +0000 | [diff] [blame] | 211 | @ls -l vex--minidist-2005MMDD.tar |
sewardj | eecde93 | 2005-01-05 19:11:09 +0000 | [diff] [blame] | 212 | @echo |
| 213 | |
sewardj | ba69ffb | 2008-12-17 22:37:49 +0000 | [diff] [blame] | 214 | # This is very uggerly. Need to sed out both "xyzzyN" and |
| 215 | # "xyzzy$N" since gcc on different targets emits the constants |
| 216 | # differently -- with a leading $ on x86/amd64 but none on ppc32/64. |
sewardj | 2825ac4 | 2005-03-08 16:43:27 +0000 | [diff] [blame] | 217 | pub/libvex_guest_offsets.h: |
sewardj | ba69ffb | 2008-12-17 22:37:49 +0000 | [diff] [blame] | 218 | rm -f auxprogs/genoffsets.s |
sewardj | d2dc14a | 2008-12-19 09:32:25 +0000 | [diff] [blame] | 219 | $(CC) $(CCFLAGS) -O -S -o auxprogs/genoffsets.s \ |
sewardj | ba69ffb | 2008-12-17 22:37:49 +0000 | [diff] [blame] | 220 | auxprogs/genoffsets.c |
florian | 623d65b | 2012-04-22 19:25:39 +0000 | [diff] [blame] | 221 | grep xyzzy auxprogs/genoffsets.s | grep "^#define" \ |
sewardj | 1e3830f | 2011-03-14 11:27:26 +0000 | [diff] [blame] | 222 | | sed "s/xyzzy\\$$//g" \ |
| 223 | | sed "s/xyzzy#//g" \ |
| 224 | | sed "s/xyzzy//g" \ |
sewardj | ba69ffb | 2008-12-17 22:37:49 +0000 | [diff] [blame] | 225 | > pub/libvex_guest_offsets.h |
| 226 | rm -f auxprogs/genoffsets.s |
sewardj | 2825ac4 | 2005-03-08 16:43:27 +0000 | [diff] [blame] | 227 | |
sewardj | ce605f9 | 2004-07-05 14:39:15 +0000 | [diff] [blame] | 228 | |
sewardj | 35421a3 | 2004-07-05 13:12:34 +0000 | [diff] [blame] | 229 | ALL_HEADERS = $(PUB_HEADERS) $(PRIV_HEADERS) |
| 230 | ALL_INCLUDES = $(PUB_INCLUDES) $(PRIV_INCLUDES) |
| 231 | |
sewardj | abe017e | 2004-10-29 23:42:36 +0000 | [diff] [blame] | 232 | test_main.o: $(PUB_HEADERS) test_main.c test_main.h |
sewardj | ce605f9 | 2004-07-05 14:39:15 +0000 | [diff] [blame] | 233 | $(CC) $(CCFLAGS) $(PUB_INCLUDES) -o test_main.o \ |
| 234 | -c test_main.c |
| 235 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 236 | priv/ir_defs.o: $(ALL_HEADERS) priv/ir_defs.c |
| 237 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/ir_defs.o \ |
| 238 | -c priv/ir_defs.c |
sewardj | 35421a3 | 2004-07-05 13:12:34 +0000 | [diff] [blame] | 239 | |
florian | 4180af3 | 2012-12-24 00:25:34 +0000 | [diff] [blame] | 240 | priv/ir_inject.o: $(ALL_HEADERS) priv/ir_inject.c |
| 241 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/ir_inject.o \ |
| 242 | -c priv/ir_inject.c |
| 243 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 244 | priv/ir_match.o: $(ALL_HEADERS) priv/ir_match.c |
| 245 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/ir_match.o \ |
| 246 | -c priv/ir_match.c |
sewardj | 69933ac | 2004-12-20 04:12:14 +0000 | [diff] [blame] | 247 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 248 | priv/ir_opt.o: $(ALL_HEADERS) priv/ir_opt.c |
| 249 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/ir_opt.o \ |
| 250 | -c priv/ir_opt.c |
sewardj | a1a370f | 2004-08-17 13:31:55 +0000 | [diff] [blame] | 251 | |
sewardj | 6c299f3 | 2009-12-31 18:00:12 +0000 | [diff] [blame] | 252 | priv/main_main.o: $(ALL_HEADERS) priv/main_main.c |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 253 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/main_main.o \ |
| 254 | -c priv/main_main.c |
sewardj | 35421a3 | 2004-07-05 13:12:34 +0000 | [diff] [blame] | 255 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 256 | priv/main_globals.o: $(ALL_HEADERS) priv/main_globals.c |
| 257 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/main_globals.o \ |
| 258 | -c priv/main_globals.c |
sewardj | 35421a3 | 2004-07-05 13:12:34 +0000 | [diff] [blame] | 259 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 260 | priv/main_util.o: $(ALL_HEADERS) priv/main_util.c |
| 261 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/main_util.o \ |
| 262 | -c priv/main_util.c |
sewardj | 35421a3 | 2004-07-05 13:12:34 +0000 | [diff] [blame] | 263 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 264 | priv/host_x86_defs.o: $(ALL_HEADERS) priv/host_x86_defs.c |
| 265 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_x86_defs.o \ |
| 266 | -c priv/host_x86_defs.c |
sewardj | 35421a3 | 2004-07-05 13:12:34 +0000 | [diff] [blame] | 267 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 268 | priv/host_amd64_defs.o: $(ALL_HEADERS) priv/host_amd64_defs.c |
| 269 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_amd64_defs.o \ |
| 270 | -c priv/host_amd64_defs.c |
sewardj | b7a0a11 | 2005-02-01 16:06:14 +0000 | [diff] [blame] | 271 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 272 | priv/host_arm_defs.o: $(ALL_HEADERS) priv/host_arm_defs.c |
| 273 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_arm_defs.o \ |
| 274 | -c priv/host_arm_defs.c |
cerion | 82edbb3 | 2004-12-16 14:06:34 +0000 | [diff] [blame] | 275 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 276 | priv/host_ppc_defs.o: $(ALL_HEADERS) priv/host_ppc_defs.c |
| 277 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_ppc_defs.o \ |
| 278 | -c priv/host_ppc_defs.c |
cerion | bcf8c3e | 2005-02-04 16:17:07 +0000 | [diff] [blame] | 279 | |
sewardj | 1e3830f | 2011-03-14 11:27:26 +0000 | [diff] [blame] | 280 | priv/host_s390_defs.o: $(ALL_HEADERS) priv/host_s390_defs.c |
| 281 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_s390_defs.o \ |
| 282 | -c priv/host_s390_defs.c |
| 283 | |
sewardj | d0e5fe7 | 2012-06-07 08:51:02 +0000 | [diff] [blame] | 284 | priv/host_mips_defs.o: $(ALL_HEADERS) priv/host_mips_defs.c |
| 285 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_mips_defs.o \ |
| 286 | -c priv/host_mips_defs.c |
| 287 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 288 | priv/host_x86_isel.o: $(ALL_HEADERS) priv/host_x86_isel.c |
| 289 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_x86_isel.o \ |
| 290 | -c priv/host_x86_isel.c |
sewardj | 35421a3 | 2004-07-05 13:12:34 +0000 | [diff] [blame] | 291 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 292 | priv/host_amd64_isel.o: $(ALL_HEADERS) priv/host_amd64_isel.c |
| 293 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_amd64_isel.o \ |
| 294 | -c priv/host_amd64_isel.c |
sewardj | b7a0a11 | 2005-02-01 16:06:14 +0000 | [diff] [blame] | 295 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 296 | priv/host_arm_isel.o: $(ALL_HEADERS) priv/host_arm_isel.c |
| 297 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_arm_isel.o \ |
| 298 | -c priv/host_arm_isel.c |
cerion | cee3031 | 2004-12-17 20:30:21 +0000 | [diff] [blame] | 299 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 300 | priv/host_ppc_isel.o: $(ALL_HEADERS) priv/host_ppc_isel.c |
| 301 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_ppc_isel.o \ |
| 302 | -c priv/host_ppc_isel.c |
cerion | bcf8c3e | 2005-02-04 16:17:07 +0000 | [diff] [blame] | 303 | |
sewardj | 1e3830f | 2011-03-14 11:27:26 +0000 | [diff] [blame] | 304 | priv/host_s390_isel.o: $(ALL_HEADERS) priv/host_s390_isel.c |
| 305 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_s390_isel.o \ |
| 306 | -c priv/host_s390_isel.c |
| 307 | |
sewardj | d0e5fe7 | 2012-06-07 08:51:02 +0000 | [diff] [blame] | 308 | priv/host_mips_isel.o: $(ALL_HEADERS) priv/host_mips_isel.c |
| 309 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_mips_isel.o \ |
| 310 | -c priv/host_mips_isel.c |
| 311 | |
florian | 0af77fc | 2013-08-03 20:57:17 +0000 | [diff] [blame] | 312 | priv/host_generic_maddf.o: $(ALL_HEADERS) priv/host_generic_maddf.c |
| 313 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_generic_maddf.o \ |
| 314 | -c priv/host_generic_maddf.c |
| 315 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 316 | priv/host_generic_regs.o: $(ALL_HEADERS) priv/host_generic_regs.c |
| 317 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_generic_regs.o \ |
| 318 | -c priv/host_generic_regs.c |
sewardj | 35421a3 | 2004-07-05 13:12:34 +0000 | [diff] [blame] | 319 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 320 | priv/host_generic_simd64.o: $(ALL_HEADERS) priv/host_generic_simd64.c |
| 321 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_generic_simd64.o \ |
| 322 | -c priv/host_generic_simd64.c |
sewardj | 38a3f86 | 2005-01-13 15:06:51 +0000 | [diff] [blame] | 323 | |
sewardj | 69d98e3 | 2010-06-18 08:17:41 +0000 | [diff] [blame] | 324 | priv/host_generic_simd128.o: $(ALL_HEADERS) priv/host_generic_simd128.c |
| 325 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_generic_simd128.o \ |
| 326 | -c priv/host_generic_simd128.c |
| 327 | |
florian | 0af77fc | 2013-08-03 20:57:17 +0000 | [diff] [blame] | 328 | priv/host_generic_simd256.o: $(ALL_HEADERS) priv/host_generic_simd256.c |
| 329 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_generic_simd256.o \ |
| 330 | -c priv/host_generic_simd256.c |
| 331 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 332 | priv/host_generic_reg_alloc2.o: $(ALL_HEADERS) priv/host_generic_reg_alloc2.c |
| 333 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_generic_reg_alloc2.o \ |
| 334 | -c priv/host_generic_reg_alloc2.c |
sewardj | 432b1c9 | 2004-10-30 13:00:55 +0000 | [diff] [blame] | 335 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 336 | priv/guest_x86_toIR.o: $(ALL_HEADERS) priv/guest_x86_toIR.c |
| 337 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_x86_toIR.o \ |
| 338 | -c priv/guest_x86_toIR.c |
sewardj | 36ca513 | 2004-07-24 13:12:23 +0000 | [diff] [blame] | 339 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 340 | priv/guest_generic_x87.o: $(ALL_HEADERS) priv/guest_generic_x87.c |
| 341 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_generic_x87.o \ |
| 342 | -c priv/guest_generic_x87.c |
sewardj | 52ff4cc | 2005-03-26 20:33:38 +0000 | [diff] [blame] | 343 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 344 | priv/guest_generic_bb_to_IR.o: $(ALL_HEADERS) priv/guest_generic_bb_to_IR.c |
| 345 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_generic_bb_to_IR.o \ |
| 346 | -c priv/guest_generic_bb_to_IR.c |
sewardj | 9e6491a | 2005-07-02 19:24:10 +0000 | [diff] [blame] | 347 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 348 | priv/guest_x86_helpers.o: $(ALL_HEADERS) priv/guest_x86_helpers.c |
| 349 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_x86_helpers.o \ |
| 350 | -c priv/guest_x86_helpers.c |
sewardj | 33dba64 | 2004-11-25 13:07:51 +0000 | [diff] [blame] | 351 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 352 | priv/guest_amd64_helpers.o: $(ALL_HEADERS) priv/guest_amd64_helpers.c |
| 353 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_amd64_helpers.o \ |
| 354 | -c priv/guest_amd64_helpers.c |
njn | 9c6acb0 | 2004-11-30 15:56:47 +0000 | [diff] [blame] | 355 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 356 | priv/guest_amd64_toIR.o: $(ALL_HEADERS) priv/guest_amd64_toIR.c |
| 357 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_amd64_toIR.o \ |
| 358 | -c priv/guest_amd64_toIR.c |
sewardj | d20c885 | 2005-01-20 20:04:07 +0000 | [diff] [blame] | 359 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 360 | priv/guest_arm_helpers.o: $(ALL_HEADERS) priv/guest_arm_helpers.c |
| 361 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_arm_helpers.o \ |
| 362 | -c priv/guest_arm_helpers.c |
sewardj | 33dba64 | 2004-11-25 13:07:51 +0000 | [diff] [blame] | 363 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 364 | priv/guest_arm_toIR.o: $(ALL_HEADERS) priv/guest_arm_toIR.c |
| 365 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_arm_toIR.o \ |
| 366 | -c priv/guest_arm_toIR.c |
cerion | 896a137 | 2005-01-25 12:24:25 +0000 | [diff] [blame] | 367 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 368 | priv/guest_ppc_helpers.o: $(ALL_HEADERS) priv/guest_ppc_helpers.c |
| 369 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_ppc_helpers.o \ |
| 370 | -c priv/guest_ppc_helpers.c |
cerion | 896a137 | 2005-01-25 12:24:25 +0000 | [diff] [blame] | 371 | |
sewardj | 1e3830f | 2011-03-14 11:27:26 +0000 | [diff] [blame] | 372 | priv/guest_s390_helpers.o: $(ALL_HEADERS) priv/guest_s390_helpers.c |
| 373 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_s390_helpers.o \ |
| 374 | -c priv/guest_s390_helpers.c |
| 375 | |
sewardj | 32bf791 | 2009-09-06 20:45:21 +0000 | [diff] [blame] | 376 | priv/guest_ppc_toIR.o: $(ALL_HEADERS) priv/guest_ppc_toIR.c |
| 377 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_ppc_toIR.o \ |
| 378 | -c priv/guest_ppc_toIR.c |
sewardj | 1e3830f | 2011-03-14 11:27:26 +0000 | [diff] [blame] | 379 | |
| 380 | priv/guest_s390_toIR.o: $(ALL_HEADERS) priv/guest_s390_toIR.c |
| 381 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_s390_toIR.o \ |
| 382 | -c priv/guest_s390_toIR.c |
| 383 | |
florian | 4180af3 | 2012-12-24 00:25:34 +0000 | [diff] [blame] | 384 | priv/s390_disasm.o: $(ALL_HEADERS) priv/s390_disasm.c |
| 385 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/s390_disasm.o \ |
| 386 | -c priv/s390_disasm.c |
sewardj | d0e5fe7 | 2012-06-07 08:51:02 +0000 | [diff] [blame] | 387 | |
| 388 | priv/guest_mips_helpers.o: $(ALL_HEADERS) priv/guest_mips_helpers.c |
| 389 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_mips_helpers.o \ |
| 390 | -c priv/guest_mips_helpers.c |
| 391 | |
| 392 | priv/guest_mips_toIR.o: $(ALL_HEADERS) priv/guest_mips_toIR.c |
| 393 | $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_mips_toIR.o \ |
| 394 | -c priv/guest_mips_toIR.c |