207207# SunOS 4.1.x +X11 -GUI 5.1b (J) Bram Moolenaar
208208# SunOS 4.1.3_U1 (sun4c) gcc +X11 +GUI Athena 5.0w (J) Darren Hiebert
209209# SUPER-UX 6.2 (NEC SX-4) cc +X11R6 Motif,Athena4.6b (P) Lennart Schultz
210- # Tandem/NSK (c) Matthew Woehlke
210+ # Tandem/NSK (c) Matthew Woehlke
211211# Unisys 6035 cc +X11 Motif 5.3 (8) Glauber Ribeiro
212212# ESIX V4.2 cc +X11 6.0 (a) Reinhard Wobst
213213# Mac OS X 10.[23] gcc Carbon 6.2 (x) Bram Moolenaar
@@ -403,6 +403,7 @@ CClink = $(CC)
403403# First one is for static linking, second one for dynamic loading.
404404# Use --with-luajit if you want to use LuaJIT instead of Lua.
405405# Set PATH environment variable to find lua or luajit executable.
406+ # This requires at least "normal" features, "tiny" and "small" don't work.
406407# CONF_OPT_LUA = --enable-luainterp
407408# CONF_OPT_LUA = --enable-luainterp=dynamic
408409# CONF_OPT_LUA = --enable-luainterp --with-luajit
@@ -429,16 +430,15 @@ CClink = $(CC)
429430# the next line.
430431# When you get an error for a missing "perl.exp" file, try creating an empty
431432# one: "touch perl.exp".
432- # This requires at least "small " features, "tiny" doesn 't work.
433+ # This requires at least "normal " features, "tiny" and "small" don 't work.
433434# CONF_OPT_PERL = --enable-perlinterp
434435# CONF_OPT_PERL = --enable-perlinterp=dynamic
435436
436437# PYTHON
437- # Uncomment this when you want to include the Python interface.
438- # Requires small features or better, fails with tiny features .
438+ # Uncomment lines here when you want to include the Python interface.
439+ # This requires at least "normal" features, "tiny" and "small" don't work .
439440# NOTE: This may cause threading to be enabled, which has side effects (such
440441# as using different libraries and debugging becomes more difficult).
441- # NOTE: Using this together with Perl may cause a crash in initialization.
442442# For Python3 support make a symbolic link in /usr/local/bin:
443443# ln -s python3 python3.1
444444# If both python2.x and python3.x are enabled then the linking will be via
@@ -454,6 +454,7 @@ CClink = $(CC)
454454# Uncomment this when you want to include the Ruby interface.
455455# First one for static linking, second one for loading when used.
456456# Note: you need the development package (e.g., ruby1.9.1-dev on Ubuntu).
457+ # This requires at least "normal" features, "tiny" and "small" don't work.
457458# CONF_OPT_RUBY = --enable-rubyinterp
458459# CONF_OPT_RUBY = --enable-rubyinterp=dynamic
459460# CONF_OPT_RUBY = --enable-rubyinterp --with-ruby-command=ruby1.9.1
@@ -617,7 +618,7 @@ AUTOCONF = autoconf
617618# PURIFY = purify
618619
619620# VALGRIND - remove the # to use valgrind for memory leaks and access errors.
620- # Used for the unittest targets.
621+ # Used for the unittest targets.
621622# VALGRIND = valgrind --tool=memcheck --leak-check=yes --num-callers=25 --log-file=valgrind.$@
622623
623624# NBDEBUG - debugging the netbeans interface.
@@ -649,15 +650,15 @@ LINT_OPTIONS = -beprxzF
649650# coverage information. (provided by Yegappan Lakshmanan)
650651# 1. make clean, run configure and build Vim as usual.
651652# 2. Generate the baseline code coverage information:
652- # $ lcov -c -i -b . -d objects -o objects/coverage_base.info
653+ # $ lcov -c -i -b . -d objects -o objects/coverage_base.info
653654# 3. Run "make test" to run the unit tests. The code coverage information will
654655# be generated in the src/objects directory.
655656# 4. Generate the code coverage information from the tests:
656- # $ lcov -c -b . -d objects/ -o objects/coverage_test.info
657+ # $ lcov -c -b . -d objects/ -o objects/coverage_test.info
657658# 5. Combine the baseline and test code coverage data:
658- # $ lcov -a objects/coverage_base.info -a objects/coverage_test.info -o objects/coverage_total.info
659+ # $ lcov -a objects/coverage_base.info -a objects/coverage_test.info -o objects/coverage_total.info
659660# 6. Process the test coverage data and generate a report in html:
660- # $ genhtml objects/coverage_total.info -o objects
661+ # $ genhtml objects/coverage_total.info -o objects
661662# 7. Open the objects/index.html file in a web browser to view the coverage
662663# information.
663664#
@@ -2566,7 +2567,7 @@ DESKTOPPATH = $(DESTDIR)$(DATADIR)/applications
25662567KDEPATH = $(HOME ) /.kde/share/icons
25672568install-icons :
25682569 if test -n " $( DESTDIR) " ; then \
2569- $(SHELL ) ./mkinstalldirs $(ICON48PATH ) $(ICON32PATH ) \
2570+ $(MKDIR_P ) $(ICON48PATH ) $(ICON32PATH ) \
25702571 $(ICON16PATH ) $(DESKTOPPATH ) ; \
25712572 fi
25722573
@@ -2607,7 +2608,7 @@ $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
26072608 $(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) $(DEST_MACRO) \
26082609 $(DEST_PACK) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_SPELL) \
26092610 $(DEST_AUTO) $(DEST_AUTO)/xml $(DEST_PLUG):
2610- -$(SHELL) ./mkinstalldirs $@
2611+ $(MKDIR_P) $@
26112612 -chmod $(DIRMOD) $@
26122613
26132614# create links from various names to vim. This is only done when the links
@@ -2787,25 +2788,25 @@ clean celan: testclean
27872788SHADOWDIR = shadow
27882789
27892790shadow : runtime pixmaps
2790- mkdir $(SHADOWDIR )
2791- cd $(SHADOWDIR ) ; ln -s ../* .[chm] ../* .in ../* .sh ../* .xs ../* .xbm ../gui_gtk_res.xml ../toolcheck ../proto ../vimtutor ../gvimtutor ../mkinstalldirs .
2791+ $( MKDIR_P ) $(SHADOWDIR )
2792+ cd $(SHADOWDIR ) ; ln -s ../* .[chm] ../* .in ../* .sh ../* .xs ../* .xbm ../gui_gtk_res.xml ../toolcheck ../proto ../vimtutor ../gvimtutor ../install-sh .
27922793 mkdir $(SHADOWDIR ) /auto
27932794 cd $(SHADOWDIR ) /auto; ln -s ../../auto/configure .
2794- mkdir $(SHADOWDIR ) /po
2795+ $( MKDIR_P ) $(SHADOWDIR ) /po
27952796 cd $(SHADOWDIR ) /po; ln -s ../../po/* .po ../../po/* .mak ../../po/* .vim ../../po/Makefile .
27962797 cd $(SHADOWDIR ) ; rm -f auto/link.sed
27972798 cp Makefile configure $(SHADOWDIR )
27982799 rm -f $(SHADOWDIR ) /auto/config.mk $(SHADOWDIR ) /config.mk.dist
27992800 cp config.mk.dist $(SHADOWDIR ) /auto/config.mk
28002801 cp config.mk.dist $(SHADOWDIR )
2801- mkdir $(SHADOWDIR ) /xxd
2802+ $( MKDIR_P ) $(SHADOWDIR ) /xxd
28022803 cd $(SHADOWDIR ) /xxd; ln -s ../../xxd/* .[ch] ../../xxd/Make* .
28032804 if test -d $( RSRC_DIR) ; then \
28042805 cd $(SHADOWDIR ) ; \
28052806 ln -s ../infplist.xml . ; \
28062807 ln -s ../$(RSRC_DIR ) ../os_mac.rsr.hqx ../dehqx.py . ; \
28072808 fi
2808- mkdir $(SHADOWDIR ) /testdir
2809+ $( MKDIR_P ) $(SHADOWDIR ) /testdir
28092810 cd $(SHADOWDIR ) /testdir; ln -s ../../testdir/Makefile \
28102811 ../../testdir/Make_all.mak \
28112812 ../../testdir/README.txt \
@@ -2942,7 +2943,7 @@ auto/gui_gtk_gresources.h: gui_gtk_res.xml $(GUI_GTK_RES_INPUTS)
29422943objects : objects/.dirstamp
29432944
29442945objects/.dirstamp :
2945- mkdir -p objects
2946+ $( MKDIR_P ) objects
29462947 touch objects/.dirstamp
29472948
29482949# All object files depend on the objects directory, so that parallel make
@@ -3273,8 +3274,7 @@ install_macosx: gui_bundle
32733274# Generate the help tags file now, it won't work with "make installruntime".
32743275 -@srcdir=`pwd`; cd $(HELPSOURCE); $(MAKE) VIMEXE=$$srcdir/$(VIMTARGET) vimtags
32753276# Install the runtime files. Recursive!
3276- -mkdir -p $(DESTDIR)$(prefix)/$(RESDIR)/vim/runtime
3277- # -mkdir $(DESTDIR)$(prefix)/$(APPDIR)/bin
3277+ $(MKDIR_P) $(DESTDIR)$(prefix)/$(RESDIR)/vim/runtime
32783278 srcdir=`pwd`; $(MAKE) -f Makefile installruntime \
32793279 VIMEXE=$$srcdir/$(VIMTARGET) \
32803280 prefix=$(DESTDIR)$(prefix)/$(RESDIR)$(VIMDIR) \
@@ -3292,16 +3292,16 @@ gui_bundle: $(RESDIR) bundle-dir bundle-executable bundle-info bundle-resource \
32923292 bundle-language
32933293
32943294$(RESDIR ) :
3295- mkdir -p $@
3295+ $( MKDIR_P ) $@
32963296
32973297bundle-dir : $(APPDIR ) /Contents $(VIMTARGET )
32983298# Make a link to the runtime directory, so that we can try out the executable
32993299# without installing it.
3300- mkdir -p $(RESDIR)/vim
3300+ $(MKDIR_P) $(RESDIR)/vim
33013301 -ln -s `pwd`/../runtime $(RESDIR)/vim
33023302
33033303bundle-executable : $(VIMTARGET )
3304- mkdir -p $(APPDIR ) /Contents/MacOS
3304+ $( MKDIR_P ) $(APPDIR ) /Contents/MacOS
33053305 cp $(VIMTARGET ) $(APPDIR ) /Contents/MacOS/$(VIMTARGET )
33063306
33073307bundle-info : bundle-dir
@@ -3332,8 +3332,8 @@ bundle-rsrc: os_mac.rsr.hqx
33323332bundle-language : bundle-dir
33333333
33343334$(APPDIR ) /Contents :
3335- - $( SHELL ) ./mkinstalldirs $(APPDIR ) /Contents/MacOS
3336- - $( SHELL ) ./mkinstalldirs $(RESDIR ) /English.lproj
3335+ $( MKDIR_P ) $(APPDIR ) /Contents/MacOS
3336+ $( MKDIR_P ) $(RESDIR ) /English.lproj
33373337
33383338
33393339# ##############################################################################
0 commit comments