summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2021-08-06 21:51:55 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-06 21:51:55 +0200
commitcbae5802832b29f3a1af4cb6b0fc8cf69f17cbf4 (patch)
treeca9812e45634ddce3042e0723892cae596c6e62c /src/Makefile
parent11328bc7df0ecc47f4025a10bb86882a659e9994 (diff)
patch 8.2.3301: memory allocation functions don't have their own placev8.2.3301
Problem: Memory allocation functions don't have their own place. Solution: Move memory allocation functions to alloc.c. (Yegappan Lakshmanan, closes #8717)
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 6fa9d25c61..4ac2634a5e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1590,6 +1590,7 @@ include testdir/Make_all.mak
# ALL_SRC: source files used for make depend and make lint
BASIC_SRC = \
+ alloc.c \
arabic.c \
arglist.c \
autocmd.c \
@@ -1747,6 +1748,7 @@ LINT_SRC = $(BASIC_SRC) $(GUI_SRC) \
#LINT_SRC = $(BASIC_SRC)
OBJ_COMMON = \
+ objects/alloc.o \
objects/arabic.o \
objects/arglist.o \
objects/autocmd.o \
@@ -1917,6 +1919,7 @@ ALL_OBJ = $(OBJ_COMMON) \
PRO_AUTO = \
+ alloc.pro \
arabic.pro \
arglist.pro \
autocmd.pro \
@@ -3150,6 +3153,9 @@ objects/.dirstamp:
# time.
$(ALL_OBJ): objects/.dirstamp
+objects/alloc.o: alloc.c
+ $(CCC) -o $@ alloc.c
+
objects/arabic.o: arabic.c
$(CCC) -o $@ arabic.c
@@ -3711,6 +3717,10 @@ installglinks_haiku: $(HAIKU_GLINKS) install_haiku_extra
###############################################################################
### (automatically generated by 'make depend')
### Dependencies:
+objects/alloc.o: alloc.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 errors.h globals.h
objects/arabic.o: arabic.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 \