annotate makefile.vac @ 293:315812516608

Changes to the key press handling, if the character is zero check the virtual key code. The virtual key code parameter will always be valid. Also print the character in hex so it can be seen in the test program.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 25 Mar 2003 23:44:57 +0000
parents d946e329670c
children 4559a2fd2db2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1 .SUFFIXES: .c .obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3 .all: \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4 .\dw.dll \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5 .\dwcompat.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7 .c.obj:
56
b0f94956c981 Enabled memory debugging for VAC.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 24
diff changeset
8 icc.exe /DOS2 /DTCPV40HDRS /DBUILD_DLL /I. /Tm+ /Tdc /Ss /Wprorearet /Wpro+ /V"Dynamic Windows Compatibility" /Ti /Gm /Gd- /G5 /Ge- /C /W3 /Wini+ /Wpar+ /Wpro+ /Wuse+ %s
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
9
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
10 .\dw.dll: \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
11 .\os2\dw.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
12 @echo " Link::Linker "
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
13 icc.exe @<<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
14 /B" /NOE /de /ST:32768 /nologo /li"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
15 /Fe"dw.dll" dw.def
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
16 .\dw.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
17 so32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
18 tcp32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
19 <<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
20 IMPLIB DW.LIB DW.DEF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
21 copy dw.lib lib\dw.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
22 copy dw.dll dll\dw.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
23
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
24 .\dwcompat.dll: \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
25 .\os2\dirent.obj \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
26 .\compat.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
27 @echo " Link::Linker "
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
28 icc.exe @<<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
29 /B" /NOE /de /ST:32768 /nologo /li"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
30 /Fe"dwcompat.dll" dwcompat.def
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
31 .\dirent.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
32 .\compat.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
33 so32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
34 tcp32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
35 <<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
36 IMPLIB DWCOMPAT.LIB DWCOMPAT.DEF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
37 copy dwcompat.lib lib\dwcompat.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
38 copy dwcompat.dll dll\dwcompat.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
39
192
d946e329670c Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 56
diff changeset
40 dwtest.obj:
d946e329670c Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 56
diff changeset
41 icc /Ti /DOS2 /DTCPV40HDRS /Sp1 /I. /I..\ipformat /I..\include /Sm /Ss /Q /Gm /Gt /C dwtest.c
d946e329670c Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 56
diff changeset
42 dwtest.exe: dwtest.obj
d946e329670c Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 56
diff changeset
43 icc @<<
d946e329670c Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 56
diff changeset
44 /B" /DE /optfunc"
d946e329670c Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 56
diff changeset
45 /Fedwtest.exe
d946e329670c Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 56
diff changeset
46 lib\dw.lib lib\dwcompat.lib
d946e329670c Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 56
diff changeset
47 dwtest.obj
d946e329670c Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 56
diff changeset
48 dwtest.def
d946e329670c Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 56
diff changeset
49 <<
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
50 clean :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
51 @if exist *.obj del *.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
52 @if exist *.map del *.map
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
53 @if exist *.lib del *.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
54 @if exist *.dll del *.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
55 @if exist *.exe del *.exe
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
56