view makefile.vac @ 2998:4861e9f49907

GTK4: Here we go down this rabbit hole again. GTK 4.10 is deprecating tons of functionality with deficient replacement APIs. GtkComboBox is deprecated now suggesting GtkDropDown as a replacement, however GtkDropDown is just a list selection and does not have an editable entryfield version. I haven't completely gone through the changes, but I will attempt to switch to the new APIs where possible to reduce the number of deprecation warnings. This is the first set switching gtk_widget_hide/show() to use gtk_widget_set_visible() instead. This removes about 50 warnings.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 17 May 2023 05:49:25 +0000
parents 1660b4ecb92f
children
line wrap: on
line source

.SUFFIXES: .c .obj

!if ![cmd /c os2\svnrev.cmd]
!include SVN.REV
!endif

.all: \
	.\dw.dll \
	.\dwcompat.dll \
	.\dwtest.exe

.c.obj:
	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

.\dw.dll: \
	.\os2\dw.obj
	@echo " Link::Linker "
	icc.exe @<<
	/B" /NOE /de /ST:32768 /nologo /li"
	/Fe"dw.dll" os2\dw.def
	.\dw.obj
	so32dll.lib
	tcp32dll.lib
	libuls.lib
	libconv.lib
	unikbd.lib
<<
	IMPLIB DW.LIB OS2\DW.DEF

.\dwcompat.dll: \
	.\os2\dirent.obj \
	.\dwcompat.obj
	@echo " Link::Linker "
	icc.exe @<<
	/B" /NOE /de /ST:32768 /nologo /li"
	/Fe"dwcompat.dll" os2\dwcompat.def
	.\dirent.obj
	.\dwcompat.obj
	so32dll.lib
	tcp32dll.lib
<<
	IMPLIB DWCOMPAT.LIB OS2\DWCOMPAT.DEF

dwtest.obj:
	icc /Ti /DOS2 /DTCPV40HDRS /Sp1 /I. /Sm /Ss /Q /Gm /Gt /C dwtest.c
dwtest.exe:  dwtest.obj
	icc @<<
	/B" /DE /optfunc /pm:pm"
	/Fedwtest.exe
	dw.lib dwcompat.lib
	dwtest.obj
	os2\dwtest.def
<<
clean :
	@if exist *.obj del *.obj
	@if exist *.map del *.map
	@if exist *.lib del *.lib
	@if exist *.dll del *.dll
	@if exist *.exe del *.exe
	@if exist *.REV del *.REV