mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
add pointer support to LIB_NO_UI case
This commit is contained in:
parent
4d6aec67fe
commit
797b859c8e
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue