annotate src/Make_os2.mak @ 6824:095b538d58a6 v7.4.733

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