Commit 8ca5a0ef authored by Dmitry Blinov's avatar Dmitry Blinov

it compiles

parent f29d18cc
......@@ -354,15 +354,21 @@ compile-dir = ${:location}__compile__/proview-${:version}*
#compile-dir = ${:location}__compile__/pwr
configure-command =
set -e
#cd ..
#mv --force ${:compile-dir} proview-${:version} #shortening the dir name because of co_convert limits
#cd ${:compile-dir}
sed -i "s#aroot=/usr/local/adm#aroot=${:aroot}#" ${:compile-dir}/build.sh
sed -i "s#cflags\s*:= -c#cflags := ${:incdir} -c#" ${:compile-dir}/src/tools/bld/src/variables.mk
sed -i "s#\$(\$(pred))#\$(shell expr \$(word) - 1)#" ${:compile-dir}/src/tools/pwre/src/dir_symbols.mk
sed -i "s#typedef char cnv_tName\[200\]#typedef char cnv_tName\[300\]#" ${:compile-dir}/src/exe/co_convert/src/co_convert.cpp
sed -i "s#efine pwr_cSizCmd 399#efine pwr_cSizCmd 799#" ${:compile-dir}/src/exp/inc/src/pwr.h
sed -i "s#efine pwr_cSizFileName 255#efine pwr_cSizFileName 455#" ${:compile-dir}/src/exp/inc/src/pwr.h
sed -i "s#efine DCLI_CMD_SIZE 400#efine DCLI_CMD_SIZE 800#" ${:compile-dir}/src/lib/co/src/co_dcli.h
sed -i "s#efine DCLI_QUAL_SIZE 400#efine DCLI_QUAL_SIZE 800#" ${:compile-dir}/src/lib/co/src/co_dcli.h
sed -i "s#efine DCLI_SYM_KEY_SIZE 200#efine DCLI_SYM_KEY_SIZE 400#" ${:compile-dir}/src/lib/co/src/co_dcli.h
sed -i "s#efine DCLI_SYM_VALUE_SIZE 200#efine DCLI_SYM_VALUE_SIZE 400#" ${:compile-dir}/src/lib/co/src/co_dcli.h
sed -i "s#char filename\[120\]#char filename\[400\]#" ${:compile-dir}/src/lib/co/src/co_dcli.h
sed -i "s#char dcli_qual_str\[10\]\[2\]\[400\]#char dcli_qual_str\[10\]\[2\]\[800\]#" ${:compile-dir}/src/lib/co/src/co_dcli.c
sed -i "s#200#400#g" ${:compile-dir}/src/lib/co/src/co_dcli_dir.c
sed -i "s#200#400#g" ${:compile-dir}/src/lib/co/src/co_dcli_file.cpp
sed -i "s#char cmd_array\[10\]\[400\]#char cmd_array\[10\]\[800\]#" ${:compile-dir}/wb/exe/wb_cmd/src/wb_cmd_main.cpp
sed -i "s#char dir\[120\]#char dir\[400\]#" ${:compile-dir}/src/exe/co_convert/src/*
sed -i "s#char current_file\[200\]#char current_file\[400\]#" ${:compile-dir}/src/exe/co_convert/src/*
sed -i "s#char source_dir\[200\]#char source_dir\[400\]#" ${:compile-dir}/src/exe/co_convert/src/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment