annotate makefile.vac @ 1853:4790589f52a9

Initial commit for new dw_signal_connect_data() function... Same as dw_signal_connect() but it has an additional callback parameter that gets called when the callback is being removed. This allows me to free memory allocated for the data parameter and prevent memory leaks in godwindows... Tested GTK and Mac.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 27 Feb 2013 19:14:22 +0000
parents 76b24619f6fa
children 1660b4ecb92f
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 \
1379
e79cf0d73caf Revert dwtest change to test deleting menu items...
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1361
diff changeset
9 .\dwcompat.dll \
e79cf0d73caf Revert dwtest change to test deleting menu items...
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1361
diff changeset
10 .\dwtest.exe
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
11
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
12 .c.obj:
1689
3fb7002e4de6 Unicode (UTF-8) mode on OS/2 as noted to me by Alex Taylor comes with
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1594
diff changeset
13 icc.exe /DOS2 /DTCPV40HDRS /DBUILD_DLL /DUNICODE /DVER_REV=$(VERREV) /I. /Tm+ /Tdc /Ss /V"Dynamic Windows Compatibility" /Ti /Gm /Gd- /G5 /Ge- /C /W3 %s
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
14
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
15 .\dw.dll: \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
16 .\os2\dw.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
17 @echo " Link::Linker "
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
18 icc.exe @<<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
19 /B" /NOE /de /ST:32768 /nologo /li"
1360
32a5be18e187 Source tree cleanup, move import/export definition files to their platform folder.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1167
diff changeset
20 /Fe"dw.dll" os2\dw.def
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
21 .\dw.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
22 so32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
23 tcp32dll.lib
1746
76b24619f6fa Experimental OS/2 code adding utf8 input conversion...
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1692
diff changeset
24 libuls.lib
76b24619f6fa Experimental OS/2 code adding utf8 input conversion...
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1692
diff changeset
25 libconv.lib
76b24619f6fa Experimental OS/2 code adding utf8 input conversion...
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1692
diff changeset
26 unikbd.lib
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
27 <<
1361
324812debcc9 Missed a couple .DEF file references on OS/2 and...
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1360
diff changeset
28 IMPLIB DW.LIB OS2\DW.DEF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
29 copy dw.lib lib\dw.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
30 copy dw.dll dll\dw.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
31
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
32 .\dwcompat.dll: \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
33 .\os2\dirent.obj \
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1588
diff changeset
34 .\dwcompat.obj
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
35 @echo " Link::Linker "
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
36 icc.exe @<<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
37 /B" /NOE /de /ST:32768 /nologo /li"
1360
32a5be18e187 Source tree cleanup, move import/export definition files to their platform folder.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1167
diff changeset
38 /Fe"dwcompat.dll" os2\dwcompat.def
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
39 .\dirent.obj
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1588
diff changeset
40 .\dwcompat.obj
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
41 so32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
42 tcp32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
43 <<
1361
324812debcc9 Missed a couple .DEF file references on OS/2 and...
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1360
diff changeset
44 IMPLIB DWCOMPAT.LIB OS2\DWCOMPAT.DEF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
45 copy dwcompat.lib lib\dwcompat.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
46 copy dwcompat.dll dll\dwcompat.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
47
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
48 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
49 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
50 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
51 icc @<<
1692
6e26c9ead2fe Fixed a variety of warnings in different compiler/linker combinations on OS/2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1689
diff changeset
52 /B" /DE /optfunc /pm:pm"
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
53 /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
54 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
55 dwtest.obj
1360
32a5be18e187 Source tree cleanup, move import/export definition files to their platform folder.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1167
diff changeset
56 os2\dwtest.def
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
57 <<
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
58 clean :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
59 @if exist *.obj del *.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
60 @if exist *.map del *.map
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
61 @if exist *.lib del *.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
62 @if exist *.dll del *.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
63 @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
64 @if exist *.REV del *.REV
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
65