mirror of https://github.com/mpv-player/mpv
wine-20021031 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8183 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b17a5ada78
commit
a6cbc15dc5
8
Makefile
8
Makefile
|
@ -188,6 +188,14 @@ $(PRG): $(MPLAYER_DEP)
|
||||||
./darwinfixlib.sh $(MPLAYER_DEP)
|
./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
|
$(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)
|
mplayer_wine.so: $(MPLAYER_DEP)
|
||||||
./darwinfixlib.sh $(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
|
$(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
|
||||||
|
|
Loading…
Reference in New Issue