add pointer support to LIB_NO_UI case

This commit is contained in:
ehouse 2008-08-30 13:28:53 +00:00
parent 4d6aec67fe
commit 797b859c8e

View file

@ -54,6 +54,7 @@ DEFINES += $(DO_CURSES) $(DO_GTK) $(SVNDEF)
ifdef LIB_NO_UI
TARGET=$(PLATFORM)/libxwords.so.0
POINTER_SUPPORT = -DPOINTER_SUPPORT
else
TARGET=$(PLATFORM)/xwords
endif
@ -146,10 +147,13 @@ endif
ifneq (,$(findstring DPLATFORM_GTK,$(DEFINES)))
LIBS += `pkg-config --libs gtk+-2.0`
CFLAGS += `pkg-config --cflags gtk+-2.0` -DPOINTER_SUPPORT \
CFLAGS += `pkg-config --cflags gtk+-2.0` \
-DGDK_DISABLE_DEPRECATED
POINTER_SUPPORT = -DPOINTER_SUPPORT
endif
CFLAGS += $(POINTER_SUPPORT)
ifneq (,$(findstring DPLATFORM_NCURSES,$(DEFINES)))
LIBS += $(OE_LIBDIR) -lncurses
endif