From f4092abdf94af6a99aff944d6264bc1284e8bdd4 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Mon, 10 Oct 2011 17:43:39 +0200 Subject: Imported nx-X11-3.1.0-1.tar.gz Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository --- nx-X11/lib/dps/genheader.cmd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 nx-X11/lib/dps/genheader.cmd (limited to 'nx-X11/lib/dps/genheader.cmd') diff --git a/nx-X11/lib/dps/genheader.cmd b/nx-X11/lib/dps/genheader.cmd new file mode 100644 index 000000000..b1784e232 --- /dev/null +++ b/nx-X11/lib/dps/genheader.cmd @@ -0,0 +1,14 @@ +REM +/* OS/2 generate header files */ +/* $XFree86: xc/lib/dps/genheader.cmd,v 1.1 2000/04/05 18:13:22 dawes Exp $ */ +cat psclrops.h psctrlops.h psctxtops.h psdataops.h psfontops.h psgsttops.h psioops.h psmathops.h psmtrxops.h psmiscops.h pspntops.h pspathops.h pssysops.h pswinops.h psopstack.h psXops.h psl2ops.h >.ph +sed -e "/^$$/D" -e "/#/D" -e "/^\//D" -e "/^ gener/D" -e "/^.\//D" .ph | sort >.sort +awk "/;/ {print;printf(\"\n\");}" .sort >.ttt +cat psname.txt header.txt psifdef.txt .ttt psendif.txt > psops.h.os2 +rm .ph .sort .ttt + +cat dpsclrops.h dpsctrlops.h dpsctxtops.h dpsdataops.h dpsfontops.h dpsgsttops.h dpsioops.h dpsmathops.h dpsmtrxops.h dpsmiscops.h dpspntops.h dpspathops.h dpssysops.h dpswinops.h dpsopstack.h dpsXops.h dpsl2ops.h >.ph +sed -e "/^$$/D" -e "/#/D" -e "/^\//D" -e "/^ gener/D" -e "/^.\//D" .ph | sort >.sort +awk "/;/ {print;printf(\"\n\");}" .sort >.ttt +cat dpsname.txt header.txt dpsifdef.txt .ttt dpsendif.txt > dpsops.h.os2 +rm .ph .sort .ttt -- cgit v1.2.3