#!/bin/sh
#
# create a "defs" file, as needed by some libg++ types (see defs.hP
# for the model "defs" file)
#

echo "#ifndef _${ifdef_filename}_h";
echo "#define _${ifdef_filename}_h";

echo "#include \"${p}.defs.h\"";
echo "#define ${p}_pEQ(a,b) ${p}EQ(*(a),*(b))" ;
echo "#define ${p}_pLE(a,b) ${p}LE(*(a),*(b))" ;
echo "#define ${p}_pCMP(a,b) ${p}CMP(*(a),*(b))" ;
echo "#define ${p}_pHASH(a,b) ${p}HASH(*(a),*(b))" ;

echo "#endif _${ifdef_filename}_h";
