REM -- Preprocess HaXml package using cpphs REM rem -- Change the following to suit the local system environment -- rem HUGS installation directory, HaXML library directory root rem set HUGSDIR=C:\DEV\Hugs98 set LIBS=D:\Cvs\DEV\HaskellUtils\HaXml-1.12\src rem Use Hugs version compiled with Unicode support rem set HUGS=%HUGSDIR%\hugs-20040109.exe -P"%LIBS%;" set RUNHUGS=%HUGSDIR%\runhugs-20040109.exe -P"%LIBS%;" rem cpphs program and preprocessing options (for Hugs): rem set SRC=D:/Cvs/DEV/HaskellUtils/HaXml-1.12/src/Text/XML/HaXml set CPPHS=D:\Cvs\DEV\HaskellUtils\cpphs-0.2\cpphs.hs set CPPHSOPTS=--noline -D__HUGS__ -D__HUGS_DATE__=20040109 rem -- Preprocess HaXml sources (only those that depend on preprocessing) -- %RUNHUGS% %CPPHS% %CPPHSOPTS% -O%SRC%/parse.hs %SRC%/parse.cpphs %RUNHUGS% %CPPHS% %CPPHSOPTS% -O%SRC%/ExtEntity.hs %SRC%/ExtEntity.cpphs %RUNHUGS% %CPPHS% %CPPHSOPTS% -O%SRC%/Validate.hs %SRC%/Validate.cpphs %RUNHUGS% %CPPHS% %CPPHSOPTS% -O%SRC%/html/parse.hs %SRC%/html/parse.cpphs goto Exit rem -- All done -- :Exit PAUSE