* config/detfun.mk
* config/detect.mk
+ Added positive platform/compiler filters.
+ Simplified internal platform/compiler filter syntax, now it's
one unified list where compiler/platform can be mixed and
negative filters can be passed by using '!' char prefix.
! In comment text.
* source/rtl/gtsln/Makefile
! Fixed silly copy-paste mistake in recent autodetection changes.
Thanks to Tamas Tevesz for spotting it.
* source/rtl/gtsln/mousesln.c
* Using macros instead of a constants.
(2 -> STDERR_FILENO)
35 lines
637 B
Makefile
35 lines
637 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
|
|
ifeq ($(HB_GPM_NOICE_DISABLE),yes)
|
|
HB_CFLAGS += -DHB_GPM_NOICE_DISABLE
|
|
endif
|
|
endif
|
|
|
|
include $(TOP)$(ROOT)config/lib.mk
|
|
else
|
|
include $(TOP)$(ROOT)config/none.mk
|
|
endif
|