[abd31c]: vcl / iso / generate.sh Maximize Restore History

Download this file

generate.sh    24 lines (22 with data), 510 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh
for blah in `cat ../generic/blah`; do
echo $blah
(
echo "#ifndef vcl_iso_${blah}_h_"
echo "#define vcl_iso_${blah}_h_"
echo ""
echo "// This is a generated file. DO NOT EDIT! Not even a little bit."
echo ""
echo "#include <${blah%_tr1}>"
echo ""
echo "#ifdef vcl_generic_${blah}_STD"
echo " ** error **"
echo "#else"
echo "# define vcl_generic_${blah}_STD std"
echo "#endif"
echo ""
echo "#include \"../generic/vcl_${blah}.h\""
echo ""
echo "#endif // vcl_iso_${blah}_h_"
) > vcl_${blah}.h
done