Revision eaa728ee Makefile.target

b/Makefile.target
201 201
LIBOBJS+=fpu/softfloat-native.o
202 202
endif
203 203
CPPFLAGS+=-I$(SRC_PATH)/fpu
204

  
205
ifeq ($(TARGET_ARCH), i386)
206
LIBOBJS+=helper.o helper2.o
207
endif
208

  
209
ifeq ($(TARGET_ARCH), x86_64)
210
LIBOBJS+=helper.o helper2.o
211
endif
212

  
213
ifeq ($(TARGET_BASE_ARCH), ppc)
214
LIBOBJS+= op_helper.o helper.o
215
endif
216

  
217
ifeq ($(TARGET_BASE_ARCH), mips)
218
LIBOBJS+= op_helper.o helper.o
219
endif
220

  
221
ifeq ($(TARGET_BASE_ARCH), sparc)
222 204
LIBOBJS+= op_helper.o helper.o
223
endif
224 205

  
225 206
ifeq ($(TARGET_BASE_ARCH), arm)
226
LIBOBJS+= op_helper.o helper.o neon_helper.o iwmmxt_helper.o
227
endif
228

  
229
ifeq ($(TARGET_BASE_ARCH), sh4)
230
LIBOBJS+= op_helper.o helper.o
231
endif
232

  
233
ifeq ($(TARGET_BASE_ARCH), m68k)
234
LIBOBJS+= op_helper.o helper.o
207
LIBOBJS+= neon_helper.o iwmmxt_helper.o
235 208
endif
236 209

  
237 210
ifeq ($(TARGET_BASE_ARCH), alpha)
238
LIBOBJS+= op_helper.o helper.o alpha_palcode.o
211
LIBOBJS+= alpha_palcode.o
239 212
endif
240 213

  
241 214
ifeq ($(TARGET_BASE_ARCH), cris)
242
LIBOBJS+= op_helper.o helper.o
243 215
LIBOBJS+= cris-dis.o
244 216

  
245 217
ifndef CONFIG_USER_ONLY
......
323 295

  
324 296
# HELPER_CFLAGS is used for all the code compiled with static register
325 297
# variables
326
ifeq ($(TARGET_BASE_ARCH), i386)
327
# XXX: rename helper.c to op_helper.c
328
helper.o: helper.c
329
	$(CC) $(HELPER_CFLAGS) $(CPPFLAGS) $(CFLAGS) $(I386_CFLAGS) -c -o $@ $<
330
else
331 298
op_helper.o: op_helper.c
332
	$(CC) $(HELPER_CFLAGS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
333
endif
299
	$(CC) $(HELPER_CFLAGS) $(CPPFLAGS) $(CFLAGS) $(I386_CFLAGS) -c -o $@ $<
334 300

  
335 301
cpu-exec.o: cpu-exec.c $(OPC_H)
336 302
	$(CC) $(HELPER_CFLAGS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<

Also available in: Unified diff