$!----------------------------------------------------------------------------- $! BUILD_AUTHAGENT_POPSTORE.COM $! $! P1 == LINK or BUILD or empty (builds) $! P2 == Optional location of CGILIB object library (defaults to [.MISC]) $! $! 28-OCT-2000 MGD use CGILIB object library $! 30-MAY-1998 MGD initial re-development $!----------------------------------------------------------------------------- $! $ ON CONTROLY THEN EXIT 44 $! $ WRITE SYS$OUTPUT "" $ WRITE SYS$OUTPUT "Building ""AUTHAGENT_POPSTORE""" +- " for ""''F$GETSYI("ARCH_NAME")'"" architecture" $! $ ARCH_NAME = F$EDIT(F$GETSYI("ARCH_NAME"),"UPCASE") $ IF ARCH_NAME .EQS. "ALPHA" THEN ARCH_NAME = "AXP" $! $ DEFINES = " /DEFINE=(__VMS_VER=70000000," +- "__CRTL_VER=70000000,CGILIB_OBJECT_MODULE)" $! INCLUDES = " /INCLUDE=[wasd_root.SRC.MISC]" $ INCLUDES = " /INCLUDE=[SRC.MISC]" $ WARNINGS= " /WARNING=(DISABLE=(PREOPTW,IMPLICITFUNC,ADDRCONSTEXT))" $! $ IF F$EDIT(F$GETSYI("ARCH_NAME"),"UPCASE") .EQS. "VAX" $ THEN $ CC_OPTIONS = "/DECC /OPTIMIZE /STAND=RELAXED_ANSI /PREFIX=ALL" +- INCLUDES + DEFINES + WARNINGS $ ELSE $ CC_OPTIONS = "/DECC /OPTIMIZE /STAND=RELAXED_ANSI /PREFIX=ALL" +- INCLUDES + DEFINES + WARNINGS $ ENDIF $! $ IF F$SEARCH("OBJ_''ARCH_NAME'.DIR") .EQS. "" - THEN CREATE /DIR [.OBJ_'ARCH_NAME'] $ OBJECT_DIR = "[.OBJ_''ARCH_NAME']" $! $ IF P1 .EQS. "" .OR. P1 .EQS. "BUILD" .OR. P1 .EQS. "COMPILE" $ THEN $ SET NOON $ SET VERIFY $ CC 'CC_OPTIONS' /OBJECT='OBJECT_DIR' AUTHAGENT_POPSTORE $! 'F$VERIFY(0) $ SET ON $ ENDIF $! $ IF P1 .EQS. "" .OR. P1 .EQS. "BUILD" .OR. P1 .EQS. "LINK" $ THEN $! CGILIB_OLB = "[wasd_root.SRC.MISC.OBJ_''ARCH_NAME']CGILIB.OLB" $ CGILIB_OLB = "[SRC.MISC.OBJ_''ARCH_NAME']CGILIB.OLB" $ SET NOON $ SET VERIFY $! Originale $! LINK /EXECUTABLE=WASD_EXE:AUTHAGENT_EXAMPLE.EXE - $! 'OBJECT_DIR'AUTHAGENT_EXAMPLE,'CGILIB_OLB'/LIBRARY $! $! Mio $ LINK /NOTRACEBACK /EXECUTABLE=WASD_EXE:AUTHAGENT_POPSTORE.EXE - 'OBJECT_DIR'AUTHAGENT_POPSTORE,'CGILIB_OLB'/LIBRARY, - pmdf_exe:pmdfshr_link.opt/opt $! 'F$VERIFY(0) $ SET ON $ ENDIF $ PURGE /NOLOG 'OBJECT_DIR' $! $!-----------------------------------------------------------------------------