annotate makefile.vac @ 1190:76262040ed5f

Added DW_PERCENT_INDETERMINATE which can be passed to dw_percent_set_pos() to show a rotating or otherwise indeterminate percent bar on supported platforms. Platforms which don't support it will either show no progress or potentially growing and contracting progress in the future if that doesn't look too weird. Committed from Windows so may be fixes coming for the other platforms soon.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 28 Sep 2011 08:22:48 +0000
parents 5668d269beb3
children 32a5be18e187
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
1166
568b37e4b167 Attempt at importing the svn revision with VAC/nmake.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 300
diff changeset
3 !if ![cmd /c os2\svnrev.cmd]
568b37e4b167 Attempt at importing the svn revision with VAC/nmake.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 300
diff changeset
4 !include SVN.REV
568b37e4b167 Attempt at importing the svn revision with VAC/nmake.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 300
diff changeset
5 !endif
568b37e4b167 Attempt at importing the svn revision with VAC/nmake.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 300
diff changeset
6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7 .all: \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8 .\dw.dll \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
9 .\dwcompat.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
10
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
11 .c.obj:
1166
568b37e4b167 Attempt at importing the svn revision with VAC/nmake.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 300
diff changeset
12 icc.exe /DOS2 /DTCPV40HDRS /DBUILD_DLL /DVER_REV=$(VERREV) /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
13
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
14 .\dw.dll: \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
15 .\os2\dw.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
16 @echo " Link::Linker "
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
17 icc.exe @<<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
18 /B" /NOE /de /ST:32768 /nologo /li"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
19 /Fe"dw.dll" dw.def
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
20 .\dw.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
21 so32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
22 tcp32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
23 <<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
24 IMPLIB DW.LIB DW.DEF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
25 copy dw.lib lib\dw.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
26 copy dw.dll dll\dw.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
27
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
28 .\dwcompat.dll: \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
29 .\os2\dirent.obj \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
30 .\compat.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
31 @echo " Link::Linker "
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
32 icc.exe @<<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
33 /B" /NOE /de /ST:32768 /nologo /li"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
34 /Fe"dwcompat.dll" dwcompat.def
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
35 .\dirent.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
36 .\compat.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
37 so32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
38 tcp32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
39 <<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
40 IMPLIB DWCOMPAT.LIB DWCOMPAT.DEF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
41 copy dwcompat.lib lib\dwcompat.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
42 copy dwcompat.dll dll\dwcompat.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
43
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
44 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
45 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
46 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
47 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
48 /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
49 /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
50 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
51 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
52 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
53 <<
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
54 clean :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
55 @if exist *.obj del *.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
56 @if exist *.map del *.map
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
57 @if exist *.lib del *.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
58 @if exist *.dll del *.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
59 @if exist *.exe del *.exe
1167
5668d269beb3 Add *.REV to the clean rules on Windows and OS/2 when using nmake.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1166
diff changeset
60 @if exist *.REV del *.REV
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
61