-
Notifications
You must be signed in to change notification settings - Fork 7
/
descrip.mms
78 lines (59 loc) · 1.86 KB
/
descrip.mms
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Makefile to construct the midaswww library
# Tony Johnson, Oct, 1992
.First
@ delete == "delete/noconf"
@ define rpc multinet_root:[multinet.include.rpc]
@ define netinet multinet_root:[multinet.include.netinet]
@ define sys multinet_root:[multinet.include.sys]
NAME=midaswww
LIBRARY = $(NAME).olb
LIBMEMS = $(LIBRARY)(-
custom.obj , -
midas.obj , -
midasclass.obj , -
midasconvert.obj , -
midasdeclare.obj , -
midasevaluate.obj , -
midasingot.obj , -
midaslist.obj , -
midasloadimage.obj , -
midasutil.obj , -
sgmlanchortext.obj , -
sgmlcompositetext.obj , -
sgmlformattedtext.obj , -
sgmlhyper.obj , -
sgmllisttext.obj , -
sgmlmarkertext.obj , -
sgmlplaintext.obj , -
sgmltext.obj , -
tree.obj)
# Targets
all : exe midas.uid midaswww.uid midas.dat midaswww.dat
! done
midas.uid : midas.uil
UIL/MOTIF $<
midaswww.uid : midaswww.uil
UIL/MOTIF $<
midas.dat : midas.ad
COPY $< *.dat
midaswww.dat : midaswww.ad
COPY $< *.dat
$(NAME).exe : $(NAME).obj $(NAME).olb
link $(NAME),$(NAME)/opt
delete/noconf $(NAME).obj;*
purge $(NAME).exe
exe :
@ $(MMS) $(MMSQUALIFIERS)/skip $(NAME).exe
test : all
@ define/user decw$user_defaults sys$disk:[]
@ midaswww := $sys$disk:[]midaswww.exe
@ midaswww -name "midaswww"
clean :
delete/noconfirm *.obj;*
help :
@echo ' lib: makes $(NAME).olb'
@echo ' debug: makes $(NAME)_debug.olb'
@echo ' util: makes utilities nt2text.exe and text2nt.exe'
@echo ' clean: removes all .obj files'
@echo ' install: installs libraries and include files'
$(LIBRARY) : $(LIBMEMS)