summaryrefslogtreecommitdiffstats
path: root/src/Make_vms.mms
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-30 22:38:16 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-30 22:38:16 +0100
commit0c5c3faef2d54151a8c144539e3e5a3350fb18c7 (patch)
tree03c50a14ada7c115302d2012659da2f681a4a43d /src/Make_vms.mms
parenta2c2ae473ab8789ceba9706713441a365dec685e (diff)
patch 8.1.2370: build problems on VMSv8.1.2370
Problem: Build problems on VMS. Solution: Adjust the build file. (Zoltan Arpadffy)
Diffstat (limited to 'src/Make_vms.mms')
-rw-r--r--src/Make_vms.mms15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/Make_vms.mms b/src/Make_vms.mms
index 7c5a728d4e..f635d56027 100644
--- a/src/Make_vms.mms
+++ b/src/Make_vms.mms
@@ -2,9 +2,9 @@
# Makefile for Vim on OpenVMS
#
# Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
-# Last change: 2019 Nov 21
+# Last change: 2019 Nov 30
#
-# This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
+# This script has been tested on VMS 6.2 to 8.4 on DEC Alpha, VAX and IA64
# with MMS and MMK
#
# The following could be built:
@@ -521,7 +521,9 @@ clean :
# Link the target
$(TARGET) : $(OBJ)
- $(LD_DEF) $(LDFLAGS) /exe=$(TARGET) $+ $(ALL_LIBS)
+# make an OPT file - as the obj file list is too long for one command line
+ -@ DIRECTORY *.OBJ. /BRIEF/COLUMNS=1/NOHEADING/NOTRAILING /SELECT=FILE=(NONODE,NODEVICE,NODIRECTORY,NOVERSION)/OUTPUT=ALL_OBJS_LIST.OPT
+ $(LD_DEF) $(LDFLAGS) /exe=$(TARGET) ALL_OBJS_LIST.OPT/OPT $(ALL_LIBS)
.c.obj :
$(CC_DEF) $(ALL_CFLAGS) $<
@@ -536,7 +538,7 @@ pathdef.c : check_ccver $(CONFIG_H)
-@ write pd "char_u *default_vim_dir = (char_u *)"$(VIMLOC)";"
-@ write pd "char_u *default_vimruntime_dir = (char_u *)"$(VIMRUN)";"
-@ write pd "char_u *all_cflags = (char_u *)""$(CC_DEF)$(ALL_CFLAGS_VER)"";"
- -@ write pd "char_u *all_lflags = (char_u *)""$(LD_DEF)$(LDFLAGS) /exe=$(TARGET) *.OBJ $(ALL_LIBS)"";"
+ -@ write pd "char_u *all_lflags = (char_u *)""$(LD_DEF)$(LDFLAGS) /exe=$(TARGET) ALL_OBJS_LIST.OPT/OPT $(ALL_LIBS)"";"
-@ write pd "char_u *compiler_version = (char_u *) ""''CC_VER'"";"
-@ write pd "char_u *compiled_user = (char_u *) "$(VIMUSER)";"
-@ write pd "char_u *compiled_sys = (char_u *) "$(VIMHOST)";"
@@ -544,8 +546,7 @@ pathdef.c : check_ccver $(CONFIG_H)
-@ close pd
if_perl.c : if_perl.xs
- -@ $(PERL) PERL_ROOT:[LIB.ExtUtils]xsubpp -prototypes -typemap -
- PERL_ROOT:[LIB.ExtUtils]typemap if_perl.xs >> $@
+ -@ $(PERL) PERL_ROOT:[LIB.ExtUtils]xsubpp -prototypes -typemap - PERL_ROOT:[LIB.ExtUtils]typemap if_perl.xs >> $@
make_vms.mms :
-@ write sys$output "The name of the makefile MUST be <MAKE_VMS.MMS> !!!"
@@ -832,7 +833,7 @@ main.obj : main.c vim.h [.auto]config.h feature.h os_unix.h \
arabic.c
map.obj : map.c vim.h [.auto]config.h feature.h os_unix.h \
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
- [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h \
+ [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h
mark.obj : mark.c vim.h [.auto]config.h feature.h os_unix.h \
ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h beval.h \
[.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h