$!----------------------------------------------------------------------------- $! BUILD_EXPAT.COM $! $! 10-MAY-2018 MGD Expat v2.2.5 $! 15-APR-2005 MGD initial $!----------------------------------------------------------------------------- $! $ VMS_VERSION = F$GETSYI("VERSION") $ VMS_VERSION = F$INTEGER(F$EXTRACT(1,1,VMS_VERSION)) * 10 +- F$INTEGER(F$EXTRACT(3,1,VMS_VERSION)) $! $ WRITE SYS$OUTPUT "" $ WRITE SYS$OUTPUT "Building ""EXPAT"" for ""''F$GETSYI("ARCH_NAME")'""" $! $ ARCH_NAME = F$EDIT(F$GETSYI("ARCH_NAME"),"UPCASE") $ IF ARCH_NAME .EQS. "ALPHA" THEN ARCH_NAME = "AXP" $! $ IF F$SEARCH("OBJ_''ARCH_NAME'.DIR") .EQS. "" - THEN CREATE/DIR [.OBJ_'ARCH_NAME'] $ OBJECT_DIR = "[.OBJ_''ARCH_NAME']" $! $ IF P1 .NES. "LINK" $ THEN $ DELETE = "DELETE/LOG" $ DELETE 'OBJECT_DIR'*.OBJ;* $ ENDIF $! $ CC_OPTIONS = " /INCLUDE=([])" $ CC_DEFINES = " /DEFINE=(HAVE_EXPAT_CONFIG_H)" $! $ IF P1 .NES. "LINK" $ THEN $ SET VERIFY $ CC 'CC_OPTIONS' 'CC_DEFINES' /OBJ='OBJECT_DIR' XMLPARSE.C $ CC 'CC_OPTIONS' 'CC_DEFINES' /OBJ='OBJECT_DIR' XMLROLE.C $ CC 'CC_OPTIONS' 'CC_DEFINES' /OBJ='OBJECT_DIR' XMLTOK.C $ CC 'CC_OPTIONS' 'CC_DEFINES' /OBJ='OBJECT_DIR' OUTLINE.C $ CC 'CC_OPTIONS' 'CC_DEFINES' /OBJ='OBJECT_DIR' ELEMENTS.C $! 'F$VERIFY(0) $ ENDIF $! $ IF P1 .EQS. "" .OR. P1 .EQS. "LINK" $ THEN $ SET VERIFY $ LINK 'OBJECT_DIR'OUTLINE,XMLPARSE,XMLROLE,XMLTOK - /EXE='OBJECT_DIR'OUTLINE.EXE $ LINK 'OBJECT_DIR'ELEMENTS,XMLPARSE,XMLROLE,XMLTOK - /EXE='OBJECT_DIR'ELEMENTS.EXE $! 'F$VERIFY(0) $ ENDIF $! $!-----------------------------------------------------------------------------