[0001]
[0002]
[0003]
[0004]
[0005]
[0006]
[0007]
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
$!-----------------------------------------------------------------------------
$! BUILD_MOD_CGIPLUSTEST.COM
$!
$! build VMS Apache module equivalent
$! developed on VSI AXPVMS CSWS V2.4-38C (YMMV)
$!
$! P1 == LINK or BUILD or empty (builds)
$!
$! 19-APR-2020  MGD  initial
$!-----------------------------------------------------------------------------
$!
$ on controly then exit 44
$ P1 = f$edit(P1,"upcase")
$!
$ @wasd_root:[src]archer.com "MOD_CGIPLUSTEST"
$!
$ defines = " /define=(__VMS_VER=70000000,__CRTL_VER=70000000,APACHE_MOD)"
$ includes = " /include=[src.misc]"
$ warnings=  " /warning=(DISABLE=(PREOPTW,IMPLICITFUNC))"
$!
$ cc_options = "/decc /optimize /stand=relaxed_ansi /pointer_size=32 " +-
               "/define=(_USE_STD_STAT) /names=(as_is,shortened)" +-
               includes + defines + warnings
$!
$ if p1 .eqs. "" .or. p1 .eqs. "BUILD" .or. p1 .eqs. "COMPILE"
$ then
$    set noon
$    set verify
$    cc 'cc_options' /object='wasd_obj_dir'mod_cgiplustest -
        cgiplustest+apache$root:[include]APACHE$LIBRARY.TLB/lib
$!   'f$verify(0)
$    set on
$ endif
$!
$ if p1 .eqs. "" .or. p1 .eqs. "BUILD" .or. p1 .eqs. "LINK"
$ then
$    set noon
$    set verify
$    link /share /executable='wasd_obj_dir'mod_cgiplustest.exe -
     'wasd_obj_dir'mod_cgiplustest,sys$input/opt
CASE_SENSITIVE=YES
SYMBOL_VECTOR=(cgiplustest_module=DATA)
APACHE$APR_SHR/share
APACHE$HTTPD_SHR/share
$!   'f$verify(0)
$    set on
$ endif
$ purge /nolog 'wasd_obj_dir'
$!
$!-----------------------------------------------------------------------------