~ubuntu-branches/ubuntu/vivid/vim/vivid

« back to all changes in this revision

Viewing changes to src/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-11-05 11:37:43 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081105113743-9i4urcsm3n44mhqe
Tags: 2:7.2.025-2ubuntu1
* Merge from debian unstable, remaining changes:
  - runtime/syntax/debcontrol.vim:
    + Add "metapackages" to the list of valid sections.
  - runtime/syntax/debchangelog.vim:
    + Add "jaunty" to the list of valid suites.
  - Drop vim-lesstif package and lesstif2-dev build-dependency.
  - Enable Python interpreter on basic builds.
  - Create a .pot file for translations.
  - Disable autoindent, line-wrapping, and backup files by default.
  - runtime/syntax/debsources.vim:
    + Add "jaunty" to debsourcesDistrKeyword
  - runtime/syntax/grub.vim:
    + Add Ubuntu-specific 'quiet' keyword.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
#       - Uncomment the line with --disable-acl to disable ACL support even
49
49
#         though your system supports it.
50
50
#       - Uncomment the line with --disable-gpm to disable gpm support
51
 
#         even though you have gpm libraries and includes
 
51
#         even though you have gpm libraries and includes.
 
52
#       - Uncomment the line with --disable-sysmouse to disable sysmouse
 
53
#         support even though you have /dev/sysmouse and includes.
52
54
#       - Uncomment one of the lines with CFLAGS and/or CC if you have
53
55
#         something very special or want to tune the optimizer.
54
56
#       - Search for the name of your system to see if it needs anything
308
310
#CONF_ARGS = --exec-prefix=/usr
309
311
#CONF_ARGS = --with-vim-name=vim7 --with-ex-name=ex7 --with-view-name=view7
310
312
#CONF_ARGS = --with-global-runtime=/etc/vim
 
313
#CONF_ARGS = --with-local-dir=/usr/share
 
314
#CONF_ARGS = --without-local-dir
311
315
 
312
316
# Use this one if you distribute a modified version of Vim.
313
317
#CONF_ARGS = --with-modified-by="John Doe"
447
451
 
448
452
# gpm - For mouse support on Linux console via gpm
449
453
# Uncomment this when you do not want to include gpm support, even
450
 
# though you have gpm libraries and includes
 
454
# though you have gpm libraries and includes.
451
455
#CONF_OPT_GPM = --disable-gpm
452
456
 
 
457
# sysmouse - For mouse support on FreeBSD and DragonFly console via sysmouse
 
458
# Uncomment this when you do not want do include sysmouse support, even
 
459
# though you have /dev/sysmouse and includes.
 
460
#CONF_OPT_SYSMOUSE = --disable-sysmouse
 
461
 
453
462
# FEATURES - For creating Vim with more or less features
454
463
# Uncomment one of these lines when you want to include few to many features.
455
464
# The default is "normal".
535
544
 
536
545
# PURIFY - remove the # to use the "purify" program (hoi Nia++!)
537
546
#PURIFY = purify
 
547
 
 
548
# NBDEBUG - debugging the netbeans interface.
 
549
#EXTRA_DEFS = -DNBDEBUG
 
550
 
538
551
# }}}
539
552
 
540
553
# LINT - for running lint
888
901
 
889
902
### Vim version (adjusted by a script)
890
903
VIMMAJOR = 7
891
 
VIMMINOR = 1
 
904
VIMMINOR = 2
892
905
 
893
906
### Location of Vim files (should not need to be changed, and  {{{1
894
907
### some things might not work when they are changed!)
1113
1126
GTK_LIBS_DIR    = $(GUI_LIB_LOC)
1114
1127
GTK_LIBS1       =
1115
1128
GTK_LIBS2       = $(GTK_LIBNAME)
1116
 
GTK_INSTALL     = install_normal
 
1129
GTK_INSTALL     = install_normal install_gui_extra
1117
1130
GTK_TARGETS     = installglinks
1118
1131
GTK_MAN_TARGETS = yes
1119
1132
GTK_TESTTARGET  = gui
1130
1143
MOTIF_LIBS_DIR  = $(GUI_LIB_LOC)
1131
1144
MOTIF_LIBS1     =
1132
1145
MOTIF_LIBS2     = $(MOTIF_LIBNAME) -lXt
1133
 
MOTIF_INSTALL   = install_normal
 
1146
MOTIF_INSTALL   = install_normal install_gui_extra
1134
1147
MOTIF_TARGETS   = installglinks
1135
1148
MOTIF_MAN_TARGETS = yes
1136
1149
MOTIF_TESTTARGET = gui
1160
1173
ATHENA_LIBS_DIR = $(GUI_LIB_LOC)
1161
1174
ATHENA_LIBS1    = $(XAW_LIB)
1162
1175
ATHENA_LIBS2    = -lXt
1163
 
ATHENA_INSTALL  = install_normal
 
1176
ATHENA_INSTALL  = install_normal install_gui_extra
1164
1177
ATHENA_TARGETS  = installglinks
1165
1178
ATHENA_MAN_TARGETS = yes
1166
1179
ATHENA_TESTTARGET = gui
1178
1191
NEXTAW_LIBS_DIR = $(GUI_LIB_LOC)
1179
1192
NEXTAW_LIBS1    = $(NEXTAW_LIB)
1180
1193
NEXTAW_LIBS2    = -lXt
1181
 
NEXTAW_INSTALL  =  install_normal
 
1194
NEXTAW_INSTALL  =  install_normal install_gui_extra
1182
1195
NEXTAW_TARGETS  =  installglinks
1183
1196
NEXTAW_MAN_TARGETS = yes
1184
1197
NEXTAW_TESTTARGET = gui
1203
1216
PHOTONGUI_LIBS_DIR =
1204
1217
PHOTONGUI_LIBS1 = -lph -lphexlib
1205
1218
PHOTONGUI_LIBS2 =
1206
 
PHOTONGUI_INSTALL = install_normal
 
1219
PHOTONGUI_INSTALL = install_normal install_gui_extra
1207
1220
PHOTONGUI_TARGETS = installglinks
1208
1221
PHOTONGUI_MAN_TARGETS = yes
1209
1222
PHOTONGUI_TESTTARGET = gui
1566
1579
                $(CONF_OPT_OUTPUT) $(CONF_OPT_GPM) $(CONF_OPT_WORKSHOP) \
1567
1580
                $(CONF_OPT_SNIFF) $(CONF_OPT_FEAT) $(CONF_TERM_LIB) \
1568
1581
                $(CONF_OPT_COMPBY) $(CONF_OPT_ACL)  $(CONF_OPT_NETBEANS) \
1569
 
                $(CONF_ARGS) $(CONF_OPT_MZSCHEME) $(CONF_OPT_PLTHOME)
 
1582
                $(CONF_ARGS) $(CONF_OPT_MZSCHEME) $(CONF_OPT_PLTHOME) \
 
1583
                $(CONF_OPT_SYSMOUSE)
1570
1584
 
1571
1585
# Use "make reconfig" to rerun configure without cached values.
1572
1586
# When config.h changes, most things will be recompiled automatically.
1730
1744
        -if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1731
1745
                cd $(PODIR); $(MAKE) -f Makefile check VIM=../$(VIMTARGET); \
1732
1746
        fi
1733
 
        -if test $(VIMTARGET) != vim -a ! -e vim; then \
 
1747
        -if test $(VIMTARGET) != vim -a ! -r vim; then \
1734
1748
                ln -s $(VIMTARGET) vim; \
1735
1749
        fi
1736
1750
        cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG)
1741
1755
                cd $(PODIR); $(MAKE) checkclean; \
1742
1756
        fi
1743
1757
 
 
1758
install: $(GUI_INSTALL)
 
1759
 
 
1760
install_normal: installvim installtools $(INSTALL_LANGS) install-icons
 
1761
 
 
1762
install_gui_extra: installgtutorbin
 
1763
 
 
1764
installvim: installvimbin installtutorbin \
 
1765
                installruntime installlinks installmanlinks
 
1766
 
1744
1767
#
1745
1768
# Avoid overwriting an existing executable, somebody might be running it and
1746
1769
# overwriting it could cause it to crash.  Deleting it is OK, it won't be
1750
1773
# If you want to keep an older version, rename it before running "make
1751
1774
# install".
1752
1775
#
1753
 
install: $(GUI_INSTALL)
1754
 
 
1755
 
install_normal: installvim installtools $(INSTALL_LANGS) install-icons
1756
 
 
1757
 
installvim: installvimbin installtutorbin \
1758
 
                installruntime installlinks installmanlinks
1759
 
 
1760
1776
installvimbin: $(VIMTARGET) $(DESTDIR)$(exec_prefix) $(DEST_BIN)
1761
1777
        -if test -f $(DEST_BIN)/$(VIMTARGET); then \
1762
1778
          mv -f $(DEST_BIN)/$(VIMTARGET) $(DEST_BIN)/$(VIMNAME).rm; \
1871
1887
installtutorbin: $(DEST_VIM)
1872
1888
        $(INSTALL_DATA) vimtutor $(DEST_BIN)/$(VIMNAME)tutor
1873
1889
        chmod $(SCRIPTMOD) $(DEST_BIN)/$(VIMNAME)tutor
 
1890
 
 
1891
installgtutorbin: $(DEST_VIM)
1874
1892
        $(INSTALL_DATA) gvimtutor $(DEST_BIN)/$(GVIMNAME)tutor
1875
1893
        chmod $(SCRIPTMOD) $(DEST_BIN)/$(GVIMNAME)tutor
1876
1894
 
2574
2592
        ln -s `pwd`/../runtime $(RESDIR)/vim
2575
2593
# Copy rgb.txt, Mac doesn't always have X11
2576
2594
        $(INSTALL_DATA) $(SCRIPTSOURCE)/rgb.txt $(DESTDIR)$(prefix)/$(RESDIR)/vim/runtime
2577
 
# TODO: Create the vimtutor application.
 
2595
# TODO: Create the vimtutor and/or gvimtutor application.
2578
2596
 
2579
2597
gui_bundle: $(RESDIR) bundle-dir bundle-executable bundle-info bundle-resource \
2580
2598
        bundle-language
2753
2771
objects/os_unix.o: os_unix.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2754
2772
  ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2755
2773
  gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2756
 
  arabic.h if_mzsch.h os_unixx.h
 
2774
  arabic.h os_unixx.h
2757
2775
objects/pathdef.o: auto/pathdef.c ./vim.h ./auto/config.h ./feature.h ./os_unix.h \
2758
2776
  ./auto/osdef.h ./ascii.h ./keymap.h ./term.h ./macros.h ./option.h \
2759
2777
  ./structs.h ./regexp.h ./gui.h ./gui_beval.h proto/gui_beval.pro \