Mercurial > vim
annotate src/Make_os2.mak @ 6894:3ccc008c035b
Added tag v7-4-766 for changeset 31a14cb3a8e3
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 03 Jul 2015 13:05:50 +0200 |
parents | ab71bb81b84e |
children |
rev | line source |
---|---|
7 | 1 # |
2 # Makefile for VIM on OS/2 using EMX vim:ts=8:sw=8:tw=78 | |
3 # | |
4 # Created by: Paul Slootman | |
5 # | |
6 | |
1621 | 7 ### This Makefile has been successfully tested on these systems. |
7 | 8 ### Check the (*) column for remarks, listed below. |
9 ### Later code changes may cause small problems, otherwise Vim is supposed to | |
10 ### compile and run without problems. | |
11 ### Just to show that this is just like the Unix version! | |
12 | |
13 #system: configurations: version (*) tested by: | |
14 #------------- ------------------------ ------- - ---------- | |
15 #OS/2 Warp HPFS gcc-2.7.2+emx-0.9b -GUI 4.5 Paul Slootman | |
16 #OS/2 FAT gcc-2.6.3+emx -GUI 4.5 Karsten Sievert | |
17 | |
18 #>>>>> choose options: | |
19 | |
20 ### See feature.h for a list of optionals. | |
21 ### Any other defines can be included here. | |
22 | |
23 DEFINES = -DUSE_SYSTEM=1 | |
24 | |
25 #>>>>> name of the compiler and linker, name of lib directory | |
26 CC = gcc | |
27 | |
28 #>>>>> end of choices | |
29 | |
30 ### Name of target(s) | |
31 TARGET = vim.exe | |
32 | |
33 ### Names of the tools that are also made | |
34 TOOLS = xxd/xxd.exe tee/tee.exe | |
35 | |
36 ########################################################################### | |
37 | |
38 INCL = vim.h globals.h option.h keymap.h macros.h ascii.h term.h os_unix.h structs.h os_os2_cfg.h | |
39 CFLAGS = -O2 -fno-strength-reduce -DOS2 -Wall -Iproto $(DEFINES) | |
40 | |
41 OBJ = \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
1621
diff
changeset
|
42 blowfish.o \ |
7 | 43 buffer.o \ |
44 charset.o \ | |
6126 | 45 crypt.o \ |
46 crypt_zip.o \ | |
7 | 47 diff.o \ |
48 digraph.o \ | |
49 edit.o \ | |
50 eval.o \ | |
51 ex_cmds.o \ | |
52 ex_cmds2.o \ | |
53 ex_docmd.o \ | |
54 ex_eval.o \ | |
55 ex_getln.o \ | |
56 fileio.o \ | |
57 fold.o \ | |
58 getchar.o \ | |
440 | 59 hardcopy.o \ |
799 | 60 hashtab.o \ |
7 | 61 main.o \ |
62 mark.o \ | |
63 memfile.o \ | |
64 memline.o \ | |
65 menu.o \ | |
66 message.o \ | |
67 misc1.o \ | |
68 misc2.o \ | |
69 move.o \ | |
70 mbyte.o \ | |
71 normal.o \ | |
72 ops.o \ | |
73 option.o \ | |
799 | 74 popupmnu.o \ |
7 | 75 quickfix.o \ |
76 regexp.o \ | |
77 screen.o \ | |
78 search.o \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
1621
diff
changeset
|
79 sha256.o \ |
221 | 80 spell.o \ |
7 | 81 syntax.o \ |
82 tag.o \ | |
83 term.o \ | |
84 ui.o \ | |
85 undo.o \ | |
86 window.o \ | |
87 os_unix.o | |
88 | |
89 LIBS = -ltermcap | |
90 | |
91 # Default target is making the executable | |
92 all: $(TARGET) $(TOOLS) | |
93 | |
94 # Link the target for normal use | |
95 LFLAGS = -Zcrtdll -s -o $(TARGET) $(LIBS) | |
96 | |
97 $(TARGET): $(OBJ) version.c version.h | |
98 $(CC) $(CFLAGS) version.c $(OBJ) $(LFLAGS) | |
99 | |
100 xxd/xxd.exe: xxd/xxd.c | |
101 cd xxd & $(MAKE) -f Make_os2.mak | |
102 | |
103 tee/tee.exe: tee/tee.c | |
104 cd tee & $(MAKE) -f Makefile | |
105 | |
106 test: | |
107 cd testdir & $(MAKE) -f Make_os2.mak | |
108 | |
109 clean: | |
110 -del *.o | |
111 -del *.exe | |
112 -del *.~ *~ *.bak | |
113 cd xxd & $(MAKE) -f Make_os2.mak clean | |
114 cd tee & $(MAKE) -f Makefile clean | |
115 | |
116 ########################################################################### | |
117 | |
118 os_unix.o: os_unix.c $(INCL) | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
1621
diff
changeset
|
119 blowfish.o: blowfish.c $(INCL) |
7 | 120 buffer.o: buffer.c $(INCL) |
121 charset.o: charset.c $(INCL) | |
6126 | 122 crypt.o: crypt.c $(INCL) |
123 crypt_zip.o: crypt_zip.c $(INCL) | |
7 | 124 diff.o: diff.c $(INCL) |
125 digraph.o: digraph.c $(INCL) | |
126 edit.o: edit.c $(INCL) | |
127 eval.o: eval.c $(INCL) | |
128 ex_cmds.o: ex_cmds.c $(INCL) | |
129 ex_cmds2.o: ex_cmds2.c $(INCL) | |
130 ex_docmd.o: ex_docmd.c $(INCL) ex_cmds.h | |
131 ex_eval.o: ex_eval.c $(INCL) ex_cmds.h | |
132 ex_getln.o: ex_getln.c $(INCL) | |
133 fileio.o: fileio.c $(INCL) | |
134 fold.o: fold.c $(INCL) | |
135 getchar.o: getchar.c $(INCL) | |
440 | 136 hardcopy.o: hardcopy.c $(INCL) |
799 | 137 hashtab.o: hashtab.c $(INCL) |
7 | 138 main.o: main.c $(INCL) |
139 mark.o: mark.c $(INCL) | |
140 memfile.o: memfile.c $(INCL) | |
141 memline.o: memline.c $(INCL) | |
142 menu.o: menu.c $(INCL) | |
143 message.o: message.c $(INCL) | |
144 misc1.o: misc1.c $(INCL) | |
145 misc2.o: misc2.c $(INCL) | |
146 move.o: move.c $(INCL) | |
147 mbyte.o: mbyte.c $(INCL) | |
148 normal.o: normal.c $(INCL) | |
149 ops.o: ops.c $(INCL) | |
150 option.o: option.c $(INCL) | |
799 | 151 popupmnu.o: popupmnu.c $(INCL) |
7 | 152 quickfix.o: quickfix.c $(INCL) |
153 regexp.o: regexp.c $(INCL) | |
154 screen.o: screen.c $(INCL) | |
155 search.o: search.c $(INCL) | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
1621
diff
changeset
|
156 sha256.o: sha256.c $(INCL) |
221 | 157 spell.o: spell.c $(INCL) |
7 | 158 syntax.o: syntax.c $(INCL) |
159 tag.o: tag.c $(INCL) | |
160 term.o: term.c $(INCL) | |
161 ui.o: ui.c $(INCL) | |
162 undo.o: undo.c $(INCL) | |
163 window.o: window.c $(INCL) |