changeset 8182:ee87db98f4eb

wine-20021031 support
author arpi
date Wed, 13 Nov 2002 17:51:43 +0000
parents 6892658f9125
children f3c7601d52d7
files Makefile
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Nov 13 14:12:21 2002 +0000
+++ b/Makefile	Wed Nov 13 17:51:43 2002 +0000
@@ -188,6 +188,14 @@
 	./darwinfixlib.sh $(MPLAYER_DEP)
 	$(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) libvo/libvo.a libao2/libao2.a $(VIDIX_LIBS) $(GUI_LIBS) $(COMMON_LIBS) $(GTK_LIBS) $(VO_LIBS) $(AO_LIBS) $(EXTRA_LIB) $(LIRC_LIB) $(STATIC_LIB) $(ARCH_LIB) -lm 
 
+mplayer.exe.spec.c: libmpcodecs/libmpcodecs.a
+	winebuild -fPIC -o mplayer.exe.spec.c -exe mplayer.exe -mcui \
+	libmpcodecs/ad_qtaudio.o libmpcodecs/vd_qtvideo.o \
+	-L/usr/local/lib/wine -lkernel32
+
+mplayer.exe.so:	$(MPLAYER_DEP) mplayer.exe.spec.c
+	$(CC) $(CFLAGS) -Wall -shared  -Wl,-rpath,/usr/local/lib -Wl,-Bsymbolic  -o mplayer.exe.so $(OBJS_MPLAYER) mplayer.exe.spec.c libvo/libvo.a libao2/libao2.a $(VIDIX_LIBS) $(GUI_LIBS) $(COMMON_LIBS) $(GTK_LIBS) $(VO_LIBS) $(AO_LIBS) $(EXTRA_LIB) $(LIRC_LIB) $(STATIC_LIB) $(ARCH_LIB) -lwine -lm 
+
 mplayer_wine.so:	$(MPLAYER_DEP)
 	./darwinfixlib.sh $(MPLAYER_DEP)
 	$(CC) $(CFLAGS) -shared -Wl,-Bsymbolic -o mplayer_wine.so mplayer_wine.spec.c $(OBJS_MPLAYER) libvo/libvo.a libao2/libao2.a $(VIDIX_LIBS) $(GUI_LIBS) $(COMMON_LIBS) $(GTK_LIBS) $(VO_LIBS) $(AO_LIBS) $(EXTRA_LIB) $(LIRC_LIB) $(STATIC_LIB) -lwine $(ARCH_LIB) -lm