Revision b54320b3 THIRDPARTY-LIBS/Makefile

View differences:

THIRDPARTY-LIBS/Makefile
125 125
	$(MAKE) -C ffmpeg install || { echo "Error installing ffmpeg" && exit 1; }
126 126
	touch ffmpeg-install
127 127

  
128
GRAPES-build: ffmpeg-install
129
	$(FLAGS_GRAPES) FFDIR=$(THIRDPARTYLIBS)/ffmpeg $(MAKE) -C GRAPES || { echo "Error compiling GRAPES" && exit 1; }
128
pjproject-src:
129
	$(WGET_OR_CURL) http://www.pjsip.org/release/2.1/pjproject-2.1.tar.bz2
130
	tar -C pjproject-src xjf pjproject-2.1.tar.bz2
131

  
132
pjproject: pjproject-src
133
	cd pjproject-src
134
	./configure --disable-sound --disable-oss --disable-video --disable-small-filter --disable-large-filter --disable-speex-aec --disable-g711-codec --disable-l16-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec --disable-ilbc-codec --disable-sdl --disable-ffmpeg --disable-v4l2 --disable-ssl --disable-opencore-amr --disable-silk --prefix=$(THIRDPARTYLIBS)/pjproject"
135
	make dep
136
	make
137
	make install
138

  
139
GRAPES-build: ffmpeg-install pjproject
140
	$(FLAGS_GRAPES) FFDIR=$(THIRDPARTYLIBS)/ffmpeg $(MAKE) PJDIR=$(THIRDPARTYLIBS)/pjproject -C GRAPES || { echo "Error compiling GRAPES" && exit 1; }
130 141

  
131 142
NAPA-build:
132 143
	cd NAPA-BASELIBS && $(ALTO_OPTION) ./build_all.sh -q
......
135 146
	$(MAKE) -C GRAPES clean
136 147
	$(MAKE) -C NAPA-BASELIBS clean
137 148

  
138
distclean:
149
distclean: clean
139 150
	[ ! -d GRAPES ] || $(MAKE) -C GRAPES clean
140 151
	[ ! -d NAPA-BASELIBS ] || $(MAKE) -C NAPA-BASELIBS clean
141 152
	rm -rf libx264-install
......
149 160
	[ ! -d libvorbis ] || $(MAKE) -C libvorbis distclean || true
150 161
	rm -rf libogg-install
151 162
	[ ! -d libogg ] || $(MAKE) -C libogg distclean || true
163
	rm -rf pjproject 
164
	[ ! -d pjproject-src ] || $(MAKE) -C pjproject-src distclean || true

Also available in: Unified diff