From 16e9b7de41bc4163fe53140f387c020ea55d0a06 Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 27 Oct 2003 21:09:52 +0000 Subject: [PATCH] filename fixes git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@403 c046a42c-6fe2-441c-8c8c-71466251a162 --- Makefile.target | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile.target b/Makefile.target index ee54438..cfb3cd8 100644 --- a/Makefile.target +++ b/Makefile.target @@ -17,8 +17,14 @@ else QEMU_SYSTEM=qemu endif -ifndef CONFIG_SOFTMMU +ifdef CONFIG_USER_ONLY PROGS=$(QEMU_USER) +else +ifeq ($(ARCH),i386) +ifeq ($(TARGET_ARCH), i386) +PROGS+=$(QEMU_SYSTEM) +endif +endif endif ifdef CONFIG_STATIC @@ -41,9 +47,6 @@ else # is the simplest way to make it self virtualizable! LDFLAGS+=-Wl,-shared endif -ifeq ($(TARGET_ARCH), i386) -PROGS+=$(QEMU_SYSTEM) -endif endif ifeq ($(ARCH),ppc) @@ -171,7 +174,7 @@ sdl.o: sdl.c $(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $< depend: $(SRCS) - $(CC) -MM $(CFLAGS) $^ 1>.depend + $(CC) -MM $(CFLAGS) $(DEFINES) $^ 1>.depend # libqemu -- 2.7.4