2009-09-17 13:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gtsln/Makefile
  * config/global.mk
    % Deleted dedicated (redundant) make level settings:
      - HB_GPM_NOICE_DISABLE=yes
        It should be replaced with HB_USER_CFLAGS=-DHB_GPM_NOICE_DISABLE
        Notice this setting was only effective in gtsln (yet it was passed to two other GTs).
      - HB_GT_CRS_BCEHACK=yes
        It should be replaced with HB_USER_CFLAGS=-DHB_GT_CRS_BCEHACK
      - HB_NCURSES_194=yes
        It should be replaced with HB_USER_CFLAGS=-DHB_NCURSES_194
    ; TODO: Change logic in bin/hb-func.sh to lookup user flags for -DHB_NCURSES_194,
            instead of processing dedicated HB_NCURSES_194 variable. I'm unsure
            which variable to check here for user flags.
This commit is contained in:
Viktor Szakats
2009-09-17 11:15:46 +00:00
parent 20f9b93b0f
commit d3ba9019b8
6 changed files with 18 additions and 23 deletions

View File

@@ -17,6 +17,23 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-09-17 13:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtcrs/Makefile
* source/rtl/gttrm/Makefile
* source/rtl/gtsln/Makefile
* config/global.mk
% Deleted dedicated (redundant) make level settings:
- HB_GPM_NOICE_DISABLE=yes
It should be replaced with HB_USER_CFLAGS=-DHB_GPM_NOICE_DISABLE
Notice this setting was only effective in gtsln (yet it was passed to two other GTs).
- HB_GT_CRS_BCEHACK=yes
It should be replaced with HB_USER_CFLAGS=-DHB_GT_CRS_BCEHACK
- HB_NCURSES_194=yes
It should be replaced with HB_USER_CFLAGS=-DHB_NCURSES_194
; TODO: Change logic in bin/hb-func.sh to lookup user flags for -DHB_NCURSES_194,
instead of processing dedicated HB_NCURSES_194 variable. I'm unsure
which variable to check here for user flags.
2009-09-17 13:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-func.sh
* config/beos/libs.mk

View File

@@ -121,7 +121,7 @@ _DET_FLT_COMP :=
_DET_INC_DEFP := /boot/develop/headers/3rdparty
_DET_INC_HEAD := /curses.h
ifeq ($(HB_NCURSES_194),yes)
ifneq ($(filter -DHB_NCURSES_194,$(HB_USER_CFLAGS)),)
_DET_INC_DEFP += /usr/include/ncur194
else
_DET_INC_DEFP += /usr/include /usr/local/include /sw/include /opt/local/include

View File

@@ -242,19 +242,12 @@ ifeq ($(HB_INIT_DONE),)
# Some additional ones to be given a standard name:
# HB_HOST_BUILD [yes|all|lib] -> ? (yes = build harbour/hbpp bin only, all = default, lib = build libs only)
# HB_REBUILD_PARSER -> HB_BUILD_PARSER (or maybe HB_HAVE_BISON?)
# HB_DB_DRVEXT -> -
# HB_COMMERCE -> ?
# HB_BIN_COMPILE -> HB_BUILD_BIN_DIR
# HB_INC_COMPILE -> - (HB_BUILD_INC_DIR)
#
# HB_DIR_* -> HB_LIBDIR_* ? (only used for implib and a few .hbm files)
#
# HB_DLLIBS -> (only used in one location, so it's a local matter)
# HB_GPM_NOICE_DISABLE -> HB_USER_CFLAGS=-DHB_GPM_NOICE_DISABLE
# HB_GT_CRS_BCEHACK -> HB_USER_CFLAGS=-DHB_GT_CRS_BCEHACK
# HB_NCURSES_194 -> HB_USER_CFLAGS=-DHB_NCURSES_194
#
# Macros:
# -DHB_GT_LIB=

View File

@@ -15,17 +15,8 @@ ifneq ($(HB_HAS_CURSES),)
HB_CFLAGS += $(foreach d,$(HB_HAS_CURSES),-I$(d))
ifeq ($(HB_GT_CRS_BCEHACK),yes)
HB_CFLAGS += -DHB_GT_CRS_BCEHACK
endif
ifneq ($(HB_HAS_GPM),)
HB_CFLAGS += -DHB_HAS_GPM
ifeq ($(HB_GPM_NOICE_DISABLE),yes)
HB_CFLAGS += -DHB_GPM_NOICE_DISABLE
endif
endif
ifeq ($(HB_NCURSES_194),yes)
HB_CFLAGS += -DHB_NCURSES_194
endif
include $(TOP)$(ROOT)config/lib.mk

View File

@@ -23,9 +23,6 @@ ifneq ($(HB_HAS_SLANG),)
ifneq ($(HB_HAS_GPM),)
HB_CFLAGS += -DHB_HAS_GPM
ifeq ($(HB_GPM_NOICE_DISABLE),yes)
HB_CFLAGS += -DHB_GPM_NOICE_DISABLE
endif
endif
include $(TOP)$(ROOT)config/lib.mk

View File

@@ -35,9 +35,6 @@ ifeq ($(HB_SUPPORTED),yes)
ifneq ($(HB_HAS_GPM),)
HB_CFLAGS += -DHB_HAS_GPM
ifeq ($(HB_GPM_NOICE_DISABLE),yes)
HB_CFLAGS += -DHB_GPM_NOICE_DISABLE
endif
endif
include $(TOP)$(ROOT)config/lib.mk