From: bellard Date: Sun, 21 Mar 2004 17:02:00 +0000 (+0000) Subject: use new directory layout X-Git-Tag: release_0_9_0-iwjtag~1721 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3035f7ff83c9f072c0b9dc7a95789dba613b8750;p=qemu-xen-4.6-testing.git use new directory layout git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@674 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/Makefile.target b/Makefile.target index f869aad5c..0d38b1d73 100644 --- a/Makefile.target +++ b/Makefile.target @@ -2,10 +2,14 @@ include config.mak TARGET_PATH=$(SRC_PATH)/target-$(TARGET_ARCH) VPATH=$(SRC_PATH):$(TARGET_PATH):$(SRC_PATH)/hw +DEFINES=-I. -I$(TARGET_PATH) -I$(SRC_PATH) +ifdef CONFIG_USER_ONLY +VPATH+=:$(SRC_PATH)/linux-user +DEFINES+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ARCH) +endif CFLAGS=-Wall -O2 -g LDFLAGS=-g LIBS= -DEFINES=-I. -I$(TARGET_PATH) -I$(SRC_PATH) HELPER_CFLAGS=$(CFLAGS) DYNGEN=../dyngen # user emulator name @@ -149,7 +153,7 @@ LDFLAGS+=-p main.o: CFLAGS+=-p endif -OBJS= elfload.o main.o syscall.o mmap.o signal.o path.o osdep.o +OBJS= elfload.o main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o ifeq ($(TARGET_ARCH), i386) OBJS+= vm86.o endif @@ -162,7 +166,7 @@ SRCS:= $(OBJS:.o=.c) OBJS+= libqemu.a # cpu emulator library -LIBOBJS=thunk.o exec.o translate-all.o cpu-exec.o gdbstub.o \ +LIBOBJS=exec.o translate-all.o cpu-exec.o gdbstub.o \ translate.o op.o ifeq ($(TARGET_ARCH), i386)