Revision 39ca126e THIRDPARTY-LIBS/Makefile

View differences:

THIRDPARTY-LIBS/Makefile
127 127

  
128 128
pjproject-src:
129 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
130
	[ ! -d pjproject-src ] || mkdir pjproject-src
131
	tar xjf pjproject-2.1.tar.bz2 
132
	mv pjproject-2.1.0  pjproject-src
131 133

  
132 134
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
135
	cd pjproject-src && ./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 
136
	$(MAKE) -C pjproject-src dep
137
	$(MAKE) -C pjproject-src
138
	$(MAKE) -C pjproject-src install
139
	cd pjproject/lib && \
140
	for f in `ls *.a`; do\
141
		ar -x $$f;\
142
	done && \
143
	ar rcs libpjproject.a *.o
144

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

  
142 148
NAPA-build:

Also available in: Unified diff