Files
harbour-core/harbour/source/vm/Makefile
Viktor Szakats 0e76882035 2009-02-21 15:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ source/vm/fm
  + source/vm/fm/Makefile
  + source/vm/fmmt
  + source/vm/fmmt/Makefile
  * source/vm/Makefile
    + Added hbfm, hbfmmt lib generation which works for
      all compilers, not just gcc family.
    ; Please review.
    ; TOFIX: For some reason the locally added C flags 
             appear twice. Couldn't find out why.
2009-02-21 14:04:24 +00:00

84 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
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