summaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-27 21:09:52 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-27 21:09:52 +0000
commit16e9b7de41bc4163fe53140f387c020ea55d0a06 (patch)
tree099685064fedf9d345446863b243d342d11f9663 /Makefile.target
parent34865134335df669132f9c2ed12d1e0be361f30f (diff)
downloadqemu-16e9b7de41bc4163fe53140f387c020ea55d0a06.tar.gz
filename fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@403 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile.target b/Makefile.target
index ee54438674..cfb3cd88fc 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