comparison src/Make_vms.mms @ 2441:620a42739426 vim73

Improvements for VMS. (Zoltan Arpadffy)
author Bram Moolenaar <bram@vim.org>
date Fri, 30 Jul 2010 22:29:41 +0200
parents 33148c37f3c9
children 04736b4030ec
comparison
equal deleted inserted replaced
2440:fc695854c33a 2441:620a42739426
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: 2010 Jul 28 5 # Last change: 2008 Aug 16
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:
39 MODEL = HUGE 39 MODEL = HUGE
40 40
41 # GUI or terminal mode executable. 41 # GUI or terminal mode executable.
42 # Comment out if you want just the character terminal mode only. 42 # Comment out if you want just the character terminal mode only.
43 # GUI with Motif 43 # GUI with Motif
44 GUI = YES 44 # GUI = YES
45 45
46 # GUI with GTK 46 # GUI with GTK
47 # 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 48 # NOTE: you will need to properly define GTK_DIR below
49 # GTK = YES 49 # GTK = YES
81 # VIM_HANGULIN = YES 81 # VIM_HANGULIN = YES
82 82
83 # Allow any white space to separate the fields in a tags file 83 # Allow any white space to separate the fields in a tags file
84 # When not defined, only a TAB is allowed. 84 # When not defined, only a TAB is allowed.
85 # VIM_TAG_ANYWHITE = YES 85 # VIM_TAG_ANYWHITE = YES
86
87 # Allow FEATURE_MZSCHEME
88 # VIM_MZSCHEME = YES
86 89
87 ###################################################################### 90 ######################################################################
88 # Directory, library and include files configuration section. 91 # Directory, library and include files configuration section.
89 # Normally you need not to change anything below. ! 92 # Normally you need not to change anything below. !
90 # These may need to be defined if things are not in standard locations 93 # These may need to be defined if things are not in standard locations
262 .IFDEF VIM_TAG_ANYWHITE 265 .IFDEF VIM_TAG_ANYWHITE
263 # TAG_ANYWHITE related setup. 266 # TAG_ANYWHITE related setup.
264 TAG_DEF = ,"FEAT_TAG_ANYWHITE" 267 TAG_DEF = ,"FEAT_TAG_ANYWHITE"
265 .ENDIF 268 .ENDIF
266 269
270 .IFDEF VIM_MZSCHEME
271 # MZSCHEME related setup
272 MZSCH_DEF = ,"FEAT_MZSCHEME"
273 MZSCH_SRC = if_mzsch.c
274 MZSCH_OBJ = if_mzsch.obj
275 .ENDIF
267 276
268 ###################################################################### 277 ######################################################################
269 # End of configuration section. 278 # End of configuration section.
270 # Please, do not change anything below without programming experience. 279 # Please, do not change anything below without programming experience.
271 ###################################################################### 280 ######################################################################
277 VIMHOST = "''F$TRNLNM("SYS$NODE")'''F$TRNLNM("UCX$INET_HOST")'.''F$TRNLNM("UCX$INET_DOMAIN")'" 286 VIMHOST = "''F$TRNLNM("SYS$NODE")'''F$TRNLNM("UCX$INET_HOST")'.''F$TRNLNM("UCX$INET_DOMAIN")'"
278 287
279 .SUFFIXES : .obj .c 288 .SUFFIXES : .obj .c
280 289
281 ALL_CFLAGS = /def=($(MODEL_DEF)$(DEFS)$(VMS_DEF)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF) - 290 ALL_CFLAGS = /def=($(MODEL_DEF)$(DEFS)$(VMS_DEF)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF) -
282 $(TCL_DEF)$(SNIFF_DEF)$(RUBY_DEF)$(XIM_DEF)$(HANGULIN_DEF)$(TAG_DEF)) - 291 $(TCL_DEF)$(SNIFF_DEF)$(RUBY_DEF)$(XIM_DEF)$(HANGULIN_DEF)$(TAG_DEF)$(MZSCH_DEF)) -
283 $(CFLAGS)$(GUI_FLAG) - 292 $(CFLAGS)$(GUI_FLAG) -
284 /include=($(C_INC)$(GUI_INC_DIR)$(GUI_INC)$(PERL_INC)$(PYTHON_INC)$(TCL_INC)) 293 /include=($(C_INC)$(GUI_INC_DIR)$(GUI_INC)$(PERL_INC)$(PYTHON_INC)$(TCL_INC))
285 294
286 # CFLAGS displayed in :ver information 295 # CFLAGS displayed in :ver information
287 # It is specially formated for correct display of unix like includes 296 # It is specially formated for correct display of unix like includes
288 # as $(GUI_INC) - replaced with $(GUI_INC_VER) 297 # as $(GUI_INC) - replaced with $(GUI_INC_VER)
289 # Otherwise should not be any other difference. 298 # Otherwise should not be any other difference.
290 ALL_CFLAGS_VER = /def=($(MODEL_DEF)$(DEFS)$(VMS_DEF)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF) - 299 ALL_CFLAGS_VER = /def=($(MODEL_DEF)$(DEFS)$(VMS_DEF)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF) -
291 $(TCL_DEF)$(SNIFF_DEF)$(RUBY_DEF)$(XIM_DEF)$(HANGULIN_DEF)$(TAG_DEF)) - 300 $(TCL_DEF)$(SNIFF_DEF)$(RUBY_DEF)$(XIM_DEF)$(HANGULIN_DEF)$(TAG_DEF)$(MZSCH_DEF)) -
292 $(CFLAGS)$(GUI_FLAG) - 301 $(CFLAGS)$(GUI_FLAG) -
293 /include=($(C_INC)$(GUI_INC_DIR)$(GUI_INC_VER)$(PERL_INC)$(PYTHON_INC)$(TCL_INC)) 302 /include=($(C_INC)$(GUI_INC_DIR)$(GUI_INC_VER)$(PERL_INC)$(PYTHON_INC)$(TCL_INC))
294 303
295 ALL_LIBS = $(LIBS) $(GUI_LIB_DIR) $(GUI_LIB) \ 304 ALL_LIBS = $(LIBS) $(GUI_LIB_DIR) $(GUI_LIB) \
296 $(PERL_LIB) $(PYTHON_LIB) $(TCL_LIB) $(SNIFF_LIB) $(RUBY_LIB) 305 $(PERL_LIB) $(PYTHON_LIB) $(TCL_LIB) $(SNIFF_LIB) $(RUBY_LIB)
300 hardcopy.c hashtab.c main.c mark.c menu.c mbyte.c memfile.c memline.c message.c misc1.c \ 309 hardcopy.c hashtab.c main.c mark.c menu.c mbyte.c memfile.c memline.c message.c misc1.c \
301 misc2.c move.c normal.c ops.c option.c popupmnu.c quickfix.c regexp.c search.c sha256.c\ 310 misc2.c move.c normal.c ops.c option.c popupmnu.c quickfix.c regexp.c search.c sha256.c\
302 spell.c syntax.c tag.c term.c termlib.c ui.c undo.c version.c screen.c \ 311 spell.c syntax.c tag.c term.c termlib.c ui.c undo.c version.c screen.c \
303 window.c os_unix.c os_vms.c pathdef.c \ 312 window.c os_unix.c os_vms.c pathdef.c \
304 $(GUI_SRC) $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) $(SNIFF_SRC) \ 313 $(GUI_SRC) $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) $(SNIFF_SRC) \
305 $(RUBY_SRC) $(HANGULIN_SRC) 314 $(RUBY_SRC) $(HANGULIN_SRC) $(MZSCH_SRC)
306 315
307 OBJ = blowfish.obj buffer.obj charset.obj diff.obj digraph.obj edit.obj eval.obj \ 316 OBJ = blowfish.obj buffer.obj charset.obj diff.obj digraph.obj edit.obj eval.obj \
308 ex_cmds.obj ex_cmds2.obj ex_docmd.obj ex_eval.obj ex_getln.obj \ 317 ex_cmds.obj ex_cmds2.obj ex_docmd.obj ex_eval.obj ex_getln.obj \
309 if_xcmdsrv.obj fileio.obj fold.obj getchar.obj hardcopy.obj hashtab.obj main.obj mark.obj \ 318 if_xcmdsrv.obj fileio.obj fold.obj getchar.obj hardcopy.obj hashtab.obj main.obj mark.obj \
310 menu.obj memfile.obj memline.obj message.obj misc1.obj misc2.obj \ 319 menu.obj memfile.obj memline.obj message.obj misc1.obj misc2.obj \
311 move.obj mbyte.obj normal.obj ops.obj option.obj popupmnu.obj quickfix.obj \ 320 move.obj mbyte.obj normal.obj ops.obj option.obj popupmnu.obj quickfix.obj \
312 regexp.obj search.obj sha256.obj spell.obj syntax.obj tag.obj term.obj termlib.obj \ 321 regexp.obj search.obj sha256.obj spell.obj syntax.obj tag.obj term.obj termlib.obj \
313 ui.obj undo.obj screen.obj version.obj window.obj os_unix.obj \ 322 ui.obj undo.obj screen.obj version.obj window.obj os_unix.obj \
314 os_vms.obj pathdef.obj \ 323 os_vms.obj pathdef.obj if_mzsch.obj\
315 $(GUI_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(TCL_OBJ) $(SNIFF_OBJ) \ 324 $(GUI_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(TCL_OBJ) $(SNIFF_OBJ) \
316 $(RUBY_OBJ) $(HANGULIN_OBJ) 325 $(RUBY_OBJ) $(HANGULIN_OBJ) $(MZSCH_OBJ)
317 326
318 # Default target is making the executable 327 # Default target is making the executable
319 all : [.auto]config.h mmk_compat motif_env gtk_env perl_env python_env tcl_env ruby_env $(TARGET) 328 all : [.auto]config.h mmk_compat motif_env gtk_env perl_env python_env tcl_env ruby_env $(TARGET)
320 ! $@ 329 ! $@
321 330
552 globals.h farsi.h arabic.h if_cscope.h 561 globals.h farsi.h arabic.h if_cscope.h
553 if_xcmdsrv.obj : if_xcmdsrv.c vim.h [.auto]config.h feature.h os_unix.h \ 562 if_xcmdsrv.obj : if_xcmdsrv.c vim.h [.auto]config.h feature.h os_unix.h \
554 ascii.h keymap.h term.h macros.h structs.h regexp.h \ 563 ascii.h keymap.h term.h macros.h structs.h regexp.h \
555 gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \ 564 gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
556 globals.h farsi.h arabic.h version.h 565 globals.h farsi.h arabic.h version.h
566 if_mzsch.obj : if_mzsch.c vim.h [.auto]config.h feature.h os_unix.h \
567 ascii.h keymap.h term.h macros.h option.h structs.h \
568 regexp.h gui.h gui_beval.h [.proto]gui_beval.pro ex_cmds.h proto.h \
569 globals.h farsi.h arabic.h if_mzsch.h
557 main.obj : main.c vim.h [.auto]config.h feature.h os_unix.h \ 570 main.obj : main.c vim.h [.auto]config.h feature.h os_unix.h \
558 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \ 571 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
559 [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \ 572 [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
560 arabic.h farsi.c arabic.c 573 arabic.h farsi.c arabic.c
561 mark.obj : mark.c vim.h [.auto]config.h feature.h os_unix.h \ 574 mark.obj : mark.c vim.h [.auto]config.h feature.h os_unix.h \