From 7c1f25b46a7c9c4b953976631ae94a07e4ba531a Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 22 Apr 2004 00:02:08 +0000 Subject: probe static SDL link git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@732 c046a42c-6fe2-441c-8c8c-71466251a162 --- Makefile.target | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile.target') diff --git a/Makefile.target b/Makefile.target index e9c0304..b68183b 100644 --- a/Makefile.target +++ b/Makefile.target @@ -246,9 +246,13 @@ VL_OBJS+=gdbstub.o endif ifdef CONFIG_SDL VL_OBJS+=sdl.o -ifdef CONFIG_STATIC -SDL_LIBS:=$(SDL_STATIC_LIBS) endif +ifdef CONFIG_SLIRP +DEFINES+=-I$(SRC_PATH)/slirp +SLIRP_OBJS=cksum.o if.o ip_icmp.o ip_input.o ip_output.o \ +slirp.o mbuf.o misc.o sbuf.o socket.o tcp_input.o tcp_output.o \ +tcp_subr.o tcp_timer.o udp.o bootp.o debug.o +VL_OBJS+=$(addprefix slirp/, $(SLIRP_OBJS)) endif VL_LDFLAGS= @@ -321,7 +325,7 @@ endif $(CC) $(DEFINES) -c -o $@ $< clean: - rm -f *.o *.a *~ $(PROGS) gen-op.h opc.h op.h nwfpe/*.o + rm -f *.o *.a *~ $(PROGS) gen-op.h opc.h op.h nwfpe/*.o slirp/*.o install: all ifneq ($(PROGS),) -- cgit v1.1