* 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.
33 lines
580 B
Makefile
33 lines
580 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ../../../
|
|
|
|
include $(TOP)$(ROOT)config/global.mk
|
|
|
|
LIBNAME := gtsln
|
|
|
|
C_SOURCES := \
|
|
gtsln.c \
|
|
kbsln.c \
|
|
mousesln.c \
|
|
|
|
# TODO: Add these to lib path list
|
|
# LDFLAGS := -L/usr/local/lib $(LDFLAGS)
|
|
# LDFLAGS := -L/usr/lib/slang -L/usr/local/lib -L/usr/local/lib/slang $(LDFLAGS)
|
|
|
|
ifneq ($(HB_HAS_SLANG),)
|
|
|
|
HB_CFLAGS += $(foreach d,$(HB_HAS_SLANG),-I$(d))
|
|
|
|
ifneq ($(HB_HAS_GPM),)
|
|
HB_CFLAGS += -DHB_HAS_GPM
|
|
endif
|
|
|
|
include $(TOP)$(ROOT)config/lib.mk
|
|
else
|
|
HB_SKIP_REASON := component not found
|
|
include $(TOP)$(ROOT)config/none.mk
|
|
endif
|