annotate src/Make_djg.mak @ 3693:c612d154bcdd v7.3.606

updated for version 7.3.606 Problem: CTRL-P completion has a problem with multi-byte characters. Solution: Check for next character being NUL properly. (Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Thu, 19 Jul 2012 17:18:26 +0200
parents 40edf1be1cd8
children ab71bb81b84e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # Makefile for VIM on MSDOS, using DJGPP 2.0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 #>>>>> choose options:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 ### See feature.h for a list of optionals.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 ### Any other defines can be included here.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 DEFINES =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 #>>>>> name of the compiler and linker, name of lib directory
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 CC = gcc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 #>>>>> end of choices
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 ###########################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 INCL = vim.h globals.h option.h keymap.h macros.h ascii.h term.h os_msdos.h structs.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 CFLAGS = -O2 -DMSDOS -Iproto $(DEFINES) -Wall -Dinterrupt= -Dfar= -DMAXMEM=512 -D_NAIVE_DOS_REGS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 OBJ = \
2192
40edf1be1cd8 Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents: 800
diff changeset
22 obj/blowfish.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 obj/buffer.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 obj/charset.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 obj/diff.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 obj/digraph.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 obj/edit.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 obj/eval.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 obj/ex_cmds.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 obj/ex_cmds2.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 obj/ex_docmd.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 obj/ex_eval.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 obj/ex_getln.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 obj/fileio.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 obj/fold.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 obj/getchar.o \
440
eb531146be0e updated for version 7.0114
vimboss
parents: 228
diff changeset
37 obj/hardcopy.o \
800
d8f905020502 updated for version 7.0b
vimboss
parents: 542
diff changeset
38 obj/hashtab.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 obj/main.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 obj/mark.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 obj/memfile.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 obj/memline.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 obj/menu.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 obj/message.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 obj/misc1.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 obj/misc2.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 obj/move.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 obj/mbyte.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 obj/normal.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 obj/ops.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 obj/option.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 obj/os_msdos.o \
800
d8f905020502 updated for version 7.0b
vimboss
parents: 542
diff changeset
53 obj/popupmnu.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 obj/quickfix.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 obj/regexp.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 obj/screen.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 obj/search.o \
2192
40edf1be1cd8 Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents: 800
diff changeset
58 obj/sha256.o \
228
d97518d6b325 updated for version 7.0063
vimboss
parents: 121
diff changeset
59 obj/spell.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 obj/syntax.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 obj/tag.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 obj/term.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 obj/ui.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 obj/undo.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 obj/window.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 $(TERMLIB)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 all: vim.exe install.exe uninstal.exe xxd/xxd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 # version.c is compiled each time, so that it sets the build time.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 vim.exe: obj $(OBJ) version.c version.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 $(CC) $(CFLAGS) -s -o vim.exe version.c $(OBJ) -lpc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 install.exe: dosinst.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 $(CC) $(CFLAGS) -s -o install.exe dosinst.c -lpc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 uninstal.exe: uninstal.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 $(CC) $(CFLAGS) -s -o uninstal.exe uninstal.c -lpc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 # This requires GNU make.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 xxd/xxd.exe: xxd/xxd.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 $(MAKE) --directory=xxd -f Make_djg.mak
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 obj:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 mkdir obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 tags:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 command /c ctags *.c $(INCL) ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 -del obj\*.o
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 -rmdir obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 -del vim.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 -del install.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 -del xxd\xxd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 -del testdir\*.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 # This requires GNU make.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 test:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 $(MAKE) --directory=testdir -f Make_dos.mak
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 ###########################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 obj/%.o: %.c obj $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 $(CC) -c $(CFLAGS) -o $@ $<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 # Extra dependency (there are actually many more...)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 obj/ex_docmd.o: ex_cmds.h