1 Star 0 Fork 11

toney/OpenRTMP

forked from Mr.W/OpenRTMP 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.mediasrv 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
海洋之星 提交于 2019-11-12 13:54 . --
#!/bin/sh
CURDIR=$(pwd)
UNAME=$(uname)
if [ "$UNAME" = "Linux" ]; then
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
fi
export SSL=1
export MEDIASRV=1
if [ "$1" = "clean" ]; then
CLN=1
fi
export GCC_ATOMIC=1
makesrc()
{
if [ "$CLN" = 1 ] ; then
make -f Makefile clean
else
if [ "$1" = "-d" ] || [ "$1" = "-D" ] || [ "$1" = "d" ] || [ "$1" = "D" ] ; then
echo ""
echo ""
echo "*******buiding "$my_module" debug ************"
echo ""
echo ""
if
export DBG=1
! make -f Makefile
then
echo "----------"$my_module" debug error----------"
exit 1
# break
fi
fi
echo ""
echo ""
echo "*******buiding "$my_module" release ************"
echo ""
echo ""
if
export DBG=0
! make
then
echo "----------"$my_module" release error----------"
exit 1
# break
fi
fi
}
for my_module in "libpolarssl" "libmalloc" "adapi" "rde" "libcpputil" "libmediasrv"
do
path_module=$CURDIR/$my_module/src
echo ""
echo ""
echo "---------building "$path_module"---------"
echo ""
echo ""
if
! cd $path_module
then
continue
fi
makesrc $1
cd ../../
done
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/toneywoo/OpenRTMP.git
[email protected]:toneywoo/OpenRTMP.git
toneywoo
OpenRTMP
OpenRTMP
master

搜索帮助