Mercurial > vim
diff src/Makefile @ 18100:df5778d73320 v8.1.2045
patch 8.1.2045: the option.c file is too big
Commit: https://github.com/vim/vim/commit/dac1347b4d9c1a1aef6aa73fdea08a9d1077d6ea
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 16 21:06:21 2019 +0200
patch 8.1.2045: the option.c file is too big
Problem: The option.c file is too big.
Solution: Split off the code dealing with strings. (Yegappan Lakshmanan,
closes #4937)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 Sep 2019 21:15:05 +0200 |
parents | 88b5c2b4e3d2 |
children | 2a806e3c39f6 |
line wrap: on
line diff
--- a/src/Makefile +++ b/src/Makefile @@ -1632,6 +1632,7 @@ BASIC_SRC = \ normal.c \ ops.c \ option.c \ + optionstr.c \ os_unix.c \ auto/pathdef.c \ popupmnu.c \ @@ -1762,6 +1763,7 @@ OBJ_COMMON = \ objects/normal.o \ objects/ops.o \ objects/option.o \ + objects/optionstr.o \ objects/os_unix.o \ objects/pathdef.o \ objects/popupmnu.o \ @@ -1917,6 +1919,7 @@ PRO_AUTO = \ normal.pro \ ops.pro \ option.pro \ + optionstr.pro \ os_mac_conv.pro \ os_unix.pro \ popupmnu.pro \ @@ -3287,6 +3290,9 @@ objects/ops.o: ops.c objects/option.o: option.c optiondefs.h $(CCC_NF) $(LUA_CFLAGS) $(PERL_CFLAGS) $(PYTHON_CFLAGS) $(PYTHON3_CFLAGS) $(RUBY_CFLAGS) $(TCL_CFLAGS) $(ALL_CFLAGS) -o $@ option.c +objects/optionstr.o: optionstr.c + $(CCC_NF) $(LUA_CFLAGS) $(PERL_CFLAGS) $(PYTHON_CFLAGS) $(PYTHON3_CFLAGS) $(RUBY_CFLAGS) $(TCL_CFLAGS) $(ALL_CFLAGS) -o $@ optionstr.c + objects/os_beos.o: os_beos.c $(CCC) -o $@ os_beos.c @@ -3763,6 +3769,10 @@ objects/option.o: option.c vim.h protode auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \ proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \ proto.h globals.h optiondefs.h +objects/optionstr.o: optionstr.c vim.h protodef.h auto/config.h feature.h os_unix.h \ + auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \ + proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \ + proto.h globals.h objects/os_unix.o: os_unix.c vim.h protodef.h auto/config.h feature.h os_unix.h \ auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \ proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \