2007-08-19 18:37:38 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
test_dir=.
|
2007-08-29 15:10:43 +00:00
|
|
|
model_file=./libdax_model.txt
|
2007-08-19 18:37:38 +00:00
|
|
|
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 "$@"
|
|
|
|
|