annotate src/Make_vms.mms @ 7:3fc0f57ecb91 v7.0001

updated for version 7.0001
author vimboss
date Sun, 13 Jun 2004 20:20:40 +0000
parents
children 410fa1a31baf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # Makefile for Vim on OpenVMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 # Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 # Last change: 2004 May 04
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 # This has script been tested on VMS 6.2 to 7.3 on DEC Alpha and VAX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 # with MMS and MMK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 # The following could be built:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 # vim.exe: standard (terminal, GUI/Motif, GUI/GTK)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 # dvim.exe: debug
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 # Edit the lines in the Configuration section below for fine tuning.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 # To build: mms/descrip=Make_vms.mms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 # To clean up: mms/descrip=Make_vms.mms clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 # Hints and detailed description could be found in INSTALLVMS.TXT file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 # Configuration section.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 # Platform selection
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 # Define this if you will use the VAX platform to build.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 # VAX = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 # VMS version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 # Uncomment if you use VMS version 6.2 or older
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 # OLD_VMS = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 # Compiler selection.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 # Comment out if you use the VAXC compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 DECC = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 # Build model selection
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 # TINY - Almost no features enabled, not even multiple windows
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 # SMALL - Few features enabled, as basic as possible
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 # NORMAL - A default selection of features enabled
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 # BIG - Many features enabled, as rich as possible. (default)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 # HUGE - All possible featues enabled.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 # Please select one of these alternatives above.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 MODEL = BIG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 # GUI or terminal mode executable.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 # Comment out if you want just the character terminal mode only.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 GUI = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 # GUI with GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 # If you have GTK installed you might want to enable this option.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 # GTK = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 # Comment out if you want the compiler version with :ver command.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 # NOTE: This part can make some complications if you're using some
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 # predefined symbols/flags for your compiler. If does, just leave behind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 # the comment varialbe CCVER.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 CCVER = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 # Uncomment if want a debug version. Resulting executable is DVIM.EXE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 # Development purpose only! Normally, it should not be defined. !!!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 # DEBUG = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 # Languages support for Perl, Python, TCL etc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 # If you don't need it really, leave them behind the comment.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 # You will need related libraries, include files etc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 # VIM_TCL = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 # VIM_PERL = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 # VIM_PYTHON = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 # VIM_RUBY = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 # VIM_SNIFF = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 # X Input Method. For entering special languages like chinese and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 # Japanese. Please define just one: VIM_XIM or VIM_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 # If you don't need it really, leave it behind the comment.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 # VIM_XIM = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 # Internal Hangul input method. GUI only.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 # If you don't need it really, leave it behind the comment.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 # VIM_HANGULIN = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 # Allow any white space to separate the fields in a tags file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 # When not defined, only a TAB is allowed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 # VIM_TAG_ANYWHITE = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 # Directory, library and include files configuration section.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 # Normally you need not to change anything below. !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 # These may need to be defined if things are not in standard locations
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 # You can find some explanation in INSTALLVMS.TXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 # Compiler setup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 .IFDEF VAX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 .IFDEF DECC # VAX with DECC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 CC_DEF = cc/decc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 PREFIX = /prefix=all
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 .ELSE # VAX with VAXC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 CC_DEF = cc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 PREFIX =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 CCVER =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 .ELSE # AXP wixh DECC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 CC_DEF = cc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 PREFIX = /prefix=all
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 LD_DEF = link
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 C_INC = [.proto]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 .IFDEF OLD_VMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 VMS_DEF = ,"OLD_VMS"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 .IFDEF DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 DEBUG_DEF = ,"DEBUG"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 TARGET = dvim.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 CFLAGS = /debug/noopt$(PREFIX)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 LDFLAGS = /debug
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 TARGET = vim.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 CFLAGS = /opt$(PREFIX)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 LDFLAGS =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 # Predefined VIM directories
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 # Please, use $VIM and $VIMRUNTIME logicals instead
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 VIMLOC = ""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 VIMRUN = ""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 CONFIG_H = os_vms_conf.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 .IFDEF GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 .IFDEF GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 GUI = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 .IFDEF GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 # X/Motif/GTK executable (also works in terminal mode )
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 .IFDEF GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 GTK_DIR = ALPHA$DKA0:[GTK128.]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 DEFS = "HAVE_CONFIG_H","FEAT_GUI_GTK"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 LIBS = ,OS_VMS_GTK.OPT/OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 GUI_FLAG = /name=(as_is,short)/float=ieee/ieee=denorm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 GUI_SRC = gui.c gui_gtk.c gui_gtk_f.c gui_gtk_x11.c pty.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 GUI_OBJ = gui.obj gui_gtk.obj gui_gtk_f.obj gui_gtk_x11.obj pty.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 GUI_INC = ,"/gtk_root/gtk","/gtk_root/glib"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 # GUI_INC_VER is used just for :ver information
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 # this string should escape from C and DCL in the same time
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 GUI_INC_VER= ,\""/gtk_root/gtk\"",\""/gtk_root/glib\""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 .else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 MOTIF = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 DEFS = "HAVE_CONFIG_H","FEAT_GUI_MOTIF"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 LIBS = ,OS_VMS_MOTIF.OPT/OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 GUI_FLAG =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 GUI_SRC = gui.c gui_motif.c gui_x11.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 GUI_OBJ = gui.obj gui_motif.obj gui_x11.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 GUI_INC =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 # You need to define these variables if you do not have DECW files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 # at standard location
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 GUI_INC_DIR = ,decw$include:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 # GUI_LIB_DIR = ,sys$library:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 # Character terminal only executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 DEFS = "HAVE_CONFIG_H"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 LIBS =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 .IFDEF VIM_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 # Perl related setup.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 PERL = perl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 PERL_DEF = ,"FEAT_PERL"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 PERL_SRC = if_perlsfio.c if_perl.xs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 PERL_OBJ = if_perlsfio.obj if_perl.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 PERL_LIB = ,OS_VMS_PERL.OPT/OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 PERL_INC = ,dka0:[perlbuild.perl.lib.vms_axp.5_6_1.core]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 .IFDEF VIM_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 # Python related setup.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 PYTHON_DEF = ,"FEAT_PYTHON"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 PYTHON_SRC = if_python.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 PYTHON_OBJ = if_python.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 PYTHON_LIB = ,OS_VMS_PYTHON.OPT/OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 PYTHON_INC = ,PYTHON_INCLUDE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 .IFDEF VIM_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 # TCL related setup.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 TCL_DEF = ,"FEAT_TCL"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 TCL_SRC = if_tcl.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 TCL_OBJ = if_tcl.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 TCL_LIB = ,OS_VMS_TCL.OPT/OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 TCL_INC = ,dka0:[tcl80.generic]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 .IFDEF VIM_SNIFF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 # SNIFF related setup.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 SNIFF_DEF = ,"FEAT_SNIFF"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 SNIFF_SRC = if_sniff.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 SNIFF_OBJ = if_sniff.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 SNIFF_LIB =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 SNIFF_INC =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 .IFDEF VIM_RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 # RUBY related setup.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 RUBY_DEF = ,"FEAT_RUBY"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 RUBY_SRC = if_ruby.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 RUBY_OBJ = if_ruby.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 RUBY_LIB = ,OS_VMS_RUBY.OPT/OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 RUBY_INC =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 .IFDEF VIM_XIM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 # XIM related setup.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 .IFDEF GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 XIM_DEF = ,"FEAT_XIM"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 .IFDEF VIM_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 # HANGULIN related setup.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 .IFDEF GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 HANGULIN_DEF = ,"FEAT_HANGULIN"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 HANGULIN_SRC = hangulin.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 HANGULIN_OBJ = hangulin.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 .IFDEF VIM_TAG_ANYWHITE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 # TAG_ANYWHITE related setup.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 TAG_DEF = ,"FEAT_TAG_ANYWHITE"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 # End of configuration section.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 # Please, do not change anything below without programming experience.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 MODEL_DEF = "FEAT_$(MODEL)",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 # These go into pathdef.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 VIMUSER = "''F$EDIT(F$GETJPI(" ","USERNAME"),"TRIM")'"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 VIMHOST = "''F$TRNLNM("SYS$NODE")'''F$TRNLNM("UCX$INET_HOST")'.''F$TRNLNM("UCX$INET_DOMAIN")'"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 .SUFFIXES : .obj .c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 ALL_CFLAGS = /def=($(MODEL_DEF)$(DEFS)$(VMS_DEF)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF) -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 $(TCL_DEF)$(SNIFF_DEF)$(RUBY_DEF)$(XIM_DEF)$(HANGULIN_DEF)$(TAG_DEF)) -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 $(CFLAGS)$(GUI_FLAG) -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 /include=($(C_INC)$(GUI_INC_DIR)$(GUI_INC)$(PERL_INC)$(PYTHON_INC)$(TCL_INC))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 # CFLAGS displayed in :ver information
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 # It is specially formated for correct display of unix like includes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 # as $(GUI_INC) - replaced with $(GUI_INC_VER)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 # Otherwise should not be any other difference.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 ALL_CFLAGS_VER = /def=($(MODEL_DEF)$(DEFS)$(VMS_DEF)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF) -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 $(TCL_DEF)$(SNIFF_DEF)$(RUBY_DEF)$(XIM_DEF)$(HANGULIN_DEF)$(TAG_DEF)) -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 $(CFLAGS)$(GUI_FLAG) -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 /include=($(C_INC)$(GUI_INC_DIR)$(GUI_INC_VER)$(PERL_INC)$(PYTHON_INC)$(TCL_INC))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 ALL_LIBS = $(LIBS) $(GUI_LIB_DIR) $(GUI_LIB) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 $(PERL_LIB) $(PYTHON_LIB) $(TCL_LIB) $(SNIFF_LIB) $(RUBY_LIB)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 SRC = buffer.c charset.c diff.c digraph.c edit.c eval.c ex_cmds.c ex_cmds2.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 ex_docmd.c ex_eval.c ex_getln.c if_xcmdsrv.c fileio.c fold.c getchar.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 main.c mark.c menu.c mbyte.c memfile.c memline.c message.c misc1.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 misc2.c move.c normal.c ops.c option.c quickfix.c regexp.c search.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 syntax.c tag.c term.c termlib.c ui.c undo.c version.c screen.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 window.c os_unix.c os_vms.c pathdef.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 $(GUI_SRC) $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) $(SNIFF_SRC) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 $(RUBY_SRC) $(HANGULIN_SRC)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 OBJ = buffer.obj charset.obj diff.obj digraph.obj edit.obj eval.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 ex_cmds.obj ex_cmds2.obj ex_docmd.obj ex_eval.obj ex_getln.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 if_xcmdsrv.obj fileio.obj fold.obj getchar.obj main.obj mark.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 menu.obj memfile.obj memline.obj message.obj misc1.obj misc2.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 move.obj mbyte.obj normal.obj ops.obj option.obj quickfix.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 regexp.obj search.obj syntax.obj tag.obj term.obj termlib.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 ui.obj undo.obj screen.obj version.obj window.obj os_unix.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 os_vms.obj pathdef.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 $(GUI_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(TCL_OBJ) $(SNIFF_OBJ) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 $(RUBY_OBJ) $(HANGULIN_OBJ)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 # Default target is making the executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 all : [.auto]config.h mmk_compat motif_env gtk_env perl_env python_env tcl_env ruby_env $(TARGET)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 ! $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 [.auto]config.h : $(CONFIG_H)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 copy/nolog $(CONFIG_H) [.auto]config.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 mmk_compat :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 -@ open/write pd pathdef.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 -@ write pd "/* Empty file to satisfy MMK depend. */"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 -@ write pd "/* It will be owerwritten later on... */"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 -@ close pd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 clean :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 -@ if "''F$SEARCH("*.exe")'" .NES. "" then delete/noconfirm/nolog *.exe;*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 -@ if "''F$SEARCH("*.obj")'" .NES. "" then delete/noconfirm/nolog *.obj;*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 -@ if "''F$SEARCH("[.auto]config.h")'" .NES. "" then delete/noconfirm/nolog [.auto]config.h;*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 -@ if "''F$SEARCH("pathdef.c")'" .NES. "" then delete/noconfirm/nolog pathdef.c;*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 -@ if "''F$SEARCH("if_perl.c")'" .NES. "" then delete/noconfirm/nolog if_perl.c;*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 -@ if "''F$SEARCH("*.opt")'" .NES. "" then delete/noconfirm/nolog *.opt;*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 # Link the target
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 $(TARGET) : $(OBJ)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 $(LD_DEF) $(LDFLAGS) /exe=$(TARGET) $+ $(ALL_LIBS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 .c.obj :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 $(CC_DEF) $(ALL_CFLAGS) $<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 pathdef.c : check_ccver $(CONFIG_H)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 -@ write sys$output "creating PATHDEF.C file."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 -@ open/write pd pathdef.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 -@ write pd "/* pathdef.c -- DO NOT EDIT! */"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 -@ write pd "/* This file is automatically created by MAKE_VMS.MMS"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 -@ write pd " * Change the file MAKE_VMS.MMS Only. */"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 -@ write pd "typedef unsigned char char_u;"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 -@ write pd "char_u *default_vim_dir = (char_u *)"$(VIMLOC)";"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 -@ write pd "char_u *default_vimruntime_dir = (char_u *)"$(VIMRUN)";"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 -@ write pd "char_u *all_cflags = (char_u *)""$(CC_DEF)$(ALL_CFLAGS_VER)"";"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 -@ write pd "char_u *all_lflags = (char_u *)""$(LD_DEF)$(LDFLAGS) /exe=$(TARGET) *.OBJ $(ALL_LIBS)"";"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 -@ write pd "char_u *compiler_version = (char_u *) ""''CC_VER'"";"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 -@ write pd "char_u *compiled_user = (char_u *) "$(VIMUSER)";"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 -@ write pd "char_u *compiled_sys = (char_u *) "$(VIMHOST)";"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 -@ close pd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 if_perl.c : if_perl.xs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 -@ $(PERL) PERL_ROOT:[LIB.ExtUtils]xsubpp -prototypes -typemap -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 PERL_ROOT:[LIB.ExtUtils]typemap if_perl.xs >> $@
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 make_vms.mms :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 -@ write sys$output "The name of the makefile MUST be <MAKE_VMS.MMS> !!!"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 .IFDEF CCVER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 # This part can make some complications if you're using some predefined
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 # symbols/flags for your compiler. If does, just comment out CCVER variable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 check_ccver :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 -@ define sys$output cc_ver.tmp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 -@ $(CC_DEF)/version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 -@ deassign sys$output
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 -@ open/read file cc_ver.tmp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 -@ read file CC_VER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 -@ close file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 -@ delete/noconfirm/nolog cc_ver.tmp.*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 check_ccver :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 -@ !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361 .IFDEF MOTIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 motif_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 -@ write sys$output "using DECW/Motif environment."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364 -@ write sys$output "creating OS_VMS_MOTIF.OPT file."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 -@ open/write opt_file OS_VMS_MOTIF.OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 -@ write opt_file "sys$share:decw$xmlibshr12.exe/share,-"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 -@ write opt_file "sys$share:decw$xtlibshrr5.exe/share,-"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 -@ write opt_file "sys$share:decw$xlibshr.exe/share"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 -@ close opt_file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 motif_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 -@ !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376 .IFDEF GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 gtk_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 -@ write sys$output "using GTK environment:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 -@ define/nolog gtk_root /trans=conc $(GTK_DIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 -@ show logical gtk_root
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 -@ write sys$output " include path: "$(GUI_INC)""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 -@ write sys$output "creating OS_VMS_GTK.OPT file."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 -@ open/write opt_file OS_VMS_GTK.OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384 -@ write opt_file "gtk_root:[glib]libglib.exe /share,-"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 -@ write opt_file "gtk_root:[glib.gmodule]libgmodule.exe /share,-"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 -@ write opt_file "gtk_root:[gtk.gdk]libgdk.exe /share,-"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 -@ write opt_file "gtk_root:[gtk.gtk]libgtk.exe /share,-"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 -@ write opt_file "sys$share:decw$xmlibshr12.exe/share,-"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 -@ write opt_file "sys$share:decw$xtlibshrr5.exe/share,-"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 -@ write opt_file "sys$share:decw$xlibshr.exe/share"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 -@ close opt_file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393 gtk_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 -@ !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 .IFDEF VIM_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398 perl_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399 -@ write sys$output "using PERL environment:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 -@ show logical PERLSHR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401 -@ write sys$output " include path: ""$(PERL_INC)"""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402 -@ show symbol perl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 -@ open/write pd if_perl.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 -@ write pd "/* Empty file to satisfy MMK depend. */"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 -@ write pd "/* It will be owerwritten later on... */"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406 -@ close pd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 -@ write sys$output "creating OS_VMS_PERL.OPT file."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
408 -@ open/write opt_file OS_VMS_PERL.OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409 -@ write opt_file "PERLSHR /share"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410 -@ close opt_file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412 perl_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413 -@ !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
414 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
415
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416 .IFDEF VIM_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 python_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 -@ write sys$output "using PYTHON environment:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 -@ show logical PYTHON_INCLUDE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 -@ show logical PYTHON_OLB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421 -@ write sys$output "creating OS_VMS_PYTHON.OPT file."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 -@ open/write opt_file OS_VMS_PYTHON.OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 -@ write opt_file "PYTHON_OLB:PYTHON.OLB /share"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 -@ close opt_file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 python_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427 -@ !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
430 .IFDEF VIM_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 tcl_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432 -@ write sys$output "using TCL environment:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433 -@ show logical TCLSHR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434 -@ write sys$output " include path: ""$(TCL_INC)"""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 -@ write sys$output "creating OS_VMS_TCL.OPT file."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436 -@ open/write opt_file OS_VMS_TCL.OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437 -@ write opt_file "TCLSHR /share"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
438 -@ close opt_file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440 tcl_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
441 -@ !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444 .IFDEF VIM_RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445 ruby_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446 -@ write sys$output "using RUBY environment:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 -@ write sys$output " include path: ""$(RUBY_INC)"""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
448 -@ write sys$output "creating OS_VMS_RUBY.OPT file."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
449 -@ open/write opt_file OS_VMS_RUBY.OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
450 -@ write opt_file "RUBYSHR /share"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
451 -@ close opt_file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
452 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
453 ruby_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 -@ !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457