comparison src/Makefile @ 6122:18ac55444b37 v7.4.399

updated for version 7.4.399 Problem: Encryption implementation is messy. Blowfish encryption has a weakness. Solution: Refactor the encryption, store the state in an allocated struct instead of using a save/restore mechanism. Introduce the "blowfish2" method, which does not have the weakness and encrypts the whole undo file. (largely by David Leadbeater)
author Bram Moolenaar <bram@vim.org>
date Sun, 10 Aug 2014 13:38:34 +0200
parents 1157079ca5f1
children de35e123e63c
comparison
equal deleted inserted replaced
6121:913d16b4904c 6122:18ac55444b37
1429 1429
1430 BASIC_SRC = \ 1430 BASIC_SRC = \
1431 blowfish.c \ 1431 blowfish.c \
1432 buffer.c \ 1432 buffer.c \
1433 charset.c \ 1433 charset.c \
1434 crypt.c \
1435 crypt_zip.c \
1434 diff.c \ 1436 diff.c \
1435 digraph.c \ 1437 digraph.c \
1436 edit.c \ 1438 edit.c \
1437 eval.c \ 1439 eval.c \
1438 ex_cmds.c \ 1440 ex_cmds.c \
1518 1520
1519 OBJ_COMMON = \ 1521 OBJ_COMMON = \
1520 objects/buffer.o \ 1522 objects/buffer.o \
1521 objects/blowfish.o \ 1523 objects/blowfish.o \
1522 objects/charset.o \ 1524 objects/charset.o \
1525 objects/crypt.o \
1526 objects/crypt_zip.o \
1523 objects/diff.o \ 1527 objects/diff.o \
1524 objects/digraph.o \ 1528 objects/digraph.o \
1525 objects/edit.o \ 1529 objects/edit.o \
1526 objects/eval.o \ 1530 objects/eval.o \
1527 objects/ex_cmds.o \ 1531 objects/ex_cmds.o \
1587 1591
1588 PRO_AUTO = \ 1592 PRO_AUTO = \
1589 blowfish.pro \ 1593 blowfish.pro \
1590 buffer.pro \ 1594 buffer.pro \
1591 charset.pro \ 1595 charset.pro \
1596 crypt.pro \
1597 crypt_zip.pro \
1592 diff.pro \ 1598 diff.pro \
1593 digraph.pro \ 1599 digraph.pro \
1594 edit.pro \ 1600 edit.pro \
1595 eval.pro \ 1601 eval.pro \
1596 ex_cmds.pro \ 1602 ex_cmds.pro \
1751 # Build the language specific files if they were unpacked. 1757 # Build the language specific files if they were unpacked.
1752 # Generate the converted .mo files separately, it's no problem if this fails. 1758 # Generate the converted .mo files separately, it's no problem if this fails.
1753 languages: 1759 languages:
1754 @if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \ 1760 @if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1755 cd $(PODIR); \ 1761 cd $(PODIR); \
1756 CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix); \ 1762 CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix); \
1757 fi 1763 fi
1758 -@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \ 1764 -@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1759 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) converted; \ 1765 cd $(PODIR); \
1766 CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) converted; \
1760 fi 1767 fi
1761 1768
1762 # Update the *.po files for changes in the sources. Only run manually. 1769 # Update the *.po files for changes in the sources. Only run manually.
1763 update-po: 1770 update-po:
1764 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) update-po 1771 cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) update-po
1881 done 1888 done
1882 1889
1883 # Run individual test, assuming that Vim was already compiled. 1890 # Run individual test, assuming that Vim was already compiled.
1884 test1 test2 test3 test4 test5 test6 test7 test8 test9 \ 1891 test1 test2 test3 test4 test5 test6 test7 test8 test9 \
1885 test_autoformat_join \ 1892 test_autoformat_join \
1893 test_breakindent \
1894 test_changelist \
1886 test_eval \ 1895 test_eval \
1896 test_insertcount \
1897 test_listlbr \
1898 test_listlbr_utf8 \
1887 test_options \ 1899 test_options \
1900 test_qf_title \
1888 test10 test11 test12 test13 test14 test15 test16 test17 test18 test19 \ 1901 test10 test11 test12 test13 test14 test15 test16 test17 test18 test19 \
1889 test20 test21 test22 test23 test24 test25 test26 test27 test28 test29 \ 1902 test20 test21 test22 test23 test24 test25 test26 test27 test28 test29 \
1890 test30 test31 test32 test33 test34 test35 test36 test37 test38 test39 \ 1903 test30 test31 test32 test33 test34 test35 test36 test37 test38 test39 \
1891 test40 test41 test42 test43 test44 test45 test46 test47 test48 test49 \ 1904 test40 test41 test42 test43 test44 test45 test46 test47 test48 test49 \
1892 test50 test51 test52 test53 test54 test55 test56 test57 test58 test59 \ 1905 test50 test51 test52 test53 test54 test55 test56 test57 test58 test59 \
2504 $(CCC) -o $@ buffer.c 2517 $(CCC) -o $@ buffer.c
2505 2518
2506 objects/charset.o: charset.c 2519 objects/charset.o: charset.c
2507 $(CCC) -o $@ charset.c 2520 $(CCC) -o $@ charset.c
2508 2521
2522 objects/crypt.o: crypt.c
2523 $(CCC) -o $@ crypt.c
2524
2525 objects/crypt_zip.o: crypt_zip.c
2526 $(CCC) -o $@ crypt_zip.c
2527
2509 objects/diff.o: diff.c 2528 objects/diff.o: diff.c
2510 $(CCC) -o $@ diff.c 2529 $(CCC) -o $@ diff.c
2511 2530
2512 objects/digraph.o: digraph.c 2531 objects/digraph.o: digraph.c
2513 $(CCC) -o $@ digraph.c 2532 $(CCC) -o $@ digraph.c
2853 arabic.h version.h 2872 arabic.h version.h
2854 objects/charset.o: charset.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \ 2873 objects/charset.o: charset.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2855 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \ 2874 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2856 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \ 2875 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2857 arabic.h 2876 arabic.h
2877 objects/crypt.o: crypt.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2878 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2879 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2880 arabic.h
2881 objects/crypt_zip.o: crypt_zip.c vim.h auto/config.h feature.h os_unix.h \
2882 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
2883 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
2884 globals.h farsi.h arabic.h
2858 objects/diff.o: diff.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \ 2885 objects/diff.o: diff.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
2859 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \ 2886 ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
2860 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \ 2887 gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
2861 arabic.h 2888 arabic.h
2862 objects/digraph.o: digraph.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \ 2889 objects/digraph.o: digraph.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \