* utils/hbmk2/hbmk2.prg
! Fixed bug which made gtwvt the default GT for mingw.
! Fixed to create final exe in current dir if no output
filename was specified and the first input file
contained a path.
* Changed to use version-less harbour shared lib names
on *nixes.
! Fixed to pass full path with harbour.so to gcc.
(even when Harbour isn't run from a system location)
! Fixed compilation/linking/cleanup if an input file
wasn't in current dir.
* Temp stub file is now created in system default temp dir,
instead of the current one.
+ Harbour shared lib path is normalized when Harbour
is found on system locations. (so '*/bin/../lib/' becomes
'*/lib')
* Better I hope handling of .so/.dylib/.sl/.dll files passed
on the command line.
* bin/hb-mkdll.bat
! Fixed typo in Borland MT .dll name.
! Fixed to not include maindll.obj, maindllp.obj in
Borland .dlls.
* Minor formatting and cleanup on internal names.
+ Added checking for source lib existence, showing
message if not found.
+ Better user feedback.
* bin/postinst.bat
+ Added running hb_mkdll.bat at the end of the build
process. For now users have to use 'set HB_DLL=yes'
to enable this features. It's experimental yet,
see previous comments.
* source/vm/Makefile
+ Now generating hbmainstd and hbmainwin for remaining
(non-mingw and non-mingwce) compilers. MSVC and BCC
need this for -shared linkage, I'm not sure about the
rest, anyhow we can disable it for other compilers
if it isn't needed in future.
* bin/hb-func.sh
% Refined hbmkcfg.hbp setup to better detect conditions.
* contrib/hbcurl/hbcurl.c
! Pacified this only one new gcc 4.3.3 warning.
* config/win/gcc.cf
* config/win/mingw.cf
+ Added -mtune=pentiumpro gcc optimization.
85 lines
1.1 KiB
Makefile
85 lines
1.1 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
|
|
|
|
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
|