1$! make.com
2$! 25-JAN-2000, David Mathog
3$! builds xaw3d, xmu, and then xterm.
4$!
5$! $XFree86: xc/programs/xterm/make.com,v 1.1 2000/02/08 17:19:37 dawes Exp $
6$!
7$!************************************************************
8$!
9$! set up logicals for XAW, XMU and so forth
10$!
11$ define x11_directory decw$include
12$ thisfile = f$environment("PROCEDURE")
13$ thisis   = f$parse(thisfile,,,"DEVICE") + f$parse(thisfile,,,"DIRECTORY")
14$ thisis = thisis - "]"
15$ define xaw_directory "''thisis'.lib.xaw3d]"
16$ define xmu_directory "''thisis'.lib.xmu]"
17$ define bitmap_directory "''thisis'.lib.bitmaps]"
18$ define/trans=(concealed) thisX11 "''thisis.lib.]"
19$ define X11 thisx11,decw$include
20$!
21$! note, ansi doesn't work with this variant of X11R5.
22$!
23$! don't build libs in debug mode
24$ if(P1 .eqs. "" .AND. P2 .eqs. "")
25$ then
26$!
27$! build XMU
28$!
29$ set ver
30$ set def [.lib.xmu]
31$ @make
32$!
33$! build XAW3D
34$!
35$ set def [-.xaw3d]
36$ @make
37$ set def [--]
38$ set nover
39$!
40$! move the two libraries to this level
41$!
42$ rename [.lib...]*.olb []
43$ endif
44$!
45$ if(P1 .nes. "")
46$ then
47$   ccstub := cc/standard=vaxc/include=[]/debug/noopt
48$   mylink :== link/debug
49$ else
50$   ccstub := cc/standard=vaxc/include=[]
51$   mylink :== link
52$ endif
53$ mycc :== 'ccstub' -
54/define=(VMS,OPT_TEK4014,ALLOWLOGGING,OPT_NUM_LOCK)
55$!
56$! OPT_TOOLBAR doesn't work - it pulls in calls through Xaw3d and Xmu for
57$! XSHAPECOMBINEMASK and XSHAPEQUERYEXTENSION
58$! which seem not to exist in DW MOtif 1.2-5
59$!
60$!
61$ set ver
62$ mycc BUTTON.C
63$ mycc CHARPROC.C
64$ mycc CHARSETS.C
65$ mycc CURSOR.C
66$ mycc DATA.C
67$ mycc DOUBLECHR.C
68$ mycc FONTUTILS.C
69$ mycc INPUT.C
70$ mycc KEYSYM2UCS.C
71$ mycc MAIN.C
72$ mycc MENU.C
73$ mycc MISC.C
74$ mycc PRINT.C
75$ mycc PTYDATA.C
76$! mycc RESIZE.C
77$ mycc SCREEN.C
78$ mycc SCROLLBAR.C
79$ mycc TABS.C
80$ mycc TEKPROC.C
81$ mycc TEKPRSTBL.C
82$ mycc TRACE.C
83$ mycc TTYSVR.C
84$ mycc UTIL.C
85$ mycc VMS.C
86$ mycc VTPRSTBL.C
87$!
88$ mylink/exe=xterm.exe xterm_axp.opt/option
89$ set nover
90$ exit
91