diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-22 00:02:08 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-22 00:02:08 +0000 |
commit | 7c1f25b46a7c9c4b953976631ae94a07e4ba531a (patch) | |
tree | 18fd7299f341195884c5ffc7ef621c252be08b73 /Makefile.target | |
parent | ee9dbb297db6adcac1df966e160e33b166b5a92a (diff) | |
download | hqemu-7c1f25b46a7c9c4b953976631ae94a07e4ba531a.zip hqemu-7c1f25b46a7c9c4b953976631ae94a07e4ba531a.tar.gz |
probe static SDL link
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@732 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 10 |
1 files changed, 7 insertions, 3 deletions
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),) |