1
$! ========================================================================
2
$! Copyright 1988-2006 University of Washington
4
$! Licensed under the Apache License, Version 2.0 (the "License");
5
$! you may not use this file except in compliance with the License.
6
$! You may obtain a copy of the License at
8
$! http://www.apache.org/licenses/LICENSE-2.0
11
$! ========================================================================
13
$! Program: Portable c-client build for VMS
15
$! Author: Mark Crispin
16
$! Networks and Distributed Computing
17
$! Computing & Communications
18
$! University of Washington
19
$! Administration Building, AG-44
21
$! Internet: MRC@CAC.Washington.EDU
23
$! Date: 2 August 1994
24
$! Last Edited: 30 August 2006
26
$! Change this to your local timezone. This value is the number of minutes
27
$! east of UTC (formerly known as GMT). Sample values: -300 (US east coast),
28
$! -480 (US west coast), 540 (Japan), 60 (western Europe).
29
$! VAX C's HELP information says that you should be able to use gmtime(), but
30
$! it returns 0 for the struct. ftime(), you ask? It, too, returns 0 for a
31
$! timezone. Nothing sucks like a VAX!
37
$ CC_PREF = "/OPTIMIZE/INCLUDE=[]"
38
$ CC_PREF = CC_PREF + "/DEFINE=net_getbuffer=NET_GETBUF"
39
$ CC_PREF = CC_PREF + "/DEFINE=LOCALTIMEZONE='CC_TIMEZONE'"
43
$ TCP_TYPE = "VMSN" ! default to none
44
$ IF F$LOCATE("MULTINET", P1) .LT. F$LENGTH(P1)
46
$ DEFINE SYS MULTINET_ROOT:[MULTINET.INCLUDE.SYS],sys$library
47
$ DEFINE NETINET MULTINET_ROOT:[MULTINET.INCLUDE.NETINET]
48
$ DEFINE ARPA MULTINET_ROOT:[MULTINET.INCLUDE.ARPA]
49
$ TCP_TYPE = "VMSM" ! Multinet
50
$ LINK_OPT = ",LINK_MNT/OPTION"
52
$ IF F$LOCATE("NETLIB", P1) .LT. F$LENGTH(P1)
54
$ DEFINE SYS SYS$LIBRARY: ! normal .H location
55
$ DEFINE NETINET SYS$LIBRARY:
56
$ DEFINE ARPA SYS$LIBRARY:
57
$ LINK_OPT = ",LINK_NLB/OPTION"
58
$ TCP_TYPE = "VMSL" ! NETLIB
60
$ IF TCP_TYPE .EQS. "VMSN"
62
$ DEFINE SYS SYS$LIBRARY: ! normal .H location
63
$ DEFINE NETINET SYS$LIBRARY:
64
$ DEFINE ARPA SYS$LIBRARY:
68
$ COPY TCP_'TCP_TYPE'.C TCP_VMS.C;
70
$ COPY OS_VMS.H OSDEP.H;
77
$ CC'CC_PREF' DUMMYVMS
81
$ CC'CC_PREF' SMANAGER
82
$ CC'CC_PREF' FLSTRING
88
$ CC'CC_PREF' MAILUTIL
90
$ LINK MTEST,OS_VMS,MAIL,IMAP4R1,SMTP,NNTP,POP3,DUMMYVMS,RFC822,MISC,UTF8,-
91
UTF8AUX,SMANAGER,FLSTRING,NEWSRC,NETMSG,-
92
SYS$INPUT:/OPTION'LINK_OPT',LINK/OPTION
94
$ LINK MAILUTIL,OS_VMS,MAIL,IMAP4R1,SMTP,NNTP,POP3,DUMMYVMS,RFC822,MISC,UTF8,-
95
UTF8AUX,SMANAGER,FLSTRING,NEWSRC,NETMSG,-
96
SYS$INPUT:/OPTION'LINK_OPT',LINK/OPTION