* bin/postinst.sh
! Fix to strip command. Now using 'find' again and using -maxdepth 1
to prevent it from parsing subdirs.
* config/global.mk
+ Added new user settings to screen dump.
* source/dynlib/mt/Makefile
* source/dynlib/Makefile
* config/darwin/gcc.mk
* config/linux/gcc.mk
* config/dyn.mk
+ Attempt to add link creation for dynlibs.
Not tested yet.
; TODO: darwin needs even more sopthistication.
; TODO: clean support is missing yet.
; TODO: add this to rest of targets.
* source/vm/vmmt/Makefile
! Disabled HB_HVM_ALL for linux-icc, because it causes compiler internal
error when using -fpic.
* source/vm/Makefile
* Indenting.
92 lines
1.3 KiB
Makefile
92 lines
1.3 KiB
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ../../../
|
|
|
|
include $(TOP)$(ROOT)config/global.mk
|
|
|
|
vpath %.c ../
|
|
vpath %.prg ../
|
|
|
|
ifeq ($(HB_PLATFORM),win)
|
|
ifeq ($(HB_COMPILER),mingw)
|
|
C_MAIN := mainwin.c
|
|
else
|
|
C_MAIN := mainstd.c mainwin.c
|
|
endif
|
|
else
|
|
ifeq ($(HB_PLATFORM),wce)
|
|
C_MAIN := mainwin.c
|
|
else
|
|
ifeq ($(HB_PLATFORM),os2)
|
|
C_MAIN := mainstd.c
|
|
else
|
|
C_MAIN := main.c
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(HB_HVM_ALL),yes)
|
|
# we disable it due to compiler bug (internal error) when using -fpic option. [20090920]
|
|
ifeq ($(HB_PLATFORM)-$(HB_COMPILER),linux-icc)
|
|
HB_HVM_ALL := no
|
|
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 := hbvmmt
|
|
|
|
HB_CFLAGS += -DHB_MT_VM
|
|
|
|
include $(TOP)$(ROOT)config/lib.mk
|