summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-16 21:06:21 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-16 21:06:21 +0200
commitdac1347b4d9c1a1aef6aa73fdea08a9d1077d6ea (patch)
tree4c9124f2de51bedb339bc5cdb47a3086c0e92af9 /src/Makefile
parent8aeec40207b5adcd3a155277dc4f29189343b963 (diff)
patch 8.1.2045: the option.c file is too bigv8.1.2045
Problem: The option.c file is too big. Solution: Split off the code dealing with strings. (Yegappan Lakshmanan, closes #4937)
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 0efd88f70d..c89fdb1351 100644
--- 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 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 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 \