all: config-python-linux ffmpeg/libavutil/libavutil.a ffmpeg/libavcodec/libavcodec.a ffmpeg/libavformat/libavformat.a python setup.py clean python setup.py build include Makefile.config install: all python setup.py install tryout: all rm -rf tryout python setup.py install --prefix=tryout mv tryout/lib/python2.?/site-packages/*/* tryout cp tribler_streaming/play_linux tryout include Makefile.common # --------------------------------------- # Python headers # --------------------------------------- config-python-linux: Python/README rm -f config-python-* cd Python && ./configure --enable-shared --with-threads touch $@ # --------------------------------------- # FFmpeg libraries # --------------------------------------- ffmpeg/config.mak: cd ffmpeg && ./configure --enable-shared --enable-pthreads $(FFMPEG_CONFIG_FLAGS) ffmpeg/libavutil/libavutil.a: ffmpeg/config.mak cd ffmpeg/libavutil && $(MAKE) ffmpeg/libavcodec/libavcodec.a: ffmpeg/config.mak cd ffmpeg/libavcodec && $(MAKE) ffmpeg/libavformat/libavformat.a: ffmpeg/config.mak cd ffmpeg/libavformat && $(MAKE) .PHONY: all install tryout