* config/win/global.mk
* utils/hbmk2/hbmk2.prg
! moved winmm library before kernel32. This fixes Harbour compile and
application run on Win7 and previous Windows versions if latest MinGW
is used.
; Win8+ exports timeGetTime() from both kernel32.dll and winmm.dll.
Previous windows version exports this function only from winmm.dll.
See discussion at https://github.com/msys2/MINGW-packages/issues/4984
* utils/hbmk2/hbmk2.prg
! Fixed dependency detection. Setting HB_WITH_<package>=local was ignored
if packages were detected using pkg-config
* contrib/hbexpat/3rd/expat/siphash.h
! fixed compile error for BCC <= 5.6
* rediffed
26 lines
696 B
Makefile
26 lines
696 B
Makefile
all : first
|
|
|
|
RES_EXT := .res
|
|
BIN_EXT := .exe
|
|
DYN_EXT := .dll
|
|
|
|
HB_CFLAGS += -DUNICODE
|
|
|
|
HB_GT_LIBS += gtwvt gtgui gtwin
|
|
|
|
# kernel32: needed by some compilers (pocc/watcom)
|
|
# user32: *Clipboard*(), GetKeyState(), GetKeyboardState(), SetKeyboardState(), gtwvt stuff
|
|
# ws2_32/wsock32: hbsocket
|
|
# ws2_32: WSAIoctl()
|
|
# iphlpapi: hbsocket->GetAdaptersInfo()
|
|
# advapi32: GetUserName()
|
|
# gdi32: gtwvt
|
|
|
|
# unicows lib must come after user libs and before Windows system libs
|
|
ifneq ($(wildcard $(TOP)$(ROOT)lib/3rd/$(HB_PLATFORM)/$(HB_COMPILER)),)
|
|
3RDLIB_DIR := $(TOP)$(ROOT)lib/3rd/$(HB_PLATFORM)/$(HB_COMPILER)
|
|
3RDLIBS := unicows
|
|
endif
|
|
|
|
SYSLIBS += winmm kernel32 user32 ws2_32 iphlpapi advapi32 gdi32
|