* harbour/common.mak
* harbour/source/lang/Makefile
+ harbour/source/lang/msgskiso.c
+ harbour/source/lang/msgskwin.c
+ harbour/source/lang/msgskkam.c
+ harbour/source/lang/msgsk852.c
+ added Slovak national messages by Gyula Bartal - many thanks
* harbour/include/hbapi.h
* harbour/source/vm/arrays.c
! Guarded hb_arraySetNLL() declaration with #ifndef HB_LONG_LONG_OFF.
! Fixed trace in hb_arraySetNInt().
By Phil Krylov borrowed from xHarbour
* harbour/include/hbgtcore.h
! added missing HB_EXTERN_BEGIN / HB_EXTERN_END
By Ron Pinkas borrowed from xHarbour
* harbour/source/rtl/gtos2/gtos2.c
% updated for much faster screen updating in OS2 console - many
thanks for Maurilio Longo for tests and code.
* harbour/source/rtl/cdpapi.c
! fixed CP string translation for CPs with accented equal characters
+ added HB_UTF8CHR( <nUniVal> ) -> <cUtf8Char>
It's compatible with the function HB_UTF8CHR() by Phil Krylov in
xHarbour
* harbour/source/rtl/gtsln/gtsln.h
* removed repeated #include <unistd.h>
* harbour/contrib/hbct/files.c
! fixed FILESEEK() called with 3-rd parameter set to .T. (exact
attribute match)
* harbour/config/os2/global.cf
! added fixes by David Arturo Macias Corona
+ harbour/make_os2_gcc.cmd
+ added build file for GCC OS2 users with minimal environment settings
88 lines
1.8 KiB
CFEngine3
88 lines
1.8 KiB
CFEngine3
#
|
|
# $Id$
|
|
#
|
|
|
|
all : first
|
|
|
|
HB_GT_LIST=\
|
|
gtcgi \
|
|
gtos2 \
|
|
gtpca \
|
|
gtstd \
|
|
|
|
# verify if GT drivers exist
|
|
#HB_GT_LIBS := $(foreach gt, $(HB_GT_LIST), $(if $(wildcard $(TOP)$(ROOT)source/rtl/$(gt)),$(gt),))
|
|
# temporary workaround for some possible problems with some GNU make versions
|
|
HB_GT_LIBS := $(HB_GT_LIST)
|
|
|
|
ifeq ($(HB_GT_LIB),)
|
|
HB_GT_LIB = gtos2
|
|
endif
|
|
|
|
ifeq ($(SHLVL),) # An OS/2 command shell
|
|
|
|
ARCH_DIR = $(HB_ARCH)
|
|
OS2_ARCH_DIR = $(subst /,\,$(HB_ARCH))
|
|
OS2_LIB_DIR = $(subst /,\,$(LIB_DIR))
|
|
OS2_LIB_PATH = $(subst /,\,$(LIB_PATH))
|
|
OS2_LIB_ARCH = $(subst /,\\,$(LIB_ARCH))
|
|
DIRSEP = $(subst /,\,\)
|
|
|
|
MK = $(subst /,\,$(subst \~,~,$(MAKE)))
|
|
|
|
ifeq ($(OS2_SHELL),)
|
|
# Not running on OS/2 (which comes in handy for 'make -r clean')
|
|
RM = del /q
|
|
else
|
|
# Running on OS/2
|
|
RM = del /n
|
|
endif
|
|
RD = rmdir
|
|
CP = copy
|
|
MV = move
|
|
MD = md
|
|
|
|
ifeq ($(LIB_PATH),)
|
|
|
|
dirbase::
|
|
-CMD.EXE /C FOR %d IN ($(HB_ARCHITECTURE) $(OS2_ARCH_DIR)) DO IF NOT EXIST %d $(MD) %d
|
|
|
|
clean::
|
|
-CMD.EXE /C IF EXIST $(OS2_ARCH_DIR)\*.* $(RM) $(OS2_ARCH_DIR)\\*.*
|
|
-CMD.EXE /C FOR %d IN ($(OS2_ARCH_DIR) $(HB_ARCHITECTURE)) DO IF EXIST %d $(RD) %d
|
|
|
|
else
|
|
|
|
dirbase::
|
|
-CMD.EXE /C FOR %d IN ($(HB_ARCHITECTURE) $(OS2_ARCH_DIR) $(OS2_LIB_PATH) $(OS2_LIB_DIR)) DO IF NOT EXIST %d $(MD) %d
|
|
|
|
clean::
|
|
-CMD.EXE /C IF EXIST $(OS2_ARCH_DIR)\*.* $(RM) $(OS2_ARCH_DIR)\\*.*
|
|
-CMD.EXE /C FOR %d IN ($(OS2_ARCH_DIR) $(HB_ARCHITECTURE)) DO IF EXIST %d $(RD) %d
|
|
-CMD.EXE /C IF EXIST $(OS2_LIB_ARCH) $(RM) $(OS2_LIB_ARCH)
|
|
|
|
endif
|
|
|
|
else # bash
|
|
|
|
ARCH_DIR = $(HB_ARCH)
|
|
MK = $(MAKE)
|
|
|
|
RM = rm -f
|
|
RD = rm -f -r
|
|
CP = cp -f
|
|
MV = mv -f
|
|
MD = mkdir
|
|
MDP = mkdir -p
|
|
|
|
OS2_LIB_ARCH = $(LIB_ARCH)
|
|
|
|
dirbase::
|
|
@[ -d $(ARCH_DIR) ] || $(MDP) $(ARCH_DIR)
|
|
@[ -z $(LIB_DIR) ] || [ -d $(LIB_DIR) ] || $(MDP) $(LIB_DIR)
|
|
|
|
clean::
|
|
-$(RD) $(ARCH_DIR) $(LIB_ARCH)
|
|
|
|
endif
|