Files
harbour-core/harbour/source/vm/vmmt/Makefile
Viktor Szakats 6b8ec38aec 2008-09-24 12:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/vm/vmmt/Makefile
    ! Possible fix for mingw build error:
      make: *** mainstd: No such file or directory.  Stop.
      make[3]: *** [first] Error 2
      make[2]: *** [first] Error 2
    ; Please review.

    ; TOFIX: These DLALLOC warnings are present with MinGW 4.3.2
             In file included from ../../fm.c:127:
             ../../dlmalloc.c:1144: warning: ignoring #pragma warning 
             In file included from ../../fm.c:127:
             ../../dlmalloc.c: In function 'sys_alloc':
             ../../dlmalloc.c:3396: warning: statement with no effect
2008-09-24 10:31:40 +00:00

75 lines
1.1 KiB
Makefile

#
# $Id$
#
vpath %.c ../
vpath %.prg ../
ROOT = ../../../
ifeq ($(HB_ARCHITECTURE),w32)
ifeq ($(HB_COMPILER),mingw)
C_MAIN = mainwin.c
else
ifeq ($(HB_COMPILER),mingwce)
C_MAIN = mainwin.c
else
C_MAIN = mainstd.c mainwin.c
endif
endif
else
ifeq ($(HB_ARCHITECTURE),os2)
C_MAIN = mainstd.c mainpm.c
else
C_MAIN = main.c
endif
endif
C_SOURCES=\
arrays.c \
arrayshb.c \
asort.c \
break.c \
classes.c \
cmdarg.c \
debug.c \
debugold.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 \
hvm.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=hbvmmt
ifeq ($(C_USR),$(subst -DHB_MT_VM,,$(C_USR)))
C_USR += -DHB_MT_VM
endif
include $(TOP)$(ROOT)config/lib.cf