Statistics
| Branch: | Tag: | Revision:

streamers-build / Makefile @ e58e6412

History | View | Annotate | Download (1.06 KB)

1
BASEDIR = $(shell pwd)
2
THIRDPARTYLIBS = $(BASEDIR)/THIRDPARTY-LIBS
3

    
4
.PHONY: $(THIRDPARTYLIBS)
5

    
6
all: Streamers/streamer-grapes
7
ml: Streamers/streamer-ml-monl-grapes-static
8

    
9
$(THIRDPARTYLIBS):
10
	$(MAKE) -C $(THIRDPARTYLIBS) || { echo "Error preparing third party libs" && exit 1; }
11

    
12
Streamers:
13
	git clone http://halo.disi.unitn.it/~cskiraly/PublicGits/Streamers.git
14

    
15
Streamers/streamer-grapes: Streamers $(THIRDPARTYLIBS)
16
	GRAPES=$(THIRDPARTYLIBS)/GRAPES FFMPEG_DIR=$(THIRDPARTYLIBS)/ffmpeg X264_DIR=$(THIRDPARTYLIBS)/x264 $(MAKE) -C Streamers  || { echo "Error compiling the Streamer" && exit 1; }
17

    
18
#version with NAPA-libs
19
Streamers/streamer-ml-monl-grapes-static: Streamers $(THIRDPARTYLIBS)
20
	GRAPES=$(THIRDPARTYLIBS)/GRAPES FFMPEG_DIR=$(THIRDPARTYLIBS)/ffmpeg X264_DIR=$(THIRDPARTYLIBS)/x264 STATIC=2 NAPA=$(THIRDPARTYLIBS)/NAPA-BASELIBS/ LIBEVENT_DIR=$(THIRDPARTYLIBS)/NAPA-BASELIBS/3RDPARTY-LIBS/libevent ML=1 MONL=1 $(MAKE) -C Streamers || { echo "Error compiling the ML+MONL version of the Streamer" && exit 1; }
21

    
22
clean:
23
	$(MAKE) -C $(THIRDPARTYLIBS) clean
24
	$(MAKE) -C Streamers clean