Sugestões, ainda parciais
#hwgui_all.hbp
-hbcontainer
hwgui_main.hbp
hwgui_xml.hbp
hwgui_debug.hbp
hwgui_misc.hbp
contrib/hwgui_activex.hbp
contrib/hwgui_extctrl.hbp
contrib/hwgui_qhtm.hbp
#hwgui_qhtm.hbp
#
# $Id: hwg_qhtm.hbp 1615 2011-02-18 13:53:35Z mlacecilia $
#
-inc
-hblib
-o${hb_addons}/hwgui/lib/${hb_plat}/${hb_comp}/${hb_name}
-hbx=${hb_addons}/hwgui/${hb_name}
-n -q0 -w -es2
-i../include
-cflag=-DHWG_USE_POINTER_ITEM
qhtm/*.c
qhtm/*.prg
-beep
#hwgui_extctrl.hbp
#
# $Id: $
#
-inc
-hblib
-o${hb_addons}/hwgui/lib/${hb_plat}/${hb_comp}/${hb_name}
-hbx=${hb_addons}/hwgui/${hb_name}
-n -q0 -w -es2
-i../include
-cflag=-DHWG_USE_POINTER_ITEM
ext_controls/*.c
ext_controls/*.prg
-beep
#hwgui_activex.hbp
#
# $Id: hbactivex.hbp 1615 2011-02-18 13:53:35Z mlacecilia $
#
-inc
-hblib
-o${hb_addons}/hwgui/lib/${hb_plat}/${hb_comp}/${hb_name}
-hbx=${hb_addons}/hwgui/${hb_name}
-n -q0 -w -es2
-i../include
-cflag=-DHWG_USE_POINTER_ITEM
activex/*.c
activex/*.prg
#-stop{allmingw}
-beep
#hwgui_xml.hbp
#
# $Id: hbxml.hbp 2673 2018-10-19 09:17:38Z alkresin $
#
-inc
-hblib
-o${hb_addons}/hwgui/lib/${hb_plat}/${hb_comp}/${hb_name}
-hbx=${hb_addons}/hwgui/${hb_name}
-n -q0 -w -es2
-iinclude
# Uncomment these two lines to build HwGUI in Unicode mode
#-prgflag=-DUNICODE
#-cflag=-DUNICODE
-cflag=-DHWG_USE_POINTER_ITEM
source/common/xml/*.c
source/common/xml/*.prg
-beep
#hwgui_misc.hbp
#
# $Id: procmisc.hbp 2673 2018-10-19 09:17:38Z alkresin $
#
-inc
-hblib
-o${hb_addons}/hwgui/lib/${hb_plat}/${hb_comp}/${hb_name}
-hbx=${hb_addons}/hwgui/${hb_name}
-n -q0 -w -es2
-iinclude
# Uncomment these two lines to build HwGUI in Unicode mode
#-prgflag=-DUNICODE
#-cflag=-DUNICODE
-cflag=-DHWG_USE_POINTER_ITEM
"{unix}-cflag=`pkg-config --cflags gtk+-2.0`"
source/common/procmisc/*.c
source/common/procmisc/*.prg
{win}source/common/editor/hcedit_w.c
{unix}source/common/editor/hcedit_l.c
source/common/editor/*.prg
-beep
#hwgui_debug.hbp
#
# $Id: hwgdebug.hbp 2673 2018-10-19 09:17:38Z alkresin $
#
-inc
-hblib
-o${hb_addons}/hwgui/lib/${hb_plat}/${hb_comp}/${hb_name}
-hbx=${hb_addons}/hwgui/${hb_name}
-n -q0 -w -es2
-iinclude
# Uncomment these two lines to build HwGUI in Unicode mode
#-prgflag=-DUNICODE
#-cflag=-DUNICODE
-cflag=-DHWG_USE_POINTER_ITEM
"{unix}-cflag=`pkg-config --cflags gtk+-2.0`"
source/common/debug/*.c
source/common/debug/*.prg
-beep
#hwgui_dyn.hbp
#
# $Id: hwguidyn.hbp 2082 2013-06-19 13:16:05Z druzus $
#
-inc
-hbdynvm
-shared
-o${hb_addons}/hwgui/lib/${hb_plat}/${hb_comp}/${hb_name}
-hbx=${hb_addons}/hwgui/${hb_name}
-lhbxml
-lprocmisc
-L${hb_addons}/hwgui/lib/${hb_plat}/${hb_comp}/
-n1 -q0 -w -es2
-cflag=-DHWG_USE_POINTER_ITEM
"{unix}-cflag=`pkg-config --cflags gtk+-2.0`"
-cflag={bcc}-a8
-cflag=-D__EXPORT__
-iinclude
@hwgui.hbm
-beep
#hwgui_main.hbp
#
# $Id: hwgui.hbp 2673 2018-10-19 09:17:38Z alkresin $
#
-3rd=hbide_version=1.0
-3rd=hbide_type=Lib
-3rd=hbide_title=hwgui
-3rd=hbide_output=hwgui
-inc
-hblib
-o${hb_addons}/hwgui/lib/${hb_plat}/${hb_comp}/${hb_name}
-n
-q0
-w
-es2
-iinclude
-hbx=${hb_addons}/hwgui/${hb_name}
# Uncomment these two lines to build HwGUI in Unicode mode
#-prgflag=-DUNICODE
#-cflag=-DUNICODE
-cflag=-DHWG_USE_POINTER_ITEM
"{unix}-cflag=`pkg-config --cflags gtk+-2.0`"
@hwgui.hbm
-beep
#hwgui.hbc
#
# $Id: hwgui.hbc 2076 2013-06-13 15:37:33Z druzus $
#
# Include this file in hbmk2 command line to build an app:
# 'hbmk2 hwgui.hbc test.prg'
incpaths=include
libpaths=${hb_addons}/hwgui/lib/${hb_plat}/${hb_comp}/
#{win}gt=gtgui
gui=yes
libs=hwgui_main hwgui_misc hwgui_xml hwgui_debug hwgui_qhtm
{win&!allmingw}libs=hwgui_activex
{unix}ldflags+="`pkg-config --libs gtk+-2.0`"
Diferenças:
- todas as libs direcionadas pra *Harbour*/add-ons/hwgui/lib/win/mingw (ou plataforma/compilador usados)
- criação do hbx que permite ao hbmk2 mostrar aonde encontrar o que falta
- no final, basta adicionar o path da hwgui a /harbour/bin/hbmk.hbc
- pode ter Harbour 3.2, 3.4 e xHarbour na máquina que não mistura, assim como vários compiladores C - vai ficar tudo na pasta add-ons/hwgui de cada compilador
criei tudo agora, então falta mais testes práticos