Mercurial > vim
comparison src/Makefile @ 21423:5db63c2c6929 v8.2.1262
patch 8.2.1262: src/ex_cmds.c file is too big
Commit: https://github.com/vim/vim/commit/f868ba89039045b25efe83d12ca501d657e170e8
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 21 21:07:20 2020 +0200
patch 8.2.1262: src/ex_cmds.c file is too big
Problem: src/ex_cmds.c file is too big.
Solution: Move help related code to src/help.c. (Yegappan Lakshmanan,
closes #6506)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 21 Jul 2020 21:15:06 +0200 |
parents | adae19565eea |
children | 8e19c509a4bf |
comparison
equal
deleted
inserted
replaced
21422:af29e2470306 | 21423:5db63c2c6929 |
---|---|
402 # Uncomment one of these when you want to include the Lua interface. | 402 # Uncomment one of these when you want to include the Lua interface. |
403 # First one is for static linking, second one for dynamic loading. | 403 # First one is for static linking, second one for dynamic loading. |
404 # Use --with-luajit if you want to use LuaJIT instead of Lua. | 404 # Use --with-luajit if you want to use LuaJIT instead of Lua. |
405 # Set PATH environment variable to find lua or luajit executable. | 405 # Set PATH environment variable to find lua or luajit executable. |
406 # This requires at least "normal" features, "tiny" and "small" don't work. | 406 # This requires at least "normal" features, "tiny" and "small" don't work. |
407 #CONF_OPT_LUA = --enable-luainterp | 407 CONF_OPT_LUA = --enable-luainterp |
408 #CONF_OPT_LUA = --enable-luainterp=dynamic | 408 #CONF_OPT_LUA = --enable-luainterp=dynamic |
409 #CONF_OPT_LUA = --enable-luainterp --with-luajit | 409 #CONF_OPT_LUA = --enable-luainterp --with-luajit |
410 #CONF_OPT_LUA = --enable-luainterp=dynamic --with-luajit | 410 #CONF_OPT_LUA = --enable-luainterp=dynamic --with-luajit |
411 # Lua installation dir (when not set uses $LUA_PREFIX or defaults to /usr) | 411 # Lua installation dir (when not set uses $LUA_PREFIX or defaults to /usr) |
412 #CONF_OPT_LUA_PREFIX = --with-lua-prefix=/usr/local | 412 #CONF_OPT_LUA_PREFIX = --with-lua-prefix=/usr/local |
445 # ln -s python3 python3.1 | 445 # ln -s python3 python3.1 |
446 # If both python2.x and python3.x are enabled then the linking will be via | 446 # If both python2.x and python3.x are enabled then the linking will be via |
447 # dlopen(), dlsym(), dlclose(), i.e. pythonX.Y.so must be available | 447 # dlopen(), dlsym(), dlclose(), i.e. pythonX.Y.so must be available |
448 # However, this may still cause problems, such as "import termios" failing. | 448 # However, this may still cause problems, such as "import termios" failing. |
449 # Build two separate versions of Vim in that case. | 449 # Build two separate versions of Vim in that case. |
450 #CONF_OPT_PYTHON = --enable-pythoninterp | 450 CONF_OPT_PYTHON = --enable-pythoninterp |
451 #CONF_OPT_PYTHON = --enable-pythoninterp --with-python-command=python2.7 | 451 #CONF_OPT_PYTHON = --enable-pythoninterp --with-python-command=python2.7 |
452 #CONF_OPT_PYTHON = --enable-pythoninterp=dynamic | 452 #CONF_OPT_PYTHON = --enable-pythoninterp=dynamic |
453 #CONF_OPT_PYTHON3 = --enable-python3interp | 453 CONF_OPT_PYTHON3 = --enable-python3interp |
454 #CONF_OPT_PYTHON3 = --enable-python3interp --with-python3-command=python3.6 | 454 #CONF_OPT_PYTHON3 = --enable-python3interp --with-python3-command=python3.6 |
455 #CONF_OPT_PYTHON3 = --enable-python3interp=dynamic | 455 #CONF_OPT_PYTHON3 = --enable-python3interp=dynamic |
456 | 456 |
457 # RUBY | 457 # RUBY |
458 # Uncomment this when you want to include the Ruby interface. | 458 # Uncomment this when you want to include the Ruby interface. |
470 #CONF_OPT_TCL = --enable-tclinterp=dynamic | 470 #CONF_OPT_TCL = --enable-tclinterp=dynamic |
471 #CONF_OPT_TCL = --enable-tclinterp --with-tclsh=tclsh8.4 | 471 #CONF_OPT_TCL = --enable-tclinterp --with-tclsh=tclsh8.4 |
472 | 472 |
473 # CSCOPE | 473 # CSCOPE |
474 # Uncomment this when you want to include the Cscope interface. | 474 # Uncomment this when you want to include the Cscope interface. |
475 #CONF_OPT_CSCOPE = --enable-cscope | 475 CONF_OPT_CSCOPE = --enable-cscope |
476 | 476 |
477 # NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome. | 477 # NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome. |
478 # Motif version must have XPM libraries (see |netbeans-xpm|). | 478 # Motif version must have XPM libraries (see |netbeans-xpm|). |
479 # Uncomment this when you do not want the netbeans interface. | 479 # Uncomment this when you do not want the netbeans interface. |
480 #CONF_OPT_NETBEANS = --disable-netbeans | 480 #CONF_OPT_NETBEANS = --disable-netbeans |
538 # The default is "huge" for most systems. | 538 # The default is "huge" for most systems. |
539 #CONF_OPT_FEAT = --with-features=tiny | 539 #CONF_OPT_FEAT = --with-features=tiny |
540 #CONF_OPT_FEAT = --with-features=small | 540 #CONF_OPT_FEAT = --with-features=small |
541 #CONF_OPT_FEAT = --with-features=normal | 541 #CONF_OPT_FEAT = --with-features=normal |
542 #CONF_OPT_FEAT = --with-features=big | 542 #CONF_OPT_FEAT = --with-features=big |
543 #CONF_OPT_FEAT = --with-features=huge | 543 CONF_OPT_FEAT = --with-features=huge |
544 | 544 |
545 # COMPILED BY - For including a specific e-mail address for ":version". | 545 # COMPILED BY - For including a specific e-mail address for ":version". |
546 #CONF_OPT_COMPBY = "--with-compiledby=John Doe <JohnDoe@yahoo.com>" | 546 #CONF_OPT_COMPBY = "--with-compiledby=John Doe <JohnDoe@yahoo.com>" |
547 | 547 |
548 # X WINDOWS DISABLE - For creating a plain Vim without any X11 related fancies | 548 # X WINDOWS DISABLE - For creating a plain Vim without any X11 related fancies |
612 #CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes | 612 #CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes |
613 | 613 |
614 # Use this with GCC to check for mistakes, unused arguments, etc. | 614 # Use this with GCC to check for mistakes, unused arguments, etc. |
615 # Note: If you use -Wextra and get warnings in GTK code about function | 615 # Note: If you use -Wextra and get warnings in GTK code about function |
616 # parameters, you can add -Wno-cast-function-type | 616 # parameters, you can add -Wno-cast-function-type |
617 #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -Wno-cast-function-type -Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 | 617 CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -Wno-cast-function-type -Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 |
618 # Add -Wpedantic to find // comments and other C99 constructs. | 618 # Add -Wpedantic to find // comments and other C99 constructs. |
619 # Better disable Perl and Python to avoid a lot of warnings. | 619 # Better disable Perl and Python to avoid a lot of warnings. |
620 #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wunreachable-code -Wunused-result -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 | 620 #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wunreachable-code -Wunused-result -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 |
621 #CFLAGS = -g -O2 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wunreachable-code -Wno-cast-function-type -Wunused-result -Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 | 621 #CFLAGS = -g -O2 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wunreachable-code -Wno-cast-function-type -Wunused-result -Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 |
622 #PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers | 622 #PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers |
707 # MEMORY LEAK DETECTION | 707 # MEMORY LEAK DETECTION |
708 # Requires installing the ccmalloc library. | 708 # Requires installing the ccmalloc library. |
709 # Configuration is in the .ccmalloc or ~/.ccmalloc file. | 709 # Configuration is in the .ccmalloc or ~/.ccmalloc file. |
710 # Doesn't work very well, since memory linked to from global variables | 710 # Doesn't work very well, since memory linked to from global variables |
711 # (in libraries) is also marked as leaked memory. | 711 # (in libraries) is also marked as leaked memory. |
712 #LEAK_CFLAGS = -DEXITFREE | 712 LEAK_CFLAGS = -DEXITFREE |
713 #LEAK_LIBS = -lccmalloc | 713 #LEAK_LIBS = -lccmalloc |
714 | 714 |
715 # Uncomment this line to have Vim call abort() when an internal error is | 715 # Uncomment this line to have Vim call abort() when an internal error is |
716 # detected. Useful when using a tool to find errors. | 716 # detected. Useful when using a tool to find errors. |
717 #ABORT_CFLAGS = -DABORT_ON_INTERNAL_ERROR | 717 #ABORT_CFLAGS = -DABORT_ON_INTERNAL_ERROR |
1637 fold.c \ | 1637 fold.c \ |
1638 getchar.c \ | 1638 getchar.c \ |
1639 gui_xim.c \ | 1639 gui_xim.c \ |
1640 hardcopy.c \ | 1640 hardcopy.c \ |
1641 hashtab.c \ | 1641 hashtab.c \ |
1642 help.c \ | |
1642 highlight.c \ | 1643 highlight.c \ |
1643 if_cscope.c \ | 1644 if_cscope.c \ |
1644 if_xcmdsrv.c \ | 1645 if_xcmdsrv.c \ |
1645 indent.c \ | 1646 indent.c \ |
1646 insexpand.c \ | 1647 insexpand.c \ |
1788 objects/fold.o \ | 1789 objects/fold.o \ |
1789 objects/getchar.o \ | 1790 objects/getchar.o \ |
1790 objects/gui_xim.o \ | 1791 objects/gui_xim.o \ |
1791 objects/hardcopy.o \ | 1792 objects/hardcopy.o \ |
1792 objects/hashtab.o \ | 1793 objects/hashtab.o \ |
1794 objects/help.o \ | |
1793 objects/highlight.o \ | 1795 objects/highlight.o \ |
1794 objects/if_cscope.o \ | 1796 objects/if_cscope.o \ |
1795 objects/if_xcmdsrv.o \ | 1797 objects/if_xcmdsrv.o \ |
1796 objects/indent.o \ | 1798 objects/indent.o \ |
1797 objects/insexpand.o \ | 1799 objects/insexpand.o \ |
1956 getchar.pro \ | 1958 getchar.pro \ |
1957 gui_xim.pro \ | 1959 gui_xim.pro \ |
1958 gui_beval.pro \ | 1960 gui_beval.pro \ |
1959 hardcopy.pro \ | 1961 hardcopy.pro \ |
1960 hashtab.pro \ | 1962 hashtab.pro \ |
1963 help.pro \ | |
1961 highlight.pro \ | 1964 highlight.pro \ |
1962 if_cscope.pro \ | 1965 if_cscope.pro \ |
1963 if_lua.pro \ | 1966 if_lua.pro \ |
1964 if_mzsch.pro \ | 1967 if_mzsch.pro \ |
1965 if_python.pro \ | 1968 if_python.pro \ |
3262 $(CCC) -o $@ hardcopy.c | 3265 $(CCC) -o $@ hardcopy.c |
3263 | 3266 |
3264 objects/hashtab.o: hashtab.c | 3267 objects/hashtab.o: hashtab.c |
3265 $(CCC) -o $@ hashtab.c | 3268 $(CCC) -o $@ hashtab.c |
3266 | 3269 |
3270 objects/help.o: help.c | |
3271 $(CCC) -o $@ help.c | |
3272 | |
3267 objects/gui.o: gui.c | 3273 objects/gui.o: gui.c |
3268 $(CCC) -o $@ gui.c | 3274 $(CCC) -o $@ gui.c |
3269 | 3275 |
3270 objects/gui_at_fs.o: gui_at_fs.c | 3276 objects/gui_at_fs.o: gui_at_fs.c |
3271 $(CCC) -o $@ gui_at_fs.c | 3277 $(CCC) -o $@ gui_at_fs.c |
3925 objects/hardcopy.o: hardcopy.c vim.h protodef.h auto/config.h feature.h os_unix.h \ | 3931 objects/hardcopy.o: hardcopy.c vim.h protodef.h auto/config.h feature.h os_unix.h \ |
3926 auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \ | 3932 auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \ |
3927 proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \ | 3933 proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \ |
3928 proto.h globals.h version.h | 3934 proto.h globals.h version.h |
3929 objects/hashtab.o: hashtab.c vim.h protodef.h auto/config.h feature.h os_unix.h \ | 3935 objects/hashtab.o: hashtab.c vim.h protodef.h auto/config.h feature.h os_unix.h \ |
3936 auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \ | |
3937 proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \ | |
3938 proto.h globals.h | |
3939 objects/help.o: help.c vim.h protodef.h auto/config.h feature.h os_unix.h \ | |
3930 auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \ | 3940 auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \ |
3931 proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \ | 3941 proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \ |
3932 proto.h globals.h | 3942 proto.h globals.h |
3933 objects/highlight.o: highlight.c vim.h protodef.h auto/config.h feature.h \ | 3943 objects/highlight.o: highlight.c vim.h protodef.h auto/config.h feature.h \ |
3934 os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \ | 3944 os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \ |