Files
harbour-core/harbour/source/vm/Makefile
Przemyslaw Czerpak 5d2a6931be 2009-06-14 14:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/gtwvg/wvgwin.c
    ! fixed wrongly used & operator

  * harbour/source/rtl/hbproces.c
    * added TODO warning in OpenWatcom Linux builds

  * harbour/make_gnu.sh
    ! fixed test_param() function definition - it has to be defined it's
      before use

  * harbour/include/hbexpra.c
  * harbour/include/hbexprb.c
  * harbour/source/common/expropt1.c
  * harbour/source/rtl/round.c
    * removed unnecessary <math.h>

  * harbour/source/vm/hvm.c
  * harbour/source/common/expropt2.c
  * harbour/contrib/hbct/ctmath.h
  * harbour/contrib/hbclipsm/num.c
  * harbour/contrib/hbclipsm/numfloor.c
  * harbour/contrib/hbclipsm/numceil.c
    * use "hbmath.h" instead of <math.h> to avoid possible desynchronization
      between used math libraries and header files

  * harbour/source/pp/Makefile
    ! fixed real DOS compilation - replaced Windows only hack by wildcard
      function usage

  * harbour/config/dos/dir.cf
    * removed intermediate sh call from executed commands

  * harbour/source/vm/Makefile
    * disabled HB_HVM_ALL in all Watcom builds - it works but the compilation
      time is very huge so user who wants to use it should set envvar
      HB_HVM_ALL=yes
    * enabled HB_HVM_ALL for DJGPP builds
2009-06-14 12:40:11 +00:00

119 lines
1.6 KiB
Makefile

#
# $Id$
#
ROOT = ../../
ifeq ($(HB_HVM_ALL),)
HB_HVM_ALL = yes
ifeq ($(HB_COMPILER),watcom)
HB_HVM_ALL = no
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
DIRS=
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