install.sh.cmake 951 Bytes
Newer Older
Ghislain MARY's avatar
Ghislain MARY committed
1 2
#!/bin/sh

3 4 5 6 7 8 9 10
export CC="@AUTOTOOLS_C_COMPILER@"
export CXX="@AUTOTOOLS_CXX_COMPILER@"
export OBJC="@AUTOTOOLS_OBJC_COMPILER@"
export LD="@AUTOTOOLS_LINKER@"
export AR="@AUTOTOOLS_AR@"
export RANLIB="@AUTOTOOLS_RANLIB@"
export STRIP="@AUTOTOOLS_STRIP@"
export NM="@AUTOTOOLS_NM@"
Ghislain MARY's avatar
Ghislain MARY committed
11

12
export ASFLAGS="@LINPHONE_BUILDER_ASFLAGS@"
13 14
export CPPFLAGS="@LINPHONE_BUILDER_CPPFLAGS@"
export CFLAGS="@LINPHONE_BUILDER_CFLAGS@"
15 16
export CXXFLAGS="@LINPHONE_BUILDER_CXXFLAGS@"
export OBJCFLAGS="@LINPHONE_BUILDER_OBJCFLAGS@"
17
export LDFLAGS="@LINPHONE_BUILDER_LDFLAGS@"
Ghislain MARY's avatar
Ghislain MARY committed
18 19 20 21 22 23

export PKG_CONFIG="@LINPHONE_BUILDER_PKG_CONFIG@"
export PKG_CONFIG_PATH="@LINPHONE_BUILDER_PKG_CONFIG_PATH@"
export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"

cd @ep_build@
24
make -f @ep_source_relative_to_build@/Makefile install@EP_openh264_LINKING_TYPE@ DESTDIR="@CMAKE_INSTALL_PREFIX@" PREFIX="" BUILDTYPE="@OPENH264_BUILD_TYPE@" @EP_openh264_ADDITIONAL_OPTIONS@ @ep_redirect_to_file@