Mercurial > vim
comparison src/Make_vms.mms @ 414:8ab9c77240d4
updated for version 7.0108
author | vimboss |
---|---|
date | Tue, 12 Jul 2005 22:46:17 +0000 |
parents | 7fd4b5df33be |
children | eb531146be0e |
comparison
equal
deleted
inserted
replaced
413:3d8ab81abe04 | 414:8ab9c77240d4 |
---|---|
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: 2005 Mar 19 | 5 # Last change: 2005 Jul 12 |
6 # | 6 # |
7 # This has script been tested on VMS 6.2 to 7.3 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 |
48 | 48 |
49 # GUI with GTK | 49 # GUI with GTK |
50 # If you have GTK installed you might want to enable this option. | 50 # If you have GTK installed you might want to enable this option. |
51 # GTK = YES | 51 # GTK = YES |
52 | 52 |
53 # GUI/Motif with XPM | |
54 # If you have XPM installed you might want to build Motif version with toolbar | |
55 # XPM = YES | |
56 | |
53 # Comment out if you want the compiler version with :ver command. | 57 # Comment out if you want the compiler version with :ver command. |
54 # NOTE: This part can make some complications if you're using some | 58 # NOTE: This part can make some complications if you're using some |
55 # predefined symbols/flags for your compiler. If does, just leave behind | 59 # predefined symbols/flags for your compiler. If does, just leave behind |
56 # the comment varialbe CCVER. | 60 # the comment varialbe CCVER. |
57 CCVER = YES | 61 CCVER = YES |
131 | 135 |
132 CONFIG_H = os_vms_conf.h | 136 CONFIG_H = os_vms_conf.h |
133 | 137 |
134 .IFDEF GTK | 138 .IFDEF GTK |
135 .IFDEF GUI | 139 .IFDEF GUI |
140 .IFDEF XPM | |
136 .ELSE | 141 .ELSE |
137 GUI = YES | 142 GUI = YES |
143 .ENDIF | |
138 .ENDIF | 144 .ENDIF |
139 .ENDIF | 145 .ENDIF |
140 | 146 |
141 .IFDEF GUI | 147 .IFDEF GUI |
142 # X/Motif/GTK executable (also works in terminal mode ) | 148 # X/Motif/GTK executable (also works in terminal mode ) |
143 | 149 |
144 .IFDEF GTK | 150 .IFDEF GTK |
151 # define GTK root directory | |
152 # please note: directory should end with . in order to /trans=conc work | |
153 # example: GTK_DIR = $1$DGA104:[USERS.ZAY.WORK.GTK1210.] | |
145 GTK_DIR = ALPHA$DKA0:[GTK128.] | 154 GTK_DIR = ALPHA$DKA0:[GTK128.] |
146 DEFS = "HAVE_CONFIG_H","FEAT_GUI_GTK" | 155 DEFS = "HAVE_CONFIG_H","FEAT_GUI_GTK" |
147 LIBS = ,OS_VMS_GTK.OPT/OPT | 156 LIBS = ,OS_VMS_GTK.OPT/OPT |
148 GUI_FLAG = /name=(as_is,short)/float=ieee/ieee=denorm | 157 GUI_FLAG = /name=(as_is,short)/float=ieee/ieee=denorm |
149 GUI_SRC = gui.c gui_gtk.c gui_gtk_f.c gui_gtk_x11.c pty.c | 158 GUI_SRC = gui.c gui_gtk.c gui_gtk_f.c gui_gtk_x11.c gui_beval.c pty.c |
150 GUI_OBJ = gui.obj gui_gtk.obj gui_gtk_f.obj gui_gtk_x11.obj pty.obj | 159 GUI_OBJ = gui.obj gui_gtk.obj gui_gtk_f.obj gui_gtk_x11.obj gui_beval.obj pty.obj |
151 GUI_INC = ,"/gtk_root/gtk","/gtk_root/glib" | 160 GUI_INC = ,"/gtk_root/gtk","/gtk_root/glib" |
152 # GUI_INC_VER is used just for :ver information | 161 # GUI_INC_VER is used just for :ver information |
153 # this string should escape from C and DCL in the same time | 162 # this string should escape from C and DCL in the same time |
154 GUI_INC_VER= ,\""/gtk_root/gtk\"",\""/gtk_root/glib\"" | 163 GUI_INC_VER= ,\""/gtk_root/gtk\"",\""/gtk_root/glib\"" |
155 .else | 164 .ELSE |
156 MOTIF = YES | 165 MOTIF = YES |
166 .IFDEF XPM | |
167 DEFS = "HAVE_CONFIG_H","FEAT_GUI_MOTIF","HAVE_XPM" | |
168 .ELSE | |
157 DEFS = "HAVE_CONFIG_H","FEAT_GUI_MOTIF" | 169 DEFS = "HAVE_CONFIG_H","FEAT_GUI_MOTIF" |
170 .ENDIF | |
158 LIBS = ,OS_VMS_MOTIF.OPT/OPT | 171 LIBS = ,OS_VMS_MOTIF.OPT/OPT |
159 GUI_FLAG = | 172 GUI_FLAG = |
160 GUI_SRC = gui.c gui_motif.c gui_x11.c | 173 GUI_SRC = gui.c gui_motif.c gui_x11.c gui_beval.c gui_xmdlg.c gui_xmebw.c |
161 GUI_OBJ = gui.obj gui_motif.obj gui_x11.obj | 174 GUI_OBJ = gui.obj gui_motif.obj gui_x11.obj gui_beval.obj gui_xmdlg.obj gui_xmebw.obj |
162 GUI_INC = | 175 GUI_INC = |
163 .ENDIF | 176 .ENDIF |
164 | 177 |
165 # You need to define these variables if you do not have DECW files | 178 # You need to define these variables if you do not have DECW files |
166 # at standard location | 179 # at standard location |
358 -@ ! | 371 -@ ! |
359 .ENDIF | 372 .ENDIF |
360 | 373 |
361 .IFDEF MOTIF | 374 .IFDEF MOTIF |
362 motif_env : | 375 motif_env : |
363 -@ write sys$output "using DECW/Motif environment." | 376 .IFDEF XPM |
377 -@ write sys$output "using DECW/Motif/XPM environment." | |
378 .ELSE | |
379 -@ write sys$output "using DECW/Motif environment." | |
380 .ENDIF | |
364 -@ write sys$output "creating OS_VMS_MOTIF.OPT file." | 381 -@ write sys$output "creating OS_VMS_MOTIF.OPT file." |
365 -@ open/write opt_file OS_VMS_MOTIF.OPT | 382 -@ open/write opt_file OS_VMS_MOTIF.OPT |
366 -@ write opt_file "sys$share:decw$xmlibshr12.exe/share,-" | 383 -@ write opt_file "sys$share:decw$xmlibshr12.exe/share,-" |
367 -@ write opt_file "sys$share:decw$xtlibshrr5.exe/share,-" | 384 -@ write opt_file "sys$share:decw$xtlibshrr5.exe/share,-" |
368 -@ write opt_file "sys$share:decw$xlibshr.exe/share" | 385 -@ write opt_file "sys$share:decw$xlibshr.exe/share" |
739 globals.h farsi.h arabic.h integration.h | 756 globals.h farsi.h arabic.h integration.h |
740 netbeans.obj : netbeans.c vim.h [.auto]config.h feature.h os_unix.h \ | 757 netbeans.obj : netbeans.c vim.h [.auto]config.h feature.h os_unix.h \ |
741 ascii.h keymap.h term.h macros.h structs.h regexp.h \ | 758 ascii.h keymap.h term.h macros.h structs.h regexp.h \ |
742 gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \ | 759 gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \ |
743 globals.h farsi.h arabic.h version.h | 760 globals.h farsi.h arabic.h version.h |
761 gui_xmdlg.obj : gui_xmdlg.c | |
762 gui_xmebw.obj : gui_xmebw.c |