From 2d04319a3188f676608df33f3275da36eeb9b047 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Fri, 22 Jul 2011 10:00:46 +0200 Subject: [PATCH] add msx264.mk --- submodules/build/builders.d/msx264.mk | 43 +++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 submodules/build/builders.d/msx264.mk diff --git a/submodules/build/builders.d/msx264.mk b/submodules/build/builders.d/msx264.mk new file mode 100644 index 000000000..aaf1e5e00 --- /dev/null +++ b/submodules/build/builders.d/msx264.mk @@ -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