blob: 133319ddd7b8f963e2ecd360c7d7f61955592079 [file] [log] [blame]
sewardj20e56c12004-03-31 22:08:37 +00001
sewardj887a11a2004-07-05 17:26:47 +00002PUB_HEADERS = pub/libvex_basictypes.h \
3 pub/libvex_ir.h \
sewardj7d0960d2004-09-06 23:22:55 +00004 pub/libvex.h \
sewardjc4278f42004-11-26 13:18:19 +00005 pub/libvex_trc_values.h \
florian4180af32012-12-24 00:25:34 +00006 pub/libvex_emnote.h \
sewardjd584f8f2004-11-22 16:02:34 +00007 pub/libvex_guest_x86.h \
sewardj33dba642004-11-25 13:07:51 +00008 pub/libvex_guest_amd64.h \
cerion896a1372005-01-25 12:24:25 +00009 pub/libvex_guest_arm.h \
sewardj2825ac42005-03-08 16:43:27 +000010 pub/libvex_guest_ppc32.h \
ceriond0eae2d2005-12-23 11:43:01 +000011 pub/libvex_guest_ppc64.h \
sewardj1e3830f2011-03-14 11:27:26 +000012 pub/libvex_guest_s390x.h \
13 pub/libvex_s390x_common.h \
florian4180af32012-12-24 00:25:34 +000014 pub/libvex_guest_mips32.h \
sewardj2825ac42005-03-08 16:43:27 +000015 pub/libvex_guest_offsets.h
sewardj5cf515f2004-06-26 20:10:35 +000016
sewardj32bf7912009-09-06 20:45:21 +000017PRIV_HEADERS = priv/host_x86_defs.h \
18 priv/host_amd64_defs.h \
19 priv/host_arm_defs.h \
20 priv/host_ppc_defs.h \
sewardj1e3830f2011-03-14 11:27:26 +000021 priv/host_s390_defs.h \
sewardjd0e5fe72012-06-07 08:51:02 +000022 priv/host_mips_defs.h \
florian0af77fc2013-08-03 20:57:17 +000023 priv/host_generic_maddf.h \
sewardj32bf7912009-09-06 20:45:21 +000024 priv/host_generic_regs.h \
25 priv/host_generic_simd64.h \
sewardj69d98e32010-06-18 08:17:41 +000026 priv/host_generic_simd128.h \
florian0af77fc2013-08-03 20:57:17 +000027 priv/host_generic_simd256.h \
sewardj32bf7912009-09-06 20:45:21 +000028 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 \
sewardjd0e5fe72012-06-07 08:51:02 +000036 priv/guest_mips_defs.h \
florian4180af32012-12-24 00:25:34 +000037 priv/s390_disasm.h \
38 priv/s390_defs.h \
sewardj32bf7912009-09-06 20:45:21 +000039 priv/ir_match.h \
40 priv/ir_opt.h
sewardj5cf515f2004-06-26 20:10:35 +000041
sewardj32bf7912009-09-06 20:45:21 +000042LIB_OBJS = priv/ir_defs.o \
43 priv/ir_match.o \
44 priv/ir_opt.o \
florian4180af32012-12-24 00:25:34 +000045 priv/ir_inject.o \
sewardj32bf7912009-09-06 20:45:21 +000046 priv/main_main.o \
47 priv/main_globals.o \
48 priv/main_util.o \
florian4180af32012-12-24 00:25:34 +000049 priv/s390_disasm.o \
sewardj32bf7912009-09-06 20:45:21 +000050 priv/host_x86_defs.o \
51 priv/host_amd64_defs.o \
52 priv/host_arm_defs.o \
53 priv/host_ppc_defs.o \
sewardj1e3830f2011-03-14 11:27:26 +000054 priv/host_s390_defs.o \
sewardjd0e5fe72012-06-07 08:51:02 +000055 priv/host_mips_defs.o \
sewardj32bf7912009-09-06 20:45:21 +000056 priv/host_x86_isel.o \
57 priv/host_amd64_isel.o \
58 priv/host_arm_isel.o \
59 priv/host_ppc_isel.o \
sewardj1e3830f2011-03-14 11:27:26 +000060 priv/host_s390_isel.o \
sewardjd0e5fe72012-06-07 08:51:02 +000061 priv/host_mips_isel.o \
florian0af77fc2013-08-03 20:57:17 +000062 priv/host_generic_maddf.o \
sewardj32bf7912009-09-06 20:45:21 +000063 priv/host_generic_regs.o \
64 priv/host_generic_simd64.o \
sewardj69d98e32010-06-18 08:17:41 +000065 priv/host_generic_simd128.o \
florian0af77fc2013-08-03 20:57:17 +000066 priv/host_generic_simd256.o \
sewardj32bf7912009-09-06 20:45:21 +000067 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 \
sewardj1e3830f2011-03-14 11:27:26 +000074 priv/guest_s390_helpers.o \
sewardjd0e5fe72012-06-07 08:51:02 +000075 priv/guest_mips_helpers.o \
sewardj32bf7912009-09-06 20:45:21 +000076 priv/guest_x86_toIR.o \
77 priv/guest_amd64_toIR.o \
78 priv/guest_arm_toIR.o \
sewardj1e3830f2011-03-14 11:27:26 +000079 priv/guest_ppc_toIR.o \
sewardjd0e5fe72012-06-07 08:51:02 +000080 priv/guest_s390_toIR.o \
81 priv/guest_mips_toIR.o
sewardj5cf515f2004-06-26 20:10:35 +000082
sewardjac9af022004-07-05 01:15:34 +000083PUB_INCLUDES = -Ipub
84
sewardjc0ee2ed2004-07-27 10:29:41 +000085# 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).
88PRIV_INCLUDES = -Ipriv
sewardjac9af022004-07-05 01:15:34 +000089
90
sewardj7937c5e2007-01-04 16:13:14 +000091ifndef CC
sewardj967de5c2005-08-29 12:07:41 +000092 CC = gcc
93endif
sewardj7937c5e2007-01-04 16:13:14 +000094ifndef AR
sewardj030fd362005-09-15 16:00:58 +000095 AR = ar
96endif
97
sewardj2573c252005-11-23 03:54:48 +000098# Put -g -O2 after any flags we inherit from V. -O2 vs -O
99# makes a significant difference, at least with gcc4.
sewardj48b279b2007-11-16 12:43:32 +0000100CCFLAGS = -Wall -Wmissing-prototypes -Wshadow \
sewardj59c07782005-01-21 21:23:07 +0000101 -Wpointer-arith -Wbad-function-cast -Wcast-qual \
sewardj9a036bf2005-03-14 18:19:08 +0000102 -Wcast-align -Wmissing-declarations \
sewardj9ee696a2011-06-16 11:34:25 +0000103 -Wno-pointer-sign \
sewardjc6f970f2012-04-02 21:54:49 +0000104 $(EXTRA_CFLAGS) -g -O2 -fstrict-aliasing \
105 \
106 -O
sewardj41f43bc2004-07-08 14:23:22 +0000107
sewardje05c42c2004-07-08 20:25:10 +0000108#CC = icc
sewardj52ff4cc2005-03-26 20:33:38 +0000109#CCFLAGS = -g -Wall -wd981 -wd279 -wd1287 -wd869 -wd111 -wd188 -wd186
sewardj41f43bc2004-07-08 14:23:22 +0000110# 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
sewardj41f43bc2004-07-08 14:23:22 +0000114# 111: statement is unreachable
sewardjb7a0a112005-02-01 16:06:14 +0000115# 188: enumerated type mixed with another type
sewardje05c42c2004-07-08 20:25:10 +0000116# (the above are for icc 8.0 -- 8.0.0.55 I think)
sewardj52ff4cc2005-03-26 20:33:38 +0000117# 186: pointless comparison of unsigned integer with zero
sewardjac9af022004-07-05 01:15:34 +0000118
sewardj88c57962005-11-11 18:37:10 +0000119# kludge: stops V biarch builds screwing up at -j 2 or above
120# The Right fix is to autoconf/automake-ise vex.
121.NOTPARALLEL:
sewardjb7a0a112005-02-01 16:06:14 +0000122
sewardjb5d0f3d2004-12-31 17:21:28 +0000123all: vex
sewardjbf31abd2004-07-25 00:07:35 +0000124
sewardj030fd362005-09-15 16:00:58 +0000125# Empty, needed for Valgrind
126install:
127
sewardj6c299f32009-12-31 18:00:12 +0000128scratch: clean all
cerion9c47d812005-02-16 09:08:23 +0000129
sewardjc0ee2ed2004-07-27 10:29:41 +0000130vex: libvex.a test_main.o
sewardj80424fe2004-07-27 10:43:34 +0000131 $(CC) $(CCFLAGS) -o vex test_main.o libvex.a
sewardjac9af022004-07-05 01:15:34 +0000132
sewardj887a11a2004-07-05 17:26:47 +0000133libvex.a: $(LIB_OBJS)
134 rm -f libvex.a
sewardj16a59602009-06-09 23:00:49 +0000135 $(AR) crus libvex.a $(LIB_OBJS)
sewardjac9af022004-07-05 01:15:34 +0000136
sewardja1eb31c2005-11-07 14:59:13 +0000137
sewardj47712302009-02-22 23:38:55 +0000138# The idea with these TAG-s is to mark the flavour of libvex.a
sewardja1eb31c2005-11-07 14:59:13 +0000139# 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
sewardj47712302009-02-22 23:38:55 +0000143libvex-x86-linux.a: TAG-x86-linux libvex.a
144 mv -f libvex.a libvex-x86-linux.a
145TAG-x86-linux:
146 if [ ! -f TAG-x86-linux ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi
147 touch TAG-x86-linux
sewardja1eb31c2005-11-07 14:59:13 +0000148
sewardj47712302009-02-22 23:38:55 +0000149libvex-amd64-linux.a: TAG-amd64-linux libvex.a
150 mv -f libvex.a libvex-amd64-linux.a
151TAG-amd64-linux:
152 if [ ! -f TAG-amd64-linux ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi
153 touch TAG-amd64-linux
sewardja1eb31c2005-11-07 14:59:13 +0000154
sewardj47712302009-02-22 23:38:55 +0000155libvex-ppc32-linux.a: TAG-ppc32-linux libvex.a
156 mv -f libvex.a libvex-ppc32-linux.a
157TAG-ppc32-linux:
158 if [ ! -f TAG-ppc32-linux ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi
159 touch TAG-ppc32-linux
sewardjd660d412008-12-03 21:29:59 +0000160
sewardj47712302009-02-22 23:38:55 +0000161libvex-ppc64-linux.a: TAG-ppc64-linux libvex.a
162 mv -f libvex.a libvex-ppc64-linux.a
163TAG-ppc64-linux:
164 if [ ! -f TAG-ppc64-linux ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi
165 touch TAG-ppc64-linux
sewardjd660d412008-12-03 21:29:59 +0000166
sewardjd0e5fe72012-06-07 08:51:02 +0000167libvex-mips-linux.a: TAG-mips32-linux libvex.a
168 mv -f libvex.a libvex-mips32-linux.a
169TAG-mips-linux:
170 if [ ! -f TAG-mips32-linux ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi
171 touch TAG-mips32-linux
172
sewardj47712302009-02-22 23:38:55 +0000173libvex-ppc32-aix5.a: TAG-ppc32-aix5 libvex.a
174 mv -f libvex.a libvex-ppc32-aix5.a
175TAG-ppc32-aix5:
176 if [ ! -f TAG-ppc32-aix5 ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi
177 touch TAG-ppc32-aix5
sewardja1eb31c2005-11-07 14:59:13 +0000178
sewardj47712302009-02-22 23:38:55 +0000179libvex-ppc64-aix5.a: TAG-ppc64-aix5 libvex.a
180 mv -f libvex.a libvex-ppc64-aix5.a
181TAG-ppc64-aix5:
182 if [ ! -f TAG-ppc64-aix5 ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi
183 touch TAG-ppc64-aix5
ceriond953ebb2005-11-29 13:27:20 +0000184
sewardj47712302009-02-22 23:38:55 +0000185libvex-x86-darwin.a: TAG-x86-darwin libvex.a
186 mv -f libvex.a libvex-x86-darwin.a
187TAG-x86-darwin:
188 if [ ! -f TAG-x86-darwin ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi
189 touch TAG-x86-darwin
sewardjaca070a2006-10-17 00:28:22 +0000190
sewardj47712302009-02-22 23:38:55 +0000191libvex-amd64-darwin.a: TAG-amd64-darwin libvex.a
192 mv -f libvex.a libvex-amd64-darwin.a
193TAG-amd64-darwin:
194 if [ ! -f TAG-amd64-darwin ] ; then rm -f $(LIB_OBJS) TAG-* libvex.a ; fi
195 touch TAG-amd64-darwin
sewardjaca070a2006-10-17 00:28:22 +0000196
sewardja1eb31c2005-11-07 14:59:13 +0000197
sewardj5cf515f2004-06-26 20:10:35 +0000198clean:
sewardj47712302009-02-22 23:38:55 +0000199 rm -f $(LIB_OBJS) *.a vex test_main.o TAG-* \
sewardjba69ffb2008-12-17 22:37:49 +0000200 pub/libvex_guest_offsets.h \
201 auxprogs/genoffsets.s
sewardjce605f92004-07-05 14:39:15 +0000202
sewardj6c299f32009-12-31 18:00:12 +0000203minidist:
sewardjeecde932005-01-05 19:11:09 +0000204 rm -f vex--minidist-2005MMDD.tar
205 tar cf vex--minidist-2005MMDD.tar $(PUB_HEADERS) $(PRIV_HEADERS) \
sewardjeecde932005-01-05 19:11:09 +0000206 test_main.c test_main.h \
207 Makefile \
208 `echo $(LIB_OBJS) | sed "s/\.o/\.c/g"`
209 @echo
sewardj6c299f32009-12-31 18:00:12 +0000210 @echo minidist done, size follows:
sewardjeecde932005-01-05 19:11:09 +0000211 @ls -l vex--minidist-2005MMDD.tar
sewardjeecde932005-01-05 19:11:09 +0000212 @echo
213
sewardjba69ffb2008-12-17 22:37:49 +0000214# 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.
sewardj2825ac42005-03-08 16:43:27 +0000217pub/libvex_guest_offsets.h:
sewardjba69ffb2008-12-17 22:37:49 +0000218 rm -f auxprogs/genoffsets.s
sewardjd2dc14a2008-12-19 09:32:25 +0000219 $(CC) $(CCFLAGS) -O -S -o auxprogs/genoffsets.s \
sewardjba69ffb2008-12-17 22:37:49 +0000220 auxprogs/genoffsets.c
florian623d65b2012-04-22 19:25:39 +0000221 grep xyzzy auxprogs/genoffsets.s | grep "^#define" \
sewardj1e3830f2011-03-14 11:27:26 +0000222 | sed "s/xyzzy\\$$//g" \
223 | sed "s/xyzzy#//g" \
224 | sed "s/xyzzy//g" \
sewardjba69ffb2008-12-17 22:37:49 +0000225 > pub/libvex_guest_offsets.h
226 rm -f auxprogs/genoffsets.s
sewardj2825ac42005-03-08 16:43:27 +0000227
sewardjce605f92004-07-05 14:39:15 +0000228
sewardj35421a32004-07-05 13:12:34 +0000229ALL_HEADERS = $(PUB_HEADERS) $(PRIV_HEADERS)
230ALL_INCLUDES = $(PUB_INCLUDES) $(PRIV_INCLUDES)
231
sewardjabe017e2004-10-29 23:42:36 +0000232test_main.o: $(PUB_HEADERS) test_main.c test_main.h
sewardjce605f92004-07-05 14:39:15 +0000233 $(CC) $(CCFLAGS) $(PUB_INCLUDES) -o test_main.o \
234 -c test_main.c
235
sewardj32bf7912009-09-06 20:45:21 +0000236priv/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
sewardj35421a32004-07-05 13:12:34 +0000239
florian4180af32012-12-24 00:25:34 +0000240priv/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
sewardj32bf7912009-09-06 20:45:21 +0000244priv/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
sewardj69933ac2004-12-20 04:12:14 +0000247
sewardj32bf7912009-09-06 20:45:21 +0000248priv/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
sewardja1a370f2004-08-17 13:31:55 +0000251
sewardj6c299f32009-12-31 18:00:12 +0000252priv/main_main.o: $(ALL_HEADERS) priv/main_main.c
sewardj32bf7912009-09-06 20:45:21 +0000253 $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/main_main.o \
254 -c priv/main_main.c
sewardj35421a32004-07-05 13:12:34 +0000255
sewardj32bf7912009-09-06 20:45:21 +0000256priv/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
sewardj35421a32004-07-05 13:12:34 +0000259
sewardj32bf7912009-09-06 20:45:21 +0000260priv/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
sewardj35421a32004-07-05 13:12:34 +0000263
sewardj32bf7912009-09-06 20:45:21 +0000264priv/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
sewardj35421a32004-07-05 13:12:34 +0000267
sewardj32bf7912009-09-06 20:45:21 +0000268priv/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
sewardjb7a0a112005-02-01 16:06:14 +0000271
sewardj32bf7912009-09-06 20:45:21 +0000272priv/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
cerion82edbb32004-12-16 14:06:34 +0000275
sewardj32bf7912009-09-06 20:45:21 +0000276priv/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
cerionbcf8c3e2005-02-04 16:17:07 +0000279
sewardj1e3830f2011-03-14 11:27:26 +0000280priv/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
sewardjd0e5fe72012-06-07 08:51:02 +0000284priv/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
sewardj32bf7912009-09-06 20:45:21 +0000288priv/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
sewardj35421a32004-07-05 13:12:34 +0000291
sewardj32bf7912009-09-06 20:45:21 +0000292priv/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
sewardjb7a0a112005-02-01 16:06:14 +0000295
sewardj32bf7912009-09-06 20:45:21 +0000296priv/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
cerioncee30312004-12-17 20:30:21 +0000299
sewardj32bf7912009-09-06 20:45:21 +0000300priv/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
cerionbcf8c3e2005-02-04 16:17:07 +0000303
sewardj1e3830f2011-03-14 11:27:26 +0000304priv/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
sewardjd0e5fe72012-06-07 08:51:02 +0000308priv/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
florian0af77fc2013-08-03 20:57:17 +0000312priv/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
sewardj32bf7912009-09-06 20:45:21 +0000316priv/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
sewardj35421a32004-07-05 13:12:34 +0000319
sewardj32bf7912009-09-06 20:45:21 +0000320priv/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
sewardj38a3f862005-01-13 15:06:51 +0000323
sewardj69d98e32010-06-18 08:17:41 +0000324priv/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
florian0af77fc2013-08-03 20:57:17 +0000328priv/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
sewardj32bf7912009-09-06 20:45:21 +0000332priv/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
sewardj432b1c92004-10-30 13:00:55 +0000335
sewardj32bf7912009-09-06 20:45:21 +0000336priv/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
sewardj36ca5132004-07-24 13:12:23 +0000339
sewardj32bf7912009-09-06 20:45:21 +0000340priv/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
sewardj52ff4cc2005-03-26 20:33:38 +0000343
sewardj32bf7912009-09-06 20:45:21 +0000344priv/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
sewardj9e6491a2005-07-02 19:24:10 +0000347
sewardj32bf7912009-09-06 20:45:21 +0000348priv/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
sewardj33dba642004-11-25 13:07:51 +0000351
sewardj32bf7912009-09-06 20:45:21 +0000352priv/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
njn9c6acb02004-11-30 15:56:47 +0000355
sewardj32bf7912009-09-06 20:45:21 +0000356priv/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
sewardjd20c8852005-01-20 20:04:07 +0000359
sewardj32bf7912009-09-06 20:45:21 +0000360priv/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
sewardj33dba642004-11-25 13:07:51 +0000363
sewardj32bf7912009-09-06 20:45:21 +0000364priv/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
cerion896a1372005-01-25 12:24:25 +0000367
sewardj32bf7912009-09-06 20:45:21 +0000368priv/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
cerion896a1372005-01-25 12:24:25 +0000371
sewardj1e3830f2011-03-14 11:27:26 +0000372priv/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
sewardj32bf7912009-09-06 20:45:21 +0000376priv/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
sewardj1e3830f2011-03-14 11:27:26 +0000379
380priv/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
florian4180af32012-12-24 00:25:34 +0000384priv/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
sewardjd0e5fe72012-06-07 08:51:02 +0000387
388priv/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
392priv/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