Mercurial > vim
comparison src/Make_vms.mms @ 1045:7f01e52cc97a v7.0.171
updated for version 7.0-171
author | vimboss |
---|---|
date | Tue, 28 Nov 2006 16:43:58 +0000 |
parents | 8cd729851562 |
children | dc65bb5de20e |
comparison
equal
deleted
inserted
replaced
1044:f66abfa335bb | 1045:7f01e52cc97a |
---|---|
1 # | 1 # |
2 # Makefile for Vim on OpenVMS | 2 # Makefile for Vim on OpenVMS |
3 # | 3 # |
4 # Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com> | 4 # Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com> |
5 # Last change: 2006 Apr 30 | 5 # Last change: 2006 Sep 04 |
6 # | 6 # |
7 # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64 | 7 # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64 |
8 # with MMS and MMK | 8 # with MMS and MMK |
9 # | 9 # |
10 # The following could be built: | 10 # The following could be built: |
11 # vim.exe: standard (terminal, GUI/Motif, GUI/GTK) | 11 # vim.exe: standard (terminal, GUI/Motif, GUI/GTK) |
12 # dvim.exe: debug | 12 # dvim.exe: debug |
13 # | 13 # |
14 # Edit the lines in the Configuration section below for fine tuning. | 14 # Edit the lines in the Configuration section below for fine tuning. |
15 # | 15 # |
16 # To build: mms/descrip=Make_vms.mms | 16 # To build: mms/descrip=Make_vms.mms /ignore=warning |
17 # To clean up: mms/descrip=Make_vms.mms clean | 17 # To clean up: mms/descrip=Make_vms.mms clean |
18 # | 18 # |
19 # Hints and detailed description could be found in INSTALLVMS.TXT file. | 19 # Hints and detailed description could be found in INSTALLVMS.TXT file. |
20 # | 20 # |
21 ###################################################################### | 21 ###################################################################### |
22 # Configuration section. | 22 # Configuration section. |
23 ###################################################################### | 23 ###################################################################### |
24 # Platform selection | |
25 # Define this if you will use the VAX platform to build. | |
26 # VAX = YES | |
27 | |
28 # VMS version | 24 # VMS version |
29 # Uncomment if you use VMS version 6.2 or older | 25 # Uncomment if you use VMS version 6.2 or older |
30 # OLD_VMS = YES | 26 # OLD_VMS = YES |
31 | 27 |
32 # Compiler selection. | 28 # Compiler selection. |
47 # GUI with Motif | 43 # GUI with Motif |
48 GUI = YES | 44 GUI = YES |
49 | 45 |
50 # GUI with GTK | 46 # GUI with GTK |
51 # If you have GTK installed you might want to enable this option. | 47 # If you have GTK installed you might want to enable this option. |
48 # NOTE: you will need to properly define GTK_DIR below | |
52 # GTK = YES | 49 # GTK = YES |
53 | 50 |
54 # GUI/Motif with XPM | 51 # GUI/Motif with XPM |
55 # If you have XPM installed you might want to build Motif version with toolbar | 52 # If you have XPM installed you might want to build Motif version with toolbar |
56 # XPM = YES | 53 # XPM = YES |
95 # You can find some explanation in INSTALLVMS.TXT | 92 # You can find some explanation in INSTALLVMS.TXT |
96 ###################################################################### | 93 ###################################################################### |
97 | 94 |
98 # Compiler setup | 95 # Compiler setup |
99 | 96 |
100 .IFDEF VAX | 97 .IFDEF MMSVAX |
101 .IFDEF DECC # VAX with DECC | 98 .IFDEF DECC # VAX with DECC |
102 CC_DEF = cc # /decc # some system requires this switch | 99 CC_DEF = cc # /decc # some system requires this switch |
103 # but when it is not required /ver might fail | 100 # but when it is not required /ver might fail |
104 PREFIX = /prefix=all | 101 PREFIX = /prefix=all |
105 .ELSE # VAX with VAXC | 102 .ELSE # VAX with VAXC |
163 | 160 |
164 .IFDEF GTK | 161 .IFDEF GTK |
165 # NOTE: you need to set up your GTK_DIR (GTK root directory), because it is | 162 # NOTE: you need to set up your GTK_DIR (GTK root directory), because it is |
166 # unique on every system - logicals are not accepted | 163 # unique on every system - logicals are not accepted |
167 # please note: directory should end with . in order to /trans=conc work | 164 # please note: directory should end with . in order to /trans=conc work |
168 # Example: GTK_DIR = $1$DGA104:[USERS.ZAY.WORK.GTK1210.] | 165 # This value for GTK_DIR is an example. |
169 GTK_DIR = DKA0:[GTK1210.] | 166 GTK_DIR = $1$DGA104:[USERS.ZAY.WORK.GTK1210.] |
170 DEFS = "HAVE_CONFIG_H","FEAT_GUI_GTK" | 167 DEFS = "HAVE_CONFIG_H","FEAT_GUI_GTK" |
171 LIBS = ,OS_VMS_GTK.OPT/OPT | 168 LIBS = ,OS_VMS_GTK.OPT/OPT |
172 GUI_FLAG = /name=(as_is,short)/float=ieee/ieee=denorm | 169 GUI_FLAG = /name=(as_is,short)/float=ieee/ieee=denorm |
173 GUI_SRC = gui.c gui_gtk.c gui_gtk_f.c gui_gtk_x11.c gui_beval.c pty.c | 170 GUI_SRC = gui.c gui_gtk.c gui_gtk_f.c gui_gtk_x11.c gui_beval.c pty.c |
174 GUI_OBJ = gui.obj gui_gtk.obj gui_gtk_f.obj gui_gtk_x11.obj gui_beval.obj pty.obj | 171 GUI_OBJ = gui.obj gui_gtk.obj gui_gtk_f.obj gui_gtk_x11.obj gui_beval.obj pty.obj |
271 | 268 |
272 ###################################################################### | 269 ###################################################################### |
273 # End of configuration section. | 270 # End of configuration section. |
274 # Please, do not change anything below without programming experience. | 271 # Please, do not change anything below without programming experience. |
275 ###################################################################### | 272 ###################################################################### |
276 | |
277 | 273 |
278 MODEL_DEF = "FEAT_$(MODEL)", | 274 MODEL_DEF = "FEAT_$(MODEL)", |
279 | 275 |
280 # These go into pathdef.c | 276 # These go into pathdef.c |
281 VIMUSER = "''F$EDIT(F$GETJPI(" ","USERNAME"),"TRIM")'" | 277 VIMUSER = "''F$EDIT(F$GETJPI(" ","USERNAME"),"TRIM")'" |
358 -@ write pd "char_u *default_vimruntime_dir = (char_u *)"$(VIMRUN)";" | 354 -@ write pd "char_u *default_vimruntime_dir = (char_u *)"$(VIMRUN)";" |
359 -@ write pd "char_u *all_cflags = (char_u *)""$(CC_DEF)$(ALL_CFLAGS_VER)"";" | 355 -@ write pd "char_u *all_cflags = (char_u *)""$(CC_DEF)$(ALL_CFLAGS_VER)"";" |
360 -@ write pd "char_u *all_lflags = (char_u *)""$(LD_DEF)$(LDFLAGS) /exe=$(TARGET) *.OBJ $(ALL_LIBS)"";" | 356 -@ write pd "char_u *all_lflags = (char_u *)""$(LD_DEF)$(LDFLAGS) /exe=$(TARGET) *.OBJ $(ALL_LIBS)"";" |
361 -@ write pd "char_u *compiler_version = (char_u *) ""''CC_VER'"";" | 357 -@ write pd "char_u *compiler_version = (char_u *) ""''CC_VER'"";" |
362 -@ write pd "char_u *compiled_user = (char_u *) "$(VIMUSER)";" | 358 -@ write pd "char_u *compiled_user = (char_u *) "$(VIMUSER)";" |
363 -@ write pd "char_u *compiled_sys = (char_u *) "$(VIMHOST)";" | 359 -@ write pd "char_u *compiled_sys = (char_u *) "$(VIMHOST)";" |
360 -@ write pd "char_u *compiled_arch = (char_u *) ""$(MMSARCH_NAME)"";" | |
364 -@ close pd | 361 -@ close pd |
365 | 362 |
366 if_perl.c : if_perl.xs | 363 if_perl.c : if_perl.xs |
367 -@ $(PERL) PERL_ROOT:[LIB.ExtUtils]xsubpp -prototypes -typemap - | 364 -@ $(PERL) PERL_ROOT:[LIB.ExtUtils]xsubpp -prototypes -typemap - |
368 PERL_ROOT:[LIB.ExtUtils]typemap if_perl.xs >> $@ | 365 PERL_ROOT:[LIB.ExtUtils]typemap if_perl.xs >> $@ |