@@ -472,11 +472,8 @@ CClink = $(CC)
472
472
# Uncomment this when you want to include the Cscope interface.
473
473
# CONF_OPT_CSCOPE = --enable-cscope
474
474
475
- # WORKSHOP - Sun Visual Workshop interface. Only works with Motif!
476
- # CONF_OPT_WORKSHOP = --enable-workshop
477
-
478
475
# NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome.
479
- # Motif version must have XPM libraries (see |workshop -xpm|).
476
+ # Motif version must have XPM libraries (see |netbeans -xpm|).
480
477
# Uncomment this when you do not want the netbeans interface.
481
478
# CONF_OPT_NETBEANS = --disable-netbeans
482
479
@@ -610,6 +607,8 @@ CClink = $(CC)
610
607
# CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes
611
608
612
609
# Use this with GCC to check for mistakes, unused arguments, etc.
610
+ # Note: If you use -Wextra and get warnings in GTK code about function
611
+ # parameters, you can add -Wno-cast-function-type
613
612
# CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
614
613
# Add -Wpedantic to find // comments and other C99 constructs.
615
614
# Better disable Perl and Python to avoid a lot of warnings.
@@ -1616,6 +1615,7 @@ BASIC_SRC = \
1616
1615
hashtab.c \
1617
1616
if_cscope.c \
1618
1617
if_xcmdsrv.c \
1618
+ indent.c \
1619
1619
json.c \
1620
1620
list.c \
1621
1621
main.c \
@@ -1729,6 +1729,7 @@ OBJ_COMMON = \
1729
1729
$(HANGULIN_OBJ ) \
1730
1730
objects/if_cscope.o \
1731
1731
objects/if_xcmdsrv.o \
1732
+ objects/indent.o \
1732
1733
objects/list.o \
1733
1734
objects/mark.o \
1734
1735
objects/memline.o \
@@ -1859,6 +1860,7 @@ PRO_AUTO = \
1859
1860
if_python3.pro \
1860
1861
if_ruby.pro \
1861
1862
if_xcmdsrv.pro \
1863
+ indent.pro \
1862
1864
json.pro \
1863
1865
list.pro \
1864
1866
main.pro \
@@ -3119,6 +3121,9 @@ objects/if_ruby.o: if_ruby.c
3119
3121
objects/if_tcl.o : if_tcl.c
3120
3122
$(CCC_NF ) $(TCL_CFLAGS ) $(ALL_CFLAGS ) -o $@ if_tcl.c
3121
3123
3124
+ objects/indent.o : indent.c
3125
+ $(CCC ) -o $@ indent.c
3126
+
3122
3127
objects/json.o : json.c
3123
3128
$(CCC ) -o $@ json.c
3124
3129
@@ -3439,10 +3444,10 @@ objects/arabic.o: arabic.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3439
3444
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
3440
3445
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
3441
3446
proto.h globals.h farsi.h arabic.h
3442
- objects/autocmd.o : autocmd.c vim.h protodef.h auto/config.h feature.h \
3443
- auto/osdef.h os_unix.h os_mac.h ascii.h keymap.h term.h macros.h option.h beval.h \
3444
- structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h proto.h globals .h \
3445
- farsi.h arabic.h
3447
+ objects/autocmd.o : autocmd.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3448
+ auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
3449
+ proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
3450
+ proto.h globals.h farsi.h arabic.h
3446
3451
objects/beval.o : beval.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3447
3452
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
3448
3453
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
@@ -3547,6 +3552,10 @@ objects/if_xcmdsrv.o: if_xcmdsrv.c vim.h protodef.h auto/config.h feature.h \
3547
3552
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
3548
3553
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
3549
3554
proto.h globals.h farsi.h arabic.h version.h
3555
+ objects/indent.o : indent.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3556
+ auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
3557
+ proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
3558
+ proto.h globals.h farsi.h arabic.h
3550
3559
objects/json.o : json.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3551
3560
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
3552
3561
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
0 commit comments