2009-02-22 22:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

* make_vc.mak
    ! Added workaround for WinCE mode.

  * config/win/msvcce.cf
    ! Fixed cl name when building with older MSVC version.
This commit is contained in:
Viktor Szakats
2009-02-22 21:39:32 +00:00
parent a48f3abcc3
commit 21baf7c58a
3 changed files with 19 additions and 1 deletions

View File

@@ -8,6 +8,13 @@
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2009-02-22 22:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_vc.mak
! Added workaround for WinCE mode.
* config/win/msvcce.cf
! Fixed cl name when building with older MSVC version.
2009-02-22 21:52 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdll.bat
+ Added Borland C/C++ .dll building.

View File

@@ -14,7 +14,11 @@ LIB_EXT = .lib
# Favor size for CE builds.
HB_GCMODE=0
ifeq ($(HB_VISUALC_VER_PRE80),)
CC = cl.exe
else
CC = clarm.exe
endif
CC_IN = -c
CC_OUT = -Fo
CPPFLAGS = -I. -I$(HB_INC_COMPILE)

View File

@@ -89,10 +89,17 @@ MKLIB = lib.exe
# substitution, so we have to hardcode it
# TOFIX: This won't work properly if HB_CC_NAME is overridden by user (f.e. for WinCE builds).
!if "$(HB_BUILD_WINCE)" == "yes"
VMMTDLL_LIB_OBJS = $(VM_DLL_OBJS:obj\vcce=obj\vcce\mt_dll)
VMMT_LIB_OBJS = $(VM_LIB_OBJS:obj\vcce=obj\vcce\mt)
DLL_OBJS = $(TMP_DLL_OBJS:obj\vcce=obj\vcce\dll) $(VM_DLL_OBJS:obj\vcce=obj\vcce\dll)
MTDLL_OBJS = $(TMP_DLL_OBJS:obj\vcce=obj\vcce\dll) $(VMMTDLL_LIB_OBJS)
!else
VMMTDLL_LIB_OBJS = $(VM_DLL_OBJS:obj\vc=obj\vc\mt_dll)
VMMT_LIB_OBJS = $(VM_LIB_OBJS:obj\vc=obj\vc\mt)
DLL_OBJS = $(TMP_DLL_OBJS:obj\vc=obj\vc\dll) $(VM_DLL_OBJS:obj\vc=obj\vc\dll)
MTDLL_OBJS = $(TMP_DLL_OBJS:obj\vc=obj\vc\dll) $(VMMTDLL_LIB_OBJS)
!endif
#**********************************************************
# C compiler, Harbour compiler and Linker flags.
@@ -757,7 +764,7 @@ LDFLAGSDLL = /debug $(LDFLAGSDLL)
all : $(HB_DEST_DIRS) $(HB_BUILD_TARGETS)
#**********************************************************
# Helper targets - disabled for Msvc
# Helper targets - disabled for MSVC
#**********************************************************
#BasicLibs : $(COMMON_LIB) $(COMPILER_LIB) $(PP_LIB)