Files
harbour-core/harbour/source/rtl/gttrm/Makefile
Viktor Szakats 61962be0dd 2009-07-14 12:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/extend.c
    ! Fixed hb_parvcx() to return "" instead of NULL when dealing
      with array parameters out of bound or non-string.
      (Borrowed from xhb by Ron Pinkas. Although the fix is
      implemented differently in Harbour)

  * source/rtl/gttrm/Makefile
    * CFLAGS -> HB_USER_CFLAGS

  * include/hbapicdp.h
  * include/hbextern.ch
  * source/lang/Makefile
  * source/codepage/Makefile
  + source/codepage/cpua1125.c
  + source/codepage/uc1125.c
    + Added DOS Ukrainian 1125 codepage
      (Borrowed from xhb. Work of Pavel Tsarenko)

  * utils/hbmk2/hbmk2.prg
    * OS/2 embedded compiler autodetection order fixed.
2009-07-14 10:16:48 +00:00

54 lines
885 B
Makefile

#
# $Id$
#
ROOT = ../../../
LIBNAME=gttrm
C_SOURCES=\
gttrm.c \
HB_WITH_GTTRM=yes
ifeq ($(HB_ARCHITECTURE),win)
HB_WITH_GTTRM=no
endif
ifeq ($(HB_ARCHITECTURE),wce)
HB_WITH_GTTRM=no
endif
ifeq ($(HB_ARCHITECTURE),dos)
HB_WITH_GTTRM=no
endif
ifeq ($(HB_ARCHITECTURE),os2)
HB_WITH_GTTRM=no
endif
ifeq ($(HB_COMPILER),cygwin)
HB_WITH_GTTRM=yes
endif
ifeq ($(HB_COMPILER),djgpp)
HB_WITH_GTTRM=yes
endif
ifeq ($(HB_WITH_GTTRM),yes)
HB_INC_GPM_OK =
ifneq ($(HB_GPM_MOUSE),no)
ifneq ($(HB_COMMERCE),yes)
HB_INC_GPM = /usr/include /usr/local/include
HB_INC_GPM_OK += $(foreach d, $(HB_INC_GPM), $(if $(wildcard $(d)/gpm.h),$(d),))
endif
endif
ifneq ($(strip $(HB_INC_GPM_OK)),)
HB_USER_CFLAGS += -DHAVE_GPM_H
ifeq ($(HB_GPM_NOICE_DISABLE),yes)
HB_USER_CFLAGS += -DHB_GPM_NOICE_DISABLE
endif
endif
include $(TOP)$(ROOT)config/lib.cf
else
include $(TOP)$(ROOT)config/none.cf
endif