1.X.h: ${srcdir}/class.awk 2 rm -f $*.h 3 class_srcdir=${srcdir} srcdir=${srcdir} sh ${srcdir}/class -h ${srcdir}/$*.X >$*.h 4 5.X.c: ${srcdir}/class.awk 6 rm -f $*.c 7 class_srcdir=${srcdir} srcdir=${srcdir} sh ${srcdir}/class -c ${srcdir}/$*.X > $*.c 8 9buffer.c: ${srcdir}/buffer.Z 10 sed -e 's/[ ][ ]*\$$/ $$/' ${srcdir}/buffer.Z > __buffer.c 11 @CPP@ __buffer.c | tr -s "\044" "\012" | sed -e '/^#/d' -e 's/INCLUDE2/#include/' -e 's/^pragma/#pragma/' > buffer.c 12 rm -f __buffer.c 13 14lbshade.c: ${srcdir}/lbshade.Z 15 sed -e 's/[ ][ ]*\$$/ $$/' ${srcdir}/lbshade.Z > __lbshade_.c 16 @CPP@ __lbshade_.c | tr -s "\044" "\012" | sed -e '/^#/d' -e 's/DEFINE2/#define/' -e 's/INCLUDE2/#include/' -e 's/[^#]pragma/#pragma/' > lbshade.c 17 rm -f __lbshade_.c 18 19triangle.c: ${srcdir}/triangle.Z 20 sed -e 's/[ ][ ]*\$$/ $$/' ${srcdir}/triangle.Z > __triangle.c 21 @CPP@ -I${srcdir} -DPASS1 __triangle.c | sed -e '/^#/d' -e 's/INCLUDE1/#include/' | tr -s "\044" "\012" > triangle1.c 22 @CPP@ -I${srcdir} -DPASS2 triangle1.c | sed -e '/^#/d' -e 's/INCLUDE2/#include/' | tr -s "\044" "\012" > triangle2.c 23 @CPP@ -I${srcdir} -DPASS3 triangle2.c | tr -s "\044" "\012" | sed -e '/^#/d' -e 's/DEFINE3/#define/' -e 's/INCLUDE3/#include/' -e 's/[^#]pragma/#pragma/' > triangle.c 24 rm triangle1.c triangle2.c __triangle.c 25 26quad.c: ${srcdir}/quad.Z 27 sed -e 's/[ ][ ]*\$$/ $$/' ${srcdir}/quad.Z > __quad.c 28 @CPP@ -I${srcdir} -DPASS1 __quad.c | sed -e '/^#/d' -e 's/INCLUDE1/#include/' | tr -s "\044" "\012" > quad1.c 29 @CPP@ -I${srcdir} -DPASS2 quad1.c | sed -e '/^#/d' -e 's/INCLUDE2/#include/' | tr -s "\044" "\012" > quad2.c 30 @CPP@ -I${srcdir} -DPASS3 quad2.c | tr -s "\044" "\012" | sed -e '/^#/d' -e 's/DEFINE3/#define/' -e 's/INCLUDE3/#include/' -e 's/[^#]pragma/#pragma/' > quad.c 31 rm -f quad1.c quad2.c __quad.c 32 33plane.c: ${srcdir}/plane.Z 34 cp ${srcdir}/plane.Z _plane.c 35 @CPP@ _plane.c | tr -s "\044" "\012" | sed -e '/^#/d' -e 's/INCLUDE2/#include/' -e 's/[^#]pragma/#pragma/' > plane.c 36 rm -f _plane.c 37 38