annotate src/Make_os2.mak @ 614:0b1b7560c456 v7.0174

updated for version 7.0174
author vimboss
date Mon, 19 Dec 2005 22:15:59 +0000
parents 2df7f3a5eb96
children 6beb2c667935
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 ### This Makefile has been succesfully tested on these systems.
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 = \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 buffer.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 charset.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 diff.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 digraph.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 edit.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 eval.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 ex_cmds.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 ex_cmds2.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 ex_docmd.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 ex_eval.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 ex_getln.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 fileio.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 fold.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 getchar.o \
440
eb531146be0e updated for version 7.0114
vimboss
parents: 221
diff changeset
56 hardcopy.o \
119
e8f07016e34d updated for version 7.0042
vimboss
parents: 7
diff changeset
57 hashtable.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 main.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 mark.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 memfile.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 memline.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 menu.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 message.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 misc1.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 misc2.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 move.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 mbyte.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 normal.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 ops.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 option.o \
540
2df7f3a5eb96 updated for version 7.0153
vimboss
parents: 440
diff changeset
71 popupmenu.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 quickfix.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 regexp.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 screen.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 search.o \
221
7fd4b5df33be updated for version 7.0062
vimboss
parents: 119
diff changeset
76 spell.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syntax.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 tag.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 term.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 ui.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 undo.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 window.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 os_unix.o
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 LIBS = -ltermcap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 # Default target is making the executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 all: $(TARGET) $(TOOLS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 # Link the target for normal use
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 LFLAGS = -Zcrtdll -s -o $(TARGET) $(LIBS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 $(TARGET): $(OBJ) version.c version.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 $(CC) $(CFLAGS) version.c $(OBJ) $(LFLAGS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 xxd/xxd.exe: xxd/xxd.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 cd xxd & $(MAKE) -f Make_os2.mak
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 tee/tee.exe: tee/tee.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 cd tee & $(MAKE) -f Makefile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 test:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 cd testdir & $(MAKE) -f Make_os2.mak
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 -del *.o
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 -del *.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 -del *.~ *~ *.bak
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 cd xxd & $(MAKE) -f Make_os2.mak clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 cd tee & $(MAKE) -f Makefile clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 ###########################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 os_unix.o: os_unix.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 buffer.o: buffer.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 charset.o: charset.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 diff.o: diff.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 digraph.o: digraph.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 edit.o: edit.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 eval.o: eval.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 ex_cmds.o: ex_cmds.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 ex_cmds2.o: ex_cmds2.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 ex_docmd.o: ex_docmd.c $(INCL) ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 ex_eval.o: ex_eval.c $(INCL) ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 ex_getln.o: ex_getln.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 fileio.o: fileio.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 fold.o: fold.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 getchar.o: getchar.c $(INCL)
440
eb531146be0e updated for version 7.0114
vimboss
parents: 221
diff changeset
129 hardcopy.o: hardcopy.c $(INCL)
119
e8f07016e34d updated for version 7.0042
vimboss
parents: 7
diff changeset
130 hashtable.o: hashtable.c $(INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 main.o: main.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 mark.o: mark.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 memfile.o: memfile.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 memline.o: memline.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 menu.o: menu.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 message.o: message.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 misc1.o: misc1.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 misc2.o: misc2.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 move.o: move.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 mbyte.o: mbyte.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 normal.o: normal.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 ops.o: ops.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 option.o: option.c $(INCL)
540
2df7f3a5eb96 updated for version 7.0153
vimboss
parents: 440
diff changeset
144 popupmenu.o: popupmenu.c $(INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 quickfix.o: quickfix.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 regexp.o: regexp.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 screen.o: screen.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 search.o: search.c $(INCL)
221
7fd4b5df33be updated for version 7.0062
vimboss
parents: 119
diff changeset
149 spell.o: spell.c $(INCL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syntax.o: syntax.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 tag.o: tag.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 term.o: term.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 ui.o: ui.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 undo.o: undo.c $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 window.o: window.c $(INCL)