Mercurial > dwindows
annotate makefile.vac @ 1146:9d97610b2140
Adding dw_pixmap_set_font() which is equivalent to dw_window_set_font() except for pixmaps.
When drawing to pixmaps, normally the font is obtained from the associated window handle.
This will allow overriding of the font for this pixmap, and will allow setting fonts on
pixmaps that don't have associated window handles.
This commit has the Mac support. Other platforms coming in the next hour.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 11 Sep 2011 21:36:07 +0000 |
parents | 4559a2fd2db2 |
children | 568b37e4b167 |
rev | line source |
---|---|
3 | 1 .SUFFIXES: .c .obj |
2 | |
3 .all: \ | |
4 .\dw.dll \ | |
5 .\dwcompat.dll | |
6 | |
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 | 9 |
10 .\dw.dll: \ | |
11 .\os2\dw.obj | |
12 @echo " Link::Linker " | |
13 icc.exe @<< | |
14 /B" /NOE /de /ST:32768 /nologo /li" | |
15 /Fe"dw.dll" dw.def | |
16 .\dw.obj | |
17 so32dll.lib | |
18 tcp32dll.lib | |
19 << | |
20 IMPLIB DW.LIB DW.DEF | |
21 copy dw.lib lib\dw.lib | |
22 copy dw.dll dll\dw.dll | |
23 | |
24 .\dwcompat.dll: \ | |
25 .\os2\dirent.obj \ | |
26 .\compat.obj | |
27 @echo " Link::Linker " | |
28 icc.exe @<< | |
29 /B" /NOE /de /ST:32768 /nologo /li" | |
30 /Fe"dwcompat.dll" dwcompat.def | |
31 .\dirent.obj | |
32 .\compat.obj | |
33 so32dll.lib | |
34 tcp32dll.lib | |
35 << | |
36 IMPLIB DWCOMPAT.LIB DWCOMPAT.DEF | |
37 copy dwcompat.lib lib\dwcompat.lib | |
38 copy dwcompat.dll dll\dwcompat.dll | |
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: |
300
4559a2fd2db2
Keypress handler fixes, more need to be done, because I screwed up and
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
192
diff
changeset
|
41 icc /Ti /DOS2 /DTCPV40HDRS /Sp1 /I. /Sm /Ss /Q /Gm /Gt /C dwtest.c |
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
|
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 | 50 clean : |
51 @if exist *.obj del *.obj | |
52 @if exist *.map del *.map | |
53 @if exist *.lib del *.lib | |
54 @if exist *.dll del *.dll | |
55 @if exist *.exe del *.exe | |
56 |