Generator frontend scripts (./libcevap_gen.sh to be run in libcevap/)

This commit is contained in:
2007-08-19 18:37:38 +00:00
parent 99fceeb9e4
commit 9b552e9db6
4 changed files with 73 additions and 46 deletions

16
libcevap/libcevap_gen.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
test_dir=.
model_file=../doc/libdax_model.txt
xtr_dir=.
cgen_dir=.
# cgen_dir=~/projekte/cdrskin_dir/libburn-develop/libcevap
cd "$test_dir" || exit 1
test -e smem.h || exit 1
cat "$model_file" | \
"$xtr_dir"/extract_cgen_input.sh | \
"$cgen_dir"/cgen -smem_local -ansi -global_include cevap_global.h \
-overwrite "$@"