comparison src/Makefile @ 2180:f60a0c9cbe6c vim73

Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
author Bram Moolenaar <bram@vim.org>
date Sun, 16 May 2010 22:32:54 +0200
parents 7c8c7c95a865
children c202455d5a3a
comparison
equal deleted inserted replaced
2178:c6f1aa1e9f32 2180:f60a0c9cbe6c
466 # The default is "normal". 466 # The default is "normal".
467 #CONF_OPT_FEAT = --with-features=tiny 467 #CONF_OPT_FEAT = --with-features=tiny
468 #CONF_OPT_FEAT = --with-features=small 468 #CONF_OPT_FEAT = --with-features=small
469 #CONF_OPT_FEAT = --with-features=normal 469 #CONF_OPT_FEAT = --with-features=normal
470 #CONF_OPT_FEAT = --with-features=big 470 #CONF_OPT_FEAT = --with-features=big
471 #CONF_OPT_FEAT = --with-features=huge 471 CONF_OPT_FEAT = --with-features=huge
472 472
473 # COMPILED BY - For including a specific e-mail address for ":version". 473 # COMPILED BY - For including a specific e-mail address for ":version".
474 #CONF_OPT_COMPBY = "--with-compiledby=John Doe <JohnDoe@yahoo.com>" 474 #CONF_OPT_COMPBY = "--with-compiledby=John Doe <JohnDoe@yahoo.com>"
475 475
476 # X WINDOWS DISABLE - For creating a plain Vim without any X11 related fancies 476 # X WINDOWS DISABLE - For creating a plain Vim without any X11 related fancies
534 #CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes 534 #CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes
535 #CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes 535 #CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes
536 #CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes 536 #CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes
537 537
538 # Use this with GCC to check for mistakes, unused arguments, etc. 538 # Use this with GCC to check for mistakes, unused arguments, etc.
539 #CFLAGS = -g -Wall -Wextra -Wmissing-prototypes -Wunreachable-code -D_FORTIFY_SOURCE=1 539 CFLAGS = -g -Wall -Wextra -Wmissing-prototypes -Wunreachable-code -D_FORTIFY_SOURCE=1
540 #PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers 540 PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers
541 #MZSCHEME_CFLAGS_EXTRA = -Wno-unreachable-code -Wno-unused-parameter 541 MZSCHEME_CFLAGS_EXTRA = -Wno-unreachable-code -Wno-unused-parameter
542 542
543 # EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond 543 # EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond
544 # allocated memory (and makes every malloc()/free() very slow). 544 # allocated memory (and makes every malloc()/free() very slow).
545 # Electric Fence is free (search ftp sites). 545 # Electric Fence is free (search ftp sites).
546 # You may want to set the EF_PROTECT_BELOW environment variable to check the 546 # You may want to set the EF_PROTECT_BELOW environment variable to check the
1375 # ALL_SRC: source files used for make depend and make lint 1375 # ALL_SRC: source files used for make depend and make lint
1376 1376
1377 TAGS_INCL = *.h 1377 TAGS_INCL = *.h
1378 1378
1379 BASIC_SRC = \ 1379 BASIC_SRC = \
1380 blowfish.c \
1380 buffer.c \ 1381 buffer.c \
1381 charset.c \ 1382 charset.c \
1382 diff.c \ 1383 diff.c \
1383 digraph.c \ 1384 digraph.c \
1384 edit.c \ 1385 edit.c \
1413 popupmnu.c \ 1414 popupmnu.c \
1414 quickfix.c \ 1415 quickfix.c \
1415 regexp.c \ 1416 regexp.c \
1416 screen.c \ 1417 screen.c \
1417 search.c \ 1418 search.c \
1419 sha256.c \
1418 spell.c \ 1420 spell.c \
1419 syntax.c \ 1421 syntax.c \
1420 tag.c \ 1422 tag.c \
1421 term.c \ 1423 term.c \
1422 ui.c \ 1424 ui.c \
1447 #LINT_SRC = $(ALL_SRC) 1449 #LINT_SRC = $(ALL_SRC)
1448 #LINT_SRC = $(BASIC_SRC) 1450 #LINT_SRC = $(BASIC_SRC)
1449 1451
1450 OBJ = \ 1452 OBJ = \
1451 objects/buffer.o \ 1453 objects/buffer.o \
1454 objects/blowfish.o \
1452 objects/charset.o \ 1455 objects/charset.o \
1453 objects/diff.o \ 1456 objects/diff.o \
1454 objects/digraph.o \ 1457 objects/digraph.o \
1455 objects/edit.o \ 1458 objects/edit.o \
1456 objects/eval.o \ 1459 objects/eval.o \
1485 objects/popupmnu.o \ 1488 objects/popupmnu.o \
1486 objects/quickfix.o \ 1489 objects/quickfix.o \
1487 objects/regexp.o \ 1490 objects/regexp.o \
1488 objects/screen.o \ 1491 objects/screen.o \
1489 objects/search.o \ 1492 objects/search.o \
1493 objects/sha256.o \
1490 objects/spell.o \ 1494 objects/spell.o \
1491 objects/syntax.o \ 1495 objects/syntax.o \
1492 $(SNIFF_OBJ) \ 1496 $(SNIFF_OBJ) \
1493 objects/tag.o \ 1497 objects/tag.o \
1494 objects/term.o \ 1498 objects/term.o \
1505 $(WORKSHOP_OBJ) \ 1509 $(WORKSHOP_OBJ) \
1506 $(NETBEANS_OBJ) \ 1510 $(NETBEANS_OBJ) \
1507 $(WSDEBUG_OBJ) 1511 $(WSDEBUG_OBJ)
1508 1512
1509 PRO_AUTO = \ 1513 PRO_AUTO = \
1514 blowfish.pro \
1510 buffer.pro \ 1515 buffer.pro \
1511 charset.pro \ 1516 charset.pro \
1512 diff.pro \ 1517 diff.pro \
1513 digraph.pro \ 1518 digraph.pro \
1514 edit.pro \ 1519 edit.pro \
1545 popupmnu.pro \ 1550 popupmnu.pro \
1546 quickfix.pro \ 1551 quickfix.pro \
1547 regexp.pro \ 1552 regexp.pro \
1548 screen.pro \ 1553 screen.pro \
1549 search.pro \ 1554 search.pro \
1555 sha256.pro \
1550 spell.pro \ 1556 spell.pro \
1551 syntax.pro \ 1557 syntax.pro \
1552 tag.pro \ 1558 tag.pro \
1553 term.pro \ 1559 term.pro \
1554 termlib.pro \ 1560 termlib.pro \
2335 # specified for each file separately. 2341 # specified for each file separately.
2336 2342
2337 objects: 2343 objects:
2338 mkdir objects 2344 mkdir objects
2339 2345
2346 objects/blowfish.o: blowfish.c
2347 $(CCC) -o $@ blowfish.c
2348
2340 objects/buffer.o: buffer.c 2349 objects/buffer.o: buffer.c
2341 $(CCC) -o $@ buffer.c 2350 $(CCC) -o $@ buffer.c
2342 2351
2343 objects/charset.o: charset.c 2352 objects/charset.o: charset.c
2344 $(CCC) -o $@ charset.c 2353 $(CCC) -o $@ charset.c
2544 objects/screen.o: screen.c 2553 objects/screen.o: screen.c
2545 $(CCC) -o $@ screen.c 2554 $(CCC) -o $@ screen.c
2546 2555
2547 objects/search.o: search.c 2556 objects/search.o: search.c
2548 $(CCC) -o $@ search.c 2557 $(CCC) -o $@ search.c
2558
2559 objects/sha256.o: sha256.c
2560 $(CCC) -o $@ sha256.c
2549 2561
2550 objects/spell.o: spell.c 2562 objects/spell.o: spell.c
2551 $(CCC) -o $@ spell.c 2563 $(CCC) -o $@ spell.c
2552 2564
2553 objects/syntax.o: syntax.c 2565 objects/syntax.o: syntax.c