mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
add msx264.mk
This commit is contained in:
parent
4dcafb0500
commit
2d04319a31
1 changed files with 43 additions and 0 deletions
43
submodules/build/builders.d/msx264.mk
Normal file
43
submodules/build/builders.d/msx264.mk
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
############################################################################
|
||||
# msx264.mk
|
||||
# Copyright (C) 2011 Belledonne Communications,Grenoble France
|
||||
#
|
||||
############################################################################
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
############################################################################
|
||||
msx264_dir?=msx264
|
||||
$(BUILDER_SRC_DIR)/$(msx264_dir)/configure:
|
||||
cd $(BUILDER_SRC_DIR)/$(msx264_dir) && ./autogen.sh
|
||||
|
||||
$(BUILDER_BUILD_DIR)/$(msx264_dir)/Makefile: $(BUILDER_SRC_DIR)/$(msx264_dir)/configure
|
||||
mkdir -p $(BUILDER_BUILD_DIR)/$(msx264_dir)
|
||||
cd $(BUILDER_BUILD_DIR)/$(msx264_dir)/ \
|
||||
&& PKG_CONFIG_PATH=$(prefix)/lib/pkgconfig CONFIG_SITE=$(BUILDER_SRC_DIR)/build/$(config_site) \
|
||||
$(BUILDER_SRC_DIR)/$(msx264_dir)/configure -prefix=$(prefix) --host=$(host) ${library_mode}
|
||||
|
||||
build-msx264: build-x264 $(BUILDER_BUILD_DIR)/$(msx264_dir)/Makefile
|
||||
cd $(BUILDER_BUILD_DIR)/$(msx264_dir) && PKG_CONFIG_PATH=$(prefix)/lib/pkgconfig CONFIG_SITE=$(BUILDER_SRC_DIR)/build/$(config_site) make && make install
|
||||
|
||||
clean-msx264: clean-x264
|
||||
cd $(BUILDER_BUILD_DIR)/$(msx264_dir) && make clean
|
||||
|
||||
veryclean-msx264: veryclean-x264
|
||||
-cd $(BUILDER_BUILD_DIR)/$(msx264_dir) && make distclean
|
||||
-cd $(BUILDER_SRC_DIR)/$(msx264_dir) && rm -f configure
|
||||
|
||||
clean-makefile-msx264: clean-makefile-x264
|
||||
cd $(BUILDER_BUILD_DIR)/$(msx264_dir) && rm -f Makefile
|
||||
Loading…
Add table
Reference in a new issue