* harbour/source/vm/Makefile
* respect HB_HVM_ALL user settings
! export HB_HVM_ALL value set automatically - otherwise it's not seen
when HBVMMT is compiled
* harbour/source/vm/classes.c
* exteneded :classsel() build in method to repsect scope given as
2-nd parameter and return extended information compatible with
:ClassFullSel() implemented in xHarbour by Francesco Saverio Giudice.
This extended info is returned when 3-rd parameter is .T.
* harbour/source/rtl/dateshb.c
* do not generate RTE on wrong params in HB_STOT() function
* harbour/contrib/xhb/xhbfunc.c
+ added hacked function which allows to send messages without respecting
scope. It works only for the most visible data and does not support
any automatic casting.
* harbour/contrib/xhb/dumpvar.prg
! fixed HB_DumpVar() results on platforms where CRLF has different
length then 2
% small improve in hash item presentation
+ added __objGetMsgFullList() and __objGetValueFullList() as static
functions. Code borrowed form xHarbour by Francesco Saverio Giudice.
* make HB_DumpVar() working with object values.
119 lines
1.6 KiB
Makefile
119 lines
1.6 KiB
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT = ../../
|
|
|
|
ifeq ($(HB_HVM_ALL),)
|
|
|
|
HB_HVM_ALL = yes
|
|
ifeq ($(HB_COMPILER),owatcom)
|
|
ifeq ($(HB_ARCHITECTURE),win)
|
|
HB_HVM_ALL = no
|
|
endif
|
|
endif
|
|
ifeq ($(HB_COMPILER),bcc)
|
|
HB_HVM_ALL = no
|
|
endif
|
|
ifeq ($(HB_COMPILER),pocc)
|
|
HB_HVM_ALL = no
|
|
endif
|
|
ifeq ($(HB_COMPILER),pocc64)
|
|
HB_HVM_ALL = no
|
|
endif
|
|
ifeq ($(HB_COMPILER),poccarm)
|
|
HB_HVM_ALL = no
|
|
endif
|
|
ifeq ($(HB_COMPILER),xcc)
|
|
HB_HVM_ALL = no
|
|
endif
|
|
ifeq ($(HB_COMPILER),dmc)
|
|
HB_HVM_ALL = no
|
|
endif
|
|
export HB_HVM_ALL
|
|
endif
|
|
|
|
ifeq ($(HB_ARCHITECTURE),win)
|
|
ifeq ($(HB_COMPILER),mingw)
|
|
C_MAIN = mainwin.c
|
|
else
|
|
C_MAIN = mainstd.c mainwin.c
|
|
endif
|
|
DIRS = mainstd mainwin maindllh maindllp
|
|
else
|
|
ifeq ($(HB_ARCHITECTURE),wce)
|
|
C_MAIN = mainwin.c
|
|
DIRS = mainstd mainwin maindllh maindllp
|
|
else
|
|
ifeq ($(HB_ARCHITECTURE),os2)
|
|
C_MAIN = mainstd.c
|
|
else
|
|
C_MAIN = main.c
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(HB_HVM_ALL),yes)
|
|
|
|
C_SOURCES=\
|
|
hvmall.c \
|
|
|
|
else
|
|
|
|
C_SOURCES=\
|
|
hvm.c \
|
|
arrays.c \
|
|
classes.c \
|
|
dynsym.c \
|
|
codebloc.c \
|
|
estack.c \
|
|
extend.c \
|
|
fm.c \
|
|
garbage.c \
|
|
hashes.c \
|
|
itemapi.c \
|
|
macro.c \
|
|
memvars.c \
|
|
set.c \
|
|
thread.c \
|
|
|
|
endif
|
|
|
|
C_SOURCES+=\
|
|
arrayshb.c \
|
|
asort.c \
|
|
break.c \
|
|
cmdarg.c \
|
|
debug.c \
|
|
dynlibhb.c \
|
|
eval.c \
|
|
evalhb.c \
|
|
extrap.c \
|
|
hashfunc.c \
|
|
initexit.c \
|
|
initsymb.c \
|
|
memvclip.c \
|
|
pcount.c \
|
|
pvalue.c \
|
|
proc.c \
|
|
runner.c \
|
|
vm.c \
|
|
$(C_MAIN) \
|
|
|
|
PRG_SOURCES=\
|
|
harbinit.prg \
|
|
|
|
LIBNAME=hbvm
|
|
|
|
HB_USER_CFLAGS:=$(subst -DHB_MT_VM,,$(HB_USER_CFLAGS))
|
|
ifneq ($(HB_ARCHITECTURE),dos)
|
|
ifneq ($(HB_MT),no)
|
|
DIRS+= vmmt
|
|
endif
|
|
endif
|
|
|
|
include $(TOP)$(ROOT)config/lib.cf
|
|
ifneq ($(DIRS),)
|
|
include $(TOP)$(ROOT)config/dir.cf
|
|
endif
|