* bin/hb-mkdyn.bat
* Cleaned tool outputs.
+ Added hbmaindllh lib to included liblist.
(dunno what this serves, but we had it in non-GNU make)
Do we need this at all?
+ Added support for msvc64 dll name.
* Some tweak to owatcom, but it's just guessing, it still
doesn't work.
+ Added generating hbrun-dll executable.
* source/vm/hvm.c
* source/vm/mainstd.c
* Random tweak for owatcom/win dll support without success.
Best result so far is:
"Unrecoverable error 9012: Can't locate the starting procedure: 'MAIN'"
* source/vm/Makefile
+ Added mainddllp generation for msvc, msvc64, bcc32, owatcom.
* source/vm/maindllp.c
+ Added msvc64 and msvcia64 .dll names.
* source/vm/extrap.c
* Minor tweak to use alternate (documented) CPU detection macro.
* utils/hbmk2/hbmk2.prg
+ Added msvc64 .dll name.
* Removed automatic addition of hbcommon lib for shared
mode for win compilers.
* utils/hbtest/hbtest.hbm
* utils/hbrun/hbrun.hbm
+ Added make files.
100 lines
1.4 KiB
Makefile
100 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),bcc32)
|
|
DIRS += maindllh
|
|
endif
|
|
ifeq ($(HB_COMPILER),msvc)
|
|
DIRS += maindllh
|
|
endif
|
|
ifeq ($(HB_COMPILER),msvc64)
|
|
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
|