Mercurial > dwindows
annotate makefile.vac @ 2819:a2fc275fa9bb
iOS: Fix major memory leaks when destroying widgets and windows.
More surely needs to be done regardig this, iOS doesn't destroy subviews as
expected when the parent is removed. I was expecting it to bring the
reference counts to 0 and starts destroying subviews... so I had to do this
manually. Boxes, ScrollBoxes, Spinbuttons and Comboboxes all now destroy
their subviews. Probably will need to do the same for splitbar, notebooks
and possibly others. However this stops the memory leak in Interface
Builder when recreating the interface. Also need to figure out why the
reference count is lower for DWButtons.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 02 Aug 2022 06:17:09 +0000 |
parents | 1660b4ecb92f |
children |
rev | line source |
---|---|
3 | 1 .SUFFIXES: .c .obj |
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 |
2778
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
5 !endif |
1166
568b37e4b167
Attempt at importing the svn revision with VAC/nmake.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
300
diff
changeset
|
6 |
3 | 7 .all: \ |
2778
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
8 .\dw.dll \ |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
9 .\dwcompat.dll \ |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
10 .\dwtest.exe |
3 | 11 |
12 .c.obj: | |
2778
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
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 | 14 |
15 .\dw.dll: \ | |
2778
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
16 .\os2\dw.obj |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
17 @echo " Link::Linker " |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
18 icc.exe @<< |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
19 /B" /NOE /de /ST:32768 /nologo /li" |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
20 /Fe"dw.dll" os2\dw.def |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
21 .\dw.obj |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
22 so32dll.lib |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
23 tcp32dll.lib |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
24 libuls.lib |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
25 libconv.lib |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
26 unikbd.lib |
3 | 27 << |
2778
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
28 IMPLIB DW.LIB OS2\DW.DEF |
3 | 29 |
30 .\dwcompat.dll: \ | |
2778
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
31 .\os2\dirent.obj \ |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
32 .\dwcompat.obj |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
33 @echo " Link::Linker " |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
34 icc.exe @<< |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
35 /B" /NOE /de /ST:32768 /nologo /li" |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
36 /Fe"dwcompat.dll" os2\dwcompat.def |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
37 .\dirent.obj |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
38 .\dwcompat.obj |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
39 so32dll.lib |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
40 tcp32dll.lib |
3 | 41 << |
2778
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
42 IMPLIB DWCOMPAT.LIB OS2\DWCOMPAT.DEF |
3 | 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 @<< |
2778
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
48 /B" /DE /optfunc /pm:pm" |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
49 /Fedwtest.exe |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
50 dw.lib dwcompat.lib |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
51 dwtest.obj |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
52 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
|
53 << |
3 | 54 clean : |
2778
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
55 @if exist *.obj del *.obj |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
56 @if exist *.map del *.map |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
57 @if exist *.lib del *.lib |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
58 @if exist *.dll del *.dll |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
59 @if exist *.exe del *.exe |
1660b4ecb92f
Win/OS2: Remove the lib and dll folders and their placeholders.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1746
diff
changeset
|
60 @if exist *.REV del *.REV |