Files
harbour-core/harbour/source/vm/Makefile
Viktor Szakats eb1767f8f3 2009-03-01 18:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
  * make_b32.bat
  * doc/gmake.txt
  * bin/postinst.bat
  * bin/hb-mkdyn.bat
  * make_gnu.bat
  * contrib/hbfimage/readme.txt
  * contrib/examples/uhttpd/modules/bldhrb.bat
  * source/vm/Makefile
  * source/rtl/console.c
  * source/compiler/gencobj.c
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/winapi.hbp
  - config/win/bcc32.cf
  + config/win/bcc.cf
    * Long time TODO done: Renamed bcc32 compiler name to bcc.
      bcc32 is still accepted by make_gnu.bat, but will be 
      removed in the future, so it's recommended to update 
      your local settings to use:
      set HB_COMPILER=bcc

  - config/dos/bcc16.cf
    - Deleted bcc16 compiler support. I didn't work since ages,
      and Harbour doesn't support 16-bit compilers anyway.
2009-03-01 17:19:29 +00:00

103 lines
1.4 KiB
Makefile

#
# $Id$
#
ROOT = ../../
ifeq ($(HB_ARCHITECTURE),win)
ifeq ($(HB_COMPILER),mingw)
C_MAIN = mainwin.c
DIRS = mainstd
else
ifeq ($(HB_COMPILER),mingwce)
C_MAIN = mainwin.c
DIRS = mainstd mainwin
else
C_MAIN = mainstd.c mainwin.c
DIRS = mainstd mainwin
endif
endif
else
ifeq ($(HB_ARCHITECTURE),os2)
C_MAIN = mainstd.c
else
C_MAIN = main.c
endif
endif
ifeq ($(HB_ARCHITECTURE),win)
ifeq ($(HB_COMPILER),bcc)
DIRS += maindllh
endif
ifeq ($(HB_COMPILER),msvc)
DIRS += maindllh
endif
ifeq ($(HB_COMPILER),msvc64)
DIRS += maindllh
endif
ifeq ($(HB_COMPILER),msvcia64)
DIRS += maindllh
endif
ifeq ($(HB_COMPILER),owatcom)
DIRS += maindllh
endif
endif
C_SOURCES=\
hvm.c \
arrays.c \
arrayshb.c \
asort.c \
break.c \
classes.c \
cmdarg.c \
debug.c \
dynlibhb.c \
dynsym.c \
codebloc.c \
estack.c \
eval.c \
evalhb.c \
extend.c \
extrap.c \
fm.c \
garbage.c \
hashes.c \
hashfunc.c \
initexit.c \
initsymb.c \
itemapi.c \
macro.c \
$(C_MAIN) \
memvars.c \
memvclip.c \
pcount.c \
proc.c \
pvalue.c \
runner.c \
set.c \
thread.c \
vm.c \
PRG_SOURCES=\
harbinit.prg \
LIBNAME=hbvm
DIRS+= fm
ifeq ($(HB_MT),)
HB_MT=MT
HB_USER_CFLAGS:=$(subst -DHB_MT_VM,,$(HB_USER_CFLAGS))
endif
ifeq ($(HB_MT),MT)
ifneq ($(HB_ARCHITECTURE),dos)
DIRS+= vmmt fmmt
endif
endif
include $(TOP)$(ROOT)config/lib.cf
ifneq ($(DIRS),)
include $(TOP)$(ROOT)config/dir.cf
endif