Debian Codegraph @

descrip.mms

raw
1 # $Id: descrip.mms,v 1.18 2024/10/07 00:16:10 tom Exp $
2 # VAX/VMS "mms" script for VTTEST
3
4 THIS = vttest
5
6 #### Start of system configuration section. ####
7
8 DEFINES = /Define=(STDC_HEADERS)
9 CFLAGS = /Listing /Include=([]) $(DEFINES)
10
11 #### End of system configuration section. ####
12
13 C_SRC = \
14 charsets.c \
15 color.c \
16 draw.c \
17 esc.c \
18 keyboard.c \
19 main.c \
20 mouse.c \
21 nonvt100.c \
22 printer.c \
23 replay.c \
24 reports.c \
25 reset.c \
26 setup.c \
27 sixel.c \
28 status.c \
29 tek4014.c \
30 ttymodes.c \
31 unix_io.c \
32 utf8.c \
33 vms_io.c \
34 vt220.c \
35 vt320.c \
36 vt420.c \
37 vt52.c \
38 vt520.c \
39 xterm.c
40 H_SRC = \
41 vttest.h \
42 draw.h \
43 esc.h \
44 ttymodes.h
45 OBJS = \
46 charsets.obj, \
47 color.obj, \
48 draw.obj, \
49 esc.obj, \
50 keyboard.obj, \
51 main.obj, \
52 mouse.obj, \
53 nonvt100.obj, \
54 printer.obj, \
55 replay.obj, \
56 reports.obj, \
57 reset.obj, \
58 setup.obj, \
59 sixel.obj, \
60 status.obj, \
61 tek4014.obj, \
62 utf8.obj, \
63 vms_io.obj, \
64 vt220.obj, \
65 vt320.obj, \
66 vt420.obj, \
67 vt52.obj, \
68 vt520.obj, \
69 xterm.obj
70
71 SRC = patchlev.h \
72 CHANGES COPYING README \
73 $(THIS).1 \
74 $(C_SRC) $(H_SRC) \
75 config.hin install.sh mkdirs.sh makefile.in configure.in
76
77 all : $(THIS).exe
78 @ write sys$output "** produced $?"
79
80 $(THIS).exe : $(OBJS), vms_link.opt
81 $(LINK)/exec=$(THIS) main.obj, vms_link/opt
82
83 vms_link.opt :
84 @vmsbuild vms_link_opt
85
86 $(THIS).com :
87 if "''f$search("vttest.com")'" .nes. "" then delete vttest.com;*
88 copy nl: vttest.com
89 open/append test_script vttest.com
90 write test_script "$ temp = f$environment(""procedure"")"
91 write test_script "$ temp = temp -"
92 write test_script " - f$parse(temp,,,""version"",""syntax_only"") -"
93 write test_script " - f$parse(temp,,,""type"",""syntax_only"")"
94 write test_script "$ vttest :== $ 'temp'.exe"
95 write test_script "$ define/user_mode sys$input sys$command"
96 write test_script "$ define/user_mode sys$output sys$command"
97 write test_script "$ vttest 'p1 'p2 'p3 'p4 'p5 'p6 'p7 'p8"
98 close test_script
99 write sys$output "** made vttest.com"
100
101 clean :
102 - if f$search("*.obj").nes."" then dele/nolog *.obj;*
103 - if f$search("*.lis").nes."" then dele/nolog *.lis;*
104 - if f$search("*.log").nes."" then dele/nolog *.log;*
105 - if f$search("*.map").nes."" then dele/nolog *.map;*
106
107 clobber : clean
108 - if f$search("$(THIS).exe").nes."" then dele/nolog $(THIS).exe;*
109
110 $(OBJS) : vttest.h