annotate src/Make_os2.mak @ 2779:bf19f6620521

Added tag v7-3-165 for changeset e92a4b9b4484
author Bram Moolenaar <bram@vim.org>
date Thu, 28 Apr 2011 17:21:54 +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 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 \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 diff.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 digraph.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 edit.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 eval.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 ex_cmds.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 ex_cmds2.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 ex_docmd.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 ex_eval.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 ex_getln.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 fileio.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 fold.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 getchar.o \
440
eb531146be0e updated for version 7.0114
vimboss
parents: 221
diff changeset
57 hardcopy.o \
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 540
diff changeset
58 hashtab.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 main.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 mark.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 memfile.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 memline.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 menu.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 message.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 misc1.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 misc2.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 move.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 mbyte.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 normal.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 ops.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 option.o \
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 540
diff changeset
72 popupmnu.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 quickfix.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 regexp.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 screen.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 search.o \
2192
40edf1be1cd8 Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
77 sha256.o \
221
7fd4b5df33be updated for version 7.0062
vimboss
parents: 119
diff changeset
78 spell.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syntax.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 tag.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 term.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 ui.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 undo.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 window.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 os_unix.o
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 LIBS = -ltermcap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 # Default target is making the executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 all: $(TARGET) $(TOOLS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 # Link the target for normal use
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 LFLAGS = -Zcrtdll -s -o $(TARGET) $(LIBS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 $(TARGET): $(OBJ) version.c version.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 $(CC) $(CFLAGS) version.c $(OBJ) $(LFLAGS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 xxd/xxd.exe: xxd/xxd.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 cd xxd & $(MAKE) -f Make_os2.mak
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 tee/tee.exe: tee/tee.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 cd tee & $(MAKE) -f Makefile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 test:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 cd testdir & $(MAKE) -f Make_os2.mak
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 -del *.o
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 -del *.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 -del *.~ *~ *.bak
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 cd xxd & $(MAKE) -f Make_os2.mak clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 cd tee & $(MAKE) -f Makefile clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 ###########################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 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
117 blowfish.o: blowfish.c $(INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 buffer.o: buffer.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 charset.o: charset.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 diff.o: diff.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 digraph.o: digraph.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 edit.o: edit.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 eval.o: eval.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 ex_cmds.o: ex_cmds.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 ex_cmds2.o: ex_cmds2.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 ex_docmd.o: ex_docmd.c $(INCL) ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 ex_eval.o: ex_eval.c $(INCL) ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 ex_getln.o: ex_getln.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 fileio.o: fileio.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 fold.o: fold.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 getchar.o: getchar.c $(INCL)
440
eb531146be0e updated for version 7.0114
vimboss
parents: 221
diff changeset
132 hardcopy.o: hardcopy.c $(INCL)
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 540
diff changeset
133 hashtab.o: hashtab.c $(INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 main.o: main.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 mark.o: mark.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 memfile.o: memfile.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 memline.o: memline.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 menu.o: menu.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 message.o: message.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 misc1.o: misc1.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 misc2.o: misc2.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 move.o: move.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 mbyte.o: mbyte.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 normal.o: normal.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 ops.o: ops.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 option.o: option.c $(INCL)
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 540
diff changeset
147 popupmnu.o: popupmnu.c $(INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 quickfix.o: quickfix.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 regexp.o: regexp.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 screen.o: screen.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 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
152 sha256.o: sha256.c $(INCL)
221
7fd4b5df33be updated for version 7.0062
vimboss
parents: 119
diff changeset
153 spell.o: spell.c $(INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syntax.o: syntax.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 tag.o: tag.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 term.o: term.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 ui.o: ui.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 undo.o: undo.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 window.o: window.c $(INCL)