aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-02-16 21:55:35 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-02-16 21:55:35 +0000
commitf72b519c86b0700473155194a39edf937007eab8 (patch)
tree879ca5bb6217b7b18541a2c023bfe0e596767196 /Makefile.target
parent07ce05eaa93941648721973375f1c11874122d45 (diff)
added osdep.o and nwfpe
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@615 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target20
1 files changed, 17 insertions, 3 deletions
diff --git a/Makefile.target b/Makefile.target
index 9d52680a9b..3f5a1ba855 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -145,10 +145,15 @@ LDFLAGS+=-p
main.o: CFLAGS+=-p
endif
-OBJS= elfload.o main.o syscall.o mmap.o signal.o path.o
+OBJS= elfload.o main.o syscall.o mmap.o signal.o path.o osdep.o
ifeq ($(TARGET_ARCH), i386)
OBJS+= vm86.o
endif
+ifeq ($(TARGET_ARCH), arm)
+OBJS+=nwfpe/softfloat.o nwfpe/fpa11.o nwfpe/fpa11_cpdo.o \
+nwfpe/fpa11_cpdt.o nwfpe/fpa11_cprt.o nwfpe/fpopcode.o nwfpe/single_cpdo.o \
+ nwfpe/double_cpdo.o nwfpe/extended_cpdo.o
+endif
SRCS:= $(OBJS:.o=.c)
OBJS+= libqemu.a
@@ -158,6 +163,9 @@ LIBOBJS=thunk.o exec.o translate-all.o cpu-exec.o gdbstub.o \
ifeq ($(TARGET_ARCH), i386)
LIBOBJS+=helper.o helper2.o
+ifeq ($(ARCH), i386)
+LIBOBJS+=translate-copy.o
+endif
endif
ifeq ($(TARGET_ARCH), ppc)
@@ -197,7 +205,10 @@ ifeq ($(ARCH),alpha)
endif
# must use static linking to avoid leaving stuff in virtual address space
-VL_OBJS=vl.o block.o ide.o vga.o sb16.o dma.o oss.o fdc.o
+VL_OBJS=vl.o block.o ide.o vga.o sb16.o dma.o oss.o fdc.o osdep.o
+ifeq ($(TARGET_ARCH), i386)
+VL_OBJS+=linux_boot.o
+endif
ifeq ($(TARGET_ARCH), ppc)
VL_OBJS+= hw.o
endif
@@ -271,8 +282,11 @@ endif
%.o: %.c
$(CC) $(CFLAGS) $(DEFINES) -c -o $@ $<
+%.o: %.S
+ $(CC) $(DEFINES) -c -o $@ $<
+
clean:
- rm -f *.o *.a *~ $(PROGS) gen-op.h opc.h op.h
+ rm -f *.o *.a *~ $(PROGS) gen-op.h opc.h op.h nwfpe/*.o
install: all
install -m 755 -s $(PROGS) $(prefix)/bin