comparison src/Make_vms.mms @ 18761:e3785af3ba0f v8.1.2370

patch 8.1.2370: build problems on VMS Commit: https://github.com/vim/vim/commit/0c5c3faef2d54151a8c144539e3e5a3350fb18c7 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 30 22:38:16 2019 +0100 patch 8.1.2370: build problems on VMS Problem: Build problems on VMS. Solution: Adjust the build file. (Zoltan Arpadffy)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Nov 2019 22:45:04 +0100
parents f1658662ea84
children 5ecefcbd12a1
comparison
equal deleted inserted replaced
18760:fa208f8423ad 18761:e3785af3ba0f
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: 2019 Nov 21 5 # Last change: 2019 Nov 30
6 # 6 #
7 # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64 7 # This script has been tested on VMS 6.2 to 8.4 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
519 -@ if "''F$SEARCH("if_perl.c")'" .NES. "" then delete/noconfirm/nolog if_perl.c;* 519 -@ if "''F$SEARCH("if_perl.c")'" .NES. "" then delete/noconfirm/nolog if_perl.c;*
520 -@ if "''F$SEARCH("*.opt")'" .NES. "" then delete/noconfirm/nolog *.opt;* 520 -@ if "''F$SEARCH("*.opt")'" .NES. "" then delete/noconfirm/nolog *.opt;*
521 521
522 # Link the target 522 # Link the target
523 $(TARGET) : $(OBJ) 523 $(TARGET) : $(OBJ)
524 $(LD_DEF) $(LDFLAGS) /exe=$(TARGET) $+ $(ALL_LIBS) 524 # make an OPT file - as the obj file list is too long for one command line
525 -@ DIRECTORY *.OBJ. /BRIEF/COLUMNS=1/NOHEADING/NOTRAILING /SELECT=FILE=(NONODE,NODEVICE,NODIRECTORY,NOVERSION)/OUTPUT=ALL_OBJS_LIST.OPT
526 $(LD_DEF) $(LDFLAGS) /exe=$(TARGET) ALL_OBJS_LIST.OPT/OPT $(ALL_LIBS)
525 527
526 .c.obj : 528 .c.obj :
527 $(CC_DEF) $(ALL_CFLAGS) $< 529 $(CC_DEF) $(ALL_CFLAGS) $<
528 530
529 pathdef.c : check_ccver $(CONFIG_H) 531 pathdef.c : check_ccver $(CONFIG_H)
534 -@ write pd " * Change the file MAKE_VMS.MMS Only. */" 536 -@ write pd " * Change the file MAKE_VMS.MMS Only. */"
535 -@ write pd "typedef unsigned char char_u;" 537 -@ write pd "typedef unsigned char char_u;"
536 -@ write pd "char_u *default_vim_dir = (char_u *)"$(VIMLOC)";" 538 -@ write pd "char_u *default_vim_dir = (char_u *)"$(VIMLOC)";"
537 -@ write pd "char_u *default_vimruntime_dir = (char_u *)"$(VIMRUN)";" 539 -@ write pd "char_u *default_vimruntime_dir = (char_u *)"$(VIMRUN)";"
538 -@ write pd "char_u *all_cflags = (char_u *)""$(CC_DEF)$(ALL_CFLAGS_VER)"";" 540 -@ write pd "char_u *all_cflags = (char_u *)""$(CC_DEF)$(ALL_CFLAGS_VER)"";"
539 -@ write pd "char_u *all_lflags = (char_u *)""$(LD_DEF)$(LDFLAGS) /exe=$(TARGET) *.OBJ $(ALL_LIBS)"";" 541 -@ write pd "char_u *all_lflags = (char_u *)""$(LD_DEF)$(LDFLAGS) /exe=$(TARGET) ALL_OBJS_LIST.OPT/OPT $(ALL_LIBS)"";"
540 -@ write pd "char_u *compiler_version = (char_u *) ""''CC_VER'"";" 542 -@ write pd "char_u *compiler_version = (char_u *) ""''CC_VER'"";"
541 -@ write pd "char_u *compiled_user = (char_u *) "$(VIMUSER)";" 543 -@ write pd "char_u *compiled_user = (char_u *) "$(VIMUSER)";"
542 -@ write pd "char_u *compiled_sys = (char_u *) "$(VIMHOST)";" 544 -@ write pd "char_u *compiled_sys = (char_u *) "$(VIMHOST)";"
543 -@ write pd "char_u *compiled_arch = (char_u *) ""$(MMSARCH_NAME)"";" 545 -@ write pd "char_u *compiled_arch = (char_u *) ""$(MMSARCH_NAME)"";"
544 -@ close pd 546 -@ close pd
545 547
546 if_perl.c : if_perl.xs 548 if_perl.c : if_perl.xs
547 -@ $(PERL) PERL_ROOT:[LIB.ExtUtils]xsubpp -prototypes -typemap - 549 -@ $(PERL) PERL_ROOT:[LIB.ExtUtils]xsubpp -prototypes -typemap - PERL_ROOT:[LIB.ExtUtils]typemap if_perl.xs >> $@
548 PERL_ROOT:[LIB.ExtUtils]typemap if_perl.xs >> $@
549 550
550 make_vms.mms : 551 make_vms.mms :
551 -@ write sys$output "The name of the makefile MUST be <MAKE_VMS.MMS> !!!" 552 -@ write sys$output "The name of the makefile MUST be <MAKE_VMS.MMS> !!!"
552 553
553 .IFDEF CCVER 554 .IFDEF CCVER
830 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \ 831 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
831 [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h \ 832 [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h \
832 arabic.c 833 arabic.c
833 map.obj : map.c vim.h [.auto]config.h feature.h os_unix.h \ 834 map.obj : map.c vim.h [.auto]config.h feature.h os_unix.h \
834 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \ 835 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
835 [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h \ 836 [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h
836 mark.obj : mark.c vim.h [.auto]config.h feature.h os_unix.h \ 837 mark.obj : mark.c vim.h [.auto]config.h feature.h os_unix.h \
837 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \ 838 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
838 [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h 839 [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h
839 memfile.obj : memfile.c vim.h [.auto]config.h feature.h os_unix.h \ 840 memfile.obj : memfile.c vim.h [.auto]config.h feature.h os_unix.h \
840 ascii.h keymap.h term.h macros.h structs.h regexp.h \ 841 ascii.h keymap.h term.h macros.h structs.h regexp.h \