build.sh.cmake 985 Bytes
Newer Older
1 2
#!/bin/sh

3 4 5 6 7 8 9 10
export CC="@CMAKE_C_COMPILER@"
export CXX="@CMAKE_CXX_COMPILER@"
export OBJC="@CMAKE_C_COMPILER@"
export LD="@CMAKE_LINKER@"
export AR="@CMAKE_AR@"
export RANLIB="@CMAKE_RANLIB@"
export STRIP="@CMAKE_STRIP@"
export NM="@CMAKE_NM@"
11

12
export ASFLAGS="@ep_asflags@ @LINPHONE_BUILDER_TOOLCHAIN_ASFLAGS@ @ep_extra_asflags@"
13 14
export CPPFLAGS="@ep_cppflags@ @LINPHONE_BUILDER_CPPFLAGS@ @ep_extra_cppflags@"
export CFLAGS="@ep_cflags@ @LINPHONE_BUILDER_CFLAGS@ @ep_extra_cflags@"
15 16
export CXXFLAGS="@ep_cxxflags@ @LINPHONE_BUILD_TOOLCHAIN_CXXFLAGS@ @ep_extra_cxxflags@"
export OBJCFLAGS="@ep_objcflags@ @LINPHONE_BUILD_TOOLCHAIN_OBJCFLAGS@ @ep_extra_objcflags@"
17
export LDFLAGS="@ep_ldflags@ @LINPHONE_BUILDER_LDFLAGS@ @ep_extra_ldflags@"
18

Ghislain MARY's avatar
Ghislain MARY committed
19 20
export PKG_CONFIG="@LINPHONE_BUILDER_PKG_CONFIG@"
export PKG_CONFIG_PATH="@LINPHONE_BUILDER_PKG_CONFIG_PATH@"
21 22
export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"

23
cd @ep_build@
24
make V=@AUTOTOOLS_VERBOSE_MAKEFILE@ @ep_redirect_to_file@