I'm still seeking a .mak file for a service using FWH, Harbour, MSVC++
I'm thinking some .lib files can be excluded from the ones we normally use ( especially GUI libs )
Tim
# hbmk.hbc
# Log build environment details
echo=ThisFile...........: ${hb_self}
echo=Platform...........: ${hb_plat}
echo=Compiler...........: ${hb_comp}
echo=HbBin..............: ${hb_bin}
echo=HbLib..............: ${hb_lib}
echo=HbLib3rd...........: ${hb_lib3rd}
echo=HbInc..............: ${hb_inc}
echo=Addons.............: ${hb_addons}
echo=HBMK2Location......: ${hb_root}
echo=CurrentDirectory...: ${hb_curdir}
echo=WorkingDirectory...: ${hb_work}
echo=EntryFunction......: ${hb_first}
# Harbour compiler warnings.
prgflags=-w1 -es2
# This is needed due to a conflict of "ALERT" in fiveh.lib with what is in the harbour rtl.
# I have temporarily worked around this by making a custom harbour build where all calls
# to Alert() in the rtl are pointed to local static functions I added to the 3 modules that
# use the function. (otherwise this would not be commented out.)
# ldflags=/FORCE:MULTIPLE{msvc|msvc64}
# ldflags=/ignore:lnk4006
# Standard harbour libs
hbcs=hbmzip hbziparc
hbcs=xhb
hbcs=hbsqlit3
hbcs=hbcurl
hbcs=hbnetio hbmemio hbpipeio hbtcpio
# Windows libraries
libs=kernel32 user32 gdi32 winspool comctl32 comdlg32 advapi32 shell32 ole32 oleaut32{allwin}
libs=uuid odbc32 iphlpapi mpr version wsock32 msimg32 oledlg psapi winmm{allwin}
libs=rasapi32 vfw32 WS2_32 crypt32{allwin}
libs=strmiids odbccp32 gdiplus{msvc|msvc64}
libs=mysqlserver{allwin}
# Fixes legacy issues introduced with VS 2015/2017 (XP only)
libs=legacy_stdio_definitions{msvc}
# Needed to be able to run on 2000 (5.0) and XP (5.01)
# All 32 bit apps will be built this way for backwards compatability
# with XP when built with VS2015/2017 until such time as I no
# longer need to support XP.
ldflags=/SUBSYSTEM:WINDOWS,5.01{msvc}
cflags=/D_USING_V110_SDK71_{msvc}
ldflags=/NODEFAULTLIB:msvcrt{msvc|msvc64}
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 47 guests