You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-06 08:29:25 +02:00
os2 support patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
Originally committed as revision 1447 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Michael Niedermayer
parent
143cc72527
commit
f3ec2d46ba
14
Makefile
14
Makefile
@@ -18,21 +18,26 @@ ifeq ($(CONFIG_WIN32),yes)
|
||||
EXE=.exe
|
||||
PROG=ffmpeg$(EXE)
|
||||
else
|
||||
EXT=
|
||||
ifeq ($(CONFIG_OS2),yes)
|
||||
EXE=.exe
|
||||
PROG=ffmpeg$(EXE)
|
||||
else
|
||||
EXE=
|
||||
PROG=ffmpeg ffplay
|
||||
ifeq ($(CONFIG_FFSERVER),yes)
|
||||
PROG+=ffserver
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_AUDIO_BEOS),yes)
|
||||
EXTRALIBS+=-lmedia -lbe
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_SHARED),yes)
|
||||
DEP_LIBS=libavcodec/libavcodec.so libavformat/libavformat.a
|
||||
DEP_LIBS=libavcodec/$(SLIBPREF)avcodec$(SLIBSUF) libavformat/$(LIBPREF)avformat$(LIBSUF)
|
||||
else
|
||||
DEP_LIBS=libavcodec/libavcodec.a libavformat/libavformat.a
|
||||
DEP_LIBS=libavcodec/$(LIBPREF)avcodec$(LIBSUF) libavformat/$(LIBPREF)avformat$(LIBSUF)
|
||||
ifeq ($(CONFIG_MP3LAME),yes)
|
||||
EXTRALIBS+=-lmp3lame
|
||||
endif
|
||||
@@ -61,7 +66,8 @@ ffmpeg_g$(EXE): ffmpeg.o $(DEP_LIBS)
|
||||
-lavformat -lavcodec $(EXTRALIBS)
|
||||
|
||||
ffmpeg$(EXE): ffmpeg_g$(EXE)
|
||||
cp -p $< $@ ; $(STRIP) $@
|
||||
cp -p $< $@
|
||||
$(STRIP) $@
|
||||
|
||||
ffserver$(EXE): ffserver.o $(DEP_LIBS)
|
||||
$(CC) $(LDFLAGS) $(FFSLDFLAGS) \
|
||||
|
||||
Reference in New Issue
Block a user