Mercurial > vim
comparison src/Makefile @ 765:335444c09581
updated for version 7.0225
author | vimboss |
---|---|
date | Wed, 15 Mar 2006 22:53:57 +0000 |
parents | f08390485cd3 |
children | 95dac6af3b3a |
comparison
equal
deleted
inserted
replaced
764:986753bbc441 | 765:335444c09581 |
---|---|
544 | 544 |
545 # MEMORY LEAK DETECTION | 545 # MEMORY LEAK DETECTION |
546 # Requires installing the ccmalloc library. | 546 # Requires installing the ccmalloc library. |
547 # Configuration is in the .ccmalloc or ~/.ccmalloc file. | 547 # Configuration is in the .ccmalloc or ~/.ccmalloc file. |
548 # Doesn't work very well, since memory linked to from global variables | 548 # Doesn't work very well, since memory linked to from global variables |
549 # (indirectly) is also marked as leaked memory. | 549 # (in libraries) is also marked as leaked memory. |
550 #PROFILE_CFLAGS = -DEXITFREE | 550 #PROFILE_CFLAGS = -DEXITFREE |
551 #PROFILE_LIBS = -lccmalloc | 551 #PROFILE_LIBS = -lccmalloc |
552 | 552 |
553 ##################################################### | 553 ##################################################### |
554 ### Specific systems, check if yours is listed! ### {{{ | 554 ### Specific systems, check if yours is listed! ### {{{ |
2516 #ICON_DOCTXT = $(shell if [ -e doc-txt.icns ] ; then echo doc-txt.icns ; else echo ; fi) | 2516 #ICON_DOCTXT = $(shell if [ -e doc-txt.icns ] ; then echo doc-txt.icns ; else echo ; fi) |
2517 #ICONS = $(addprefix $(RESDIR)/, $(ICON_APP) $(ICON_DOC) $(ICON_DOCTXT)) | 2517 #ICONS = $(addprefix $(RESDIR)/, $(ICON_APP) $(ICON_DOC) $(ICON_DOCTXT)) |
2518 | 2518 |
2519 install_macosx: gui_bundle | 2519 install_macosx: gui_bundle |
2520 # Remove the link to the runtime dir, don't want to copy all of that. | 2520 # Remove the link to the runtime dir, don't want to copy all of that. |
2521 -rm $(APPDIR)/runtime | 2521 -rm $(RESDIR)/vim/runtime |
2522 $(INSTALL_DATA_R) $(APPDIR) $(DESTDIR)$(prefix) | 2522 $(INSTALL_DATA_R) $(APPDIR) $(DESTDIR)$(prefix) |
2523 # Install the runtime files. Recursive! | 2523 # Install the runtime files. Recursive! |
2524 -mkdir $(DESTDIR)$(prefix)/$(APPDIR)/runtime | 2524 -mkdir -p $(DESTDIR)$(prefix)/$(RESDIR)/vim/runtime |
2525 -mkdir $(DESTDIR)$(prefix)/$(APPDIR)/bin | 2525 # -mkdir $(DESTDIR)$(prefix)/$(APPDIR)/bin |
2526 srcdir=`pwd`; $(MAKE) -f Makefile installruntime \ | 2526 srcdir=`pwd`; $(MAKE) -f Makefile installruntime \ |
2527 VIMEXE=$$srcdir/$(VIMTARGET) \ | 2527 VIMEXE=$$srcdir/$(VIMTARGET) \ |
2528 prefix=$(DESTDIR)$(prefix)/$(APPDIR) \ | 2528 prefix=$(DESTDIR)$(prefix)/$(RESDIR)/vim \ |
2529 VIMRTLOC=$(DESTDIR)$(prefix)/$(APPDIR)/runtime | 2529 VIMRTLOC=$(DESTDIR)$(prefix)/$(RESDIR)/vim/runtime |
2530 # Put the link back. | 2530 # Put the link back. |
2531 ln -s `pwd`/../runtime $(APPDIR) | 2531 ln -s `pwd`/../runtime $(RESDIR)/vim |
2532 # TODO: Create the vimtutor application. | 2532 # TODO: Create the vimtutor application. |
2533 | 2533 |
2534 gui_bundle: $(APPDIR) bundle-dir bundle-executable bundle-info bundle-resource \ | 2534 gui_bundle: $(RESDIR) bundle-dir bundle-executable bundle-info bundle-resource \ |
2535 bundle-language | 2535 bundle-language |
2536 | 2536 |
2537 $(APPDIR): | 2537 $(RESDIR): |
2538 mkdir -p $@ | 2538 mkdir -p $@ |
2539 | 2539 |
2540 bundle-dir: $(APPDIR)/Contents $(VIMTARGET) | 2540 bundle-dir: $(APPDIR)/Contents $(VIMTARGET) |
2541 -@srcdir=`pwd`; cd $(HELPSOURCE); $(MAKE) VIMEXE=$$srcdir/$(VIMTARGET) vimtags | 2541 -@srcdir=`pwd`; cd $(HELPSOURCE); $(MAKE) VIMEXE=$$srcdir/$(VIMTARGET) vimtags |
2542 # Make a link to the runtime directory, so that we can try out the executable | 2542 # Make a link to the runtime directory, so that we can try out the executable |
2543 # without installing it. | 2543 # without installing it. |
2544 -ln -s `pwd`/../runtime $(APPDIR) | 2544 mkdir -p $(RESDIR)/vim |
2545 -ln -s `pwd`/../runtime $(RESDIR)/vim | |
2545 | 2546 |
2546 bundle-executable: $(VIMTARGET) | 2547 bundle-executable: $(VIMTARGET) |
2548 mkdir -p $(APPDIR)/Contents/MacOS | |
2547 cp $(VIMTARGET) $(APPDIR)/Contents/MacOS/$(VIMTARGET) | 2549 cp $(VIMTARGET) $(APPDIR)/Contents/MacOS/$(VIMTARGET) |
2548 | 2550 |
2549 bundle-info: bundle-dir | 2551 bundle-info: bundle-dir |
2550 @echo "Creating PkgInfo" | 2552 @echo "Creating PkgInfo" |
2551 @echo -n "APPLVIM!" > $(APPDIR)/Contents/PkgInfo | 2553 @echo -n "APPLVIM!" > $(APPDIR)/Contents/PkgInfo |