This repository has been archived by the owner on Aug 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.com
58 lines (56 loc) · 1.62 KB
/
make.com
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$ WRITE SYS$OUTPUT "Commencing build of ircd-hybrid-7 for VMS..."
$ WRITE SYS$OUTPUT "Examining source directory..."
$
$! $Id: make.com,v 1.1 2002/01/04 09:10:37 a1kmm Exp $
$! Don't have to do this any more - we now depend on
$! bison/flex to build.
$! FILE_SIZE = "NOSUCHFILE"
$! FILE_SIZE = F$FILE_ATTRIBUTES("[.INCLUDE]SETUP.H", "KNOWN")
$! IF FILE_SIZE .EQS. "NOSUCHFILE"
$! THEN
$! WRITE SYS$OUTPUT "Copying SETUP.H_VMS to SETUP.H"
$! COPY [.INCLUDE]SETUP.H_VMS [.INCLUDE]SETUP.H
$! ENDIF
$
$! vms_crypt.c is now src/crypt.c ..
$! FILE_SIZE = "NOSUCHFILE"
$! FILE_SIZE = F$FILE_ATTRIBUTES("[.SRC]VMS_CRYPT.C", "KNOWN")
$! IF FILE_SIZE .EQS. "NOSUCHFILE"
$! THEN
$! WRITE SYS$OUTPUT "Copying VMS parser and crypt files from contrib"
$! COPY [.CONTRIB]VMS_CRYPT.C [.SRC]VMS_CRYPT.C
$! COPY [.CONTRIB]VMS_LEX_YY.C [.SRC]VMS_LEX_YY.C
$! COPY [.CONTRIB]VMS_Y_TAB.C [.SRC]VMS_Y_TAB.C
$! COPY [.CONTRIB]VMS_Y_TAB.H [.SRC]VMS_Y_TAB.H
$! ENDIF
$
$ ON ERROR THEN GOTO ERREXIT
$
$ WRITE SYS$OUTPUT "Building in modules..."
$ SET DEF [.MODULES]
$ MMK
$ WRITE SYS$OUTPUT "Leaving directory modules..."
$ SET DEF [-]
$
$ WRITE SYS$OUTPUT "Building in adns..."
$ SET DEF [.ADNS]
$ MMK
$ WRITE SYS$OUTPUT "Leaving directory adns..."
$ SET DEF [-]
$ WRITE SYS$OUTPUT "Building in src..."
$ SET DEF [.SRC]
$ MMK
$ WRITE SYS$OUTPUT "Leaving directory src..."
$ SET DEF [-]
$
$ WRITE SYS$OUTPUT "Building in tools..."
$ SET DEF [.TOOLS]
$ MMK
$ WRITE SYS$OUTPUT "Leaving directory tools..."
$ SET DEF [-]
$
$ WRITE SYS$OUTPUT "Build of ircd-hybrid-7 for VMS complete!"
$ EXIT
$ ERREXIT:
$ WRITE SYS$OUTPUT "Build aborted due to error"
$ SET DEF [-]