comparison src/Makefile @ 1888:ae2251be41f9 v7.2.185

updated for version 7.2-185
author vimboss
date Fri, 22 May 2009 16:20:57 +0000
parents 720a59d79bcd
children afb740b5dfab
comparison
equal deleted inserted replaced
1887:fc89a4f98a8b 1888:ae2251be41f9
103 # solution for a non-standard system. 103 # solution for a non-standard system.
104 # 104 #
105 # 4. "make test" {{{1 105 # 4. "make test" {{{1
106 # This is optional. This will run Vim scripts on a number of test 106 # This is optional. This will run Vim scripts on a number of test
107 # files, and compare the produced output with the expected output. 107 # files, and compare the produced output with the expected output.
108 # If all is well, you will get the "ALL DONE" message in the end. See 108 # If all is well, you will get the "ALL DONE" message in the end. If a
109 # below (search for "/^test"). 109 # test fails you get "TEST FAILURE". See below (search for "/^test").
110 # 110 #
111 # 5. "make install" {{{1 111 # 5. "make install" {{{1
112 # If the new Vim seems to be working OK you can install it and the 112 # If the new Vim seems to be working OK you can install it and the
113 # documentation in the appropriate location. The default is 113 # documentation in the appropriate location. The default is
114 # "/usr/local". Change "prefix" below to change the location. 114 # "/usr/local". Change "prefix" below to change the location.
531 #CFLAGS = -g -Wall -Wmissing-prototypes 531 #CFLAGS = -g -Wall -Wmissing-prototypes
532 #CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes 532 #CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes
533 #CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes 533 #CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes
534 #CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes 534 #CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes
535 535
536 # Use this with GCC to check for mistakes, unused arguments, etc.
537 #CFLAGS = -g -Wall -Wextra -Wmissing-prototypes -Wunreachable-code
538 #PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers
539 #MZSCHEME_CFLAGS_EXTRA = -Wno-unreachable-code
540
536 # EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond 541 # EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond
537 # allocated memory (and makes every malloc()/free() very slow). 542 # allocated memory (and makes every malloc()/free() very slow).
538 # Electric Fence is free (search ftp sites). 543 # Electric Fence is free (search ftp sites).
539 # You may want to set the EF_PROTECT_BELOW environment variable to check the 544 # You may want to set the EF_PROTECT_BELOW environment variable to check the
540 # other side of allocated memory. 545 # other side of allocated memory.
549 #EXTRA_DEFS = -DNBDEBUG 554 #EXTRA_DEFS = -DNBDEBUG
550 555
551 # }}} 556 # }}}
552 557
553 # LINT - for running lint 558 # LINT - for running lint
554 # For standard lint 559 # For standard Unix lint
555 #LINT = lint 560 LINT = lint
556 #LINT_OPTIONS = -beprxzF 561 LINT_OPTIONS = -beprxzF
557 # For splint (see cleanlint.vim for filtering the output) 562 # For splint
558 LINT = splint 563 # It doesn't work well, crashes on include files and non-ascii characters.
559 LINT_OPTIONS = +unixlib -weak -macrovarprefixexclude -showfunc -linelen 9999 564 #LINT = splint
565 #LINT_OPTIONS = +unixlib -weak -macrovarprefixexclude -showfunc -linelen 9999
560 566
561 # PROFILING - Uncomment the next two lines to do profiling with gcc and gprof. 567 # PROFILING - Uncomment the next two lines to do profiling with gcc and gprof.
562 # Might not work with GUI or Perl. 568 # Might not work with GUI or Perl.
563 # For unknown reasons adding "-lc" fixes a linking problem with GCC. That's 569 # For unknown reasons adding "-lc" fixes a linking problem with GCC. That's
564 # probably a bug in the "-pg" implementation. 570 # probably a bug in the "-pg" implementation.
1741 # 1747 #
1742 # This will produce a lot of garbage on your screen, including a few error 1748 # This will produce a lot of garbage on your screen, including a few error
1743 # messages. Don't worry about that. 1749 # messages. Don't worry about that.
1744 # If there is a real error, there will be a difference between "test.out" and 1750 # If there is a real error, there will be a difference between "test.out" and
1745 # a "test99.ok" file. 1751 # a "test99.ok" file.
1746 # If everything is alright, the final message will be "ALL DONE". 1752 # If everything is alright, the final message will be "ALL DONE". If not you
1753 # get "TEST FAILURE".
1747 # 1754 #
1748 test check: 1755 test check:
1749 $(MAKE) -f Makefile $(VIMTARGET) 1756 $(MAKE) -f Makefile $(VIMTARGET)
1750 -if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \ 1757 -if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1751 cd $(PODIR); $(MAKE) -f Makefile check VIM=../$(VIMTARGET); \ 1758 cd $(PODIR); $(MAKE) -f Makefile check VIM=../$(VIMTARGET); \
2425 2432
2426 objects/if_xcmdsrv.o: if_xcmdsrv.c 2433 objects/if_xcmdsrv.o: if_xcmdsrv.c
2427 $(CCC) -o $@ if_xcmdsrv.c 2434 $(CCC) -o $@ if_xcmdsrv.c
2428 2435
2429 objects/if_mzsch.o: if_mzsch.c 2436 objects/if_mzsch.o: if_mzsch.c
2430 $(CCC) -o $@ if_mzsch.c 2437 $(CCC) -o $@ $(MZSCHEME_CFLAGS_EXTRA) if_mzsch.c
2431 2438
2432 objects/if_perl.o: auto/if_perl.c 2439 objects/if_perl.o: auto/if_perl.c
2433 $(CCC) -o $@ auto/if_perl.c 2440 $(CCC) -o $@ auto/if_perl.c
2434 2441
2435 objects/if_perlsfio.o: if_perlsfio.c 2442 objects/if_perlsfio.o: if_perlsfio.c
2436 $(CCC) -o $@ if_perlsfio.c 2443 $(CCC) -o $@ if_perlsfio.c
2437 2444
2438 objects/if_python.o: if_python.c 2445 objects/if_python.o: if_python.c
2439 $(CCC) -o $@ if_python.c 2446 $(CCC) -o $@ $(PYTHON_CFLAGS_EXTRA) if_python.c
2440 2447
2441 objects/if_ruby.o: if_ruby.c 2448 objects/if_ruby.o: if_ruby.c
2442 $(CCC) -o $@ if_ruby.c 2449 $(CCC) -o $@ if_ruby.c
2443 2450
2444 objects/if_sniff.o: if_sniff.c 2451 objects/if_sniff.o: if_sniff.c