Revision 0fd98555 THIRDPARTY-LIBS/Makefile

View differences:

THIRDPARTY-LIBS/Makefile
8 8
all: GRAPES-build NAPA-build
9 9

  
10 10
x264:
11
	git clone git://git.videolan.org/x264.git
11
	cd .. && git submodule update --init
12 12
	cd x264 && ./configure --prefix=$(THIRDPARTYLIBS)/x264-install/ || { echo "Error configuring x264" && exit 1; }
13 13

  
14 14
x264-build: x264
......
17 17
x264-install: x264-build
18 18
	$(MAKE) -C x264 install  || { echo "Error installing x264" && exit 1; }
19 19

  
20
ffmpeg: x264-install
21
	git clone git://git.videolan.org/ffmpeg.git
22
	cd ffmpeg && git checkout 2cae9809e2d59c7336fc2cccb97b82c7f764868a
20
ffmpeg: x264-install submodules
23 21
	cd ffmpeg && ./configure --enable-libx264 --enable-gpl --enable-pthreads --extra-cflags=-I$(THIRDPARTYLIBS)/x264-install/include --extra-ldflags=-L$(THIRDPARTYLIBS)/x264-install/lib --prefix=$(THIRDPARTYLIBS)/ffmpeg-install || { echo "Error configuring ffmpeg" && exit 1; }
24 22
	#in case x264 is not reqired (do we need the encoding?): ./configure --enable-gpl --enable-pthreads --prefix=$BASEDIR/ffmpeg-install
25 23

  
......
29 27
ffmpeg-install: ffmpeg-build
30 28
	$(MAKE) -C ffmpeg install || { echo "Error installing ffmpeg" && exit 1; }
31 29

  
32
GRAPES: ffmpeg-install
33
	git clone http://halo.disi.unitn.it/~cskiraly/PublicGits/GRAPES.git
30
GRAPES: ffmpeg-install submodules
34 31

  
35 32
GRAPES-build: GRAPES
36 33
	FFDIR=$(THIRDPARTYLIBS)/ffmpeg $(MAKE) -C GRAPES || { echo "Error compiling GRAPES" && exit 1; }
37 34

  
38
NAPA-BASELIBS:
39
	git clone http://halo.disi.unitn.it/~cskiraly/SharedGits/NAPA-BASELIBS.git
35
NAPA-BASELIBS: submodules
40 36

  
41 37
NAPA-build: NAPA-BASELIBS
42 38
	cd NAPA-BASELIBS && ./build_all.sh -q
43 39

  
40
submodules:
41
	cd .. && git submodule update --init
42

  
44 43
clean:
45 44
	$(MAKE) -C GRAPES clean

Also available in: Unified diff