git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2367 c06c8d41-db1a-0410-9941-cceddc491573
5HVR2EAVL7HMHVZXGGUWIGSWERR5VKZWWKZXLQZFYZ2XNASMEGEQC
C3PLBBUOOQCXSVFKBWVMO2P3HA6Q2TQIDYAP67PILYOEKQMMPTYAC
2D77G7XIIDVS2RUE33YH2NAPSXNLXKXXN3RP2TKPLWRXTEAVSZ3QC
PL6I2CMSTHY5ZHWVMIQE5YTM5S5VPKBNZM6QJVHZSSKOJGIJ5W4AC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
IWUBCC6Y7VW7FIF6ULA3XQVQW73M5A6XOYLTSU4HSP2LKAGTUMFAC
IOVEJGOB3UPGG7YZLZC7VZGAPASFQ4GBIPFFRDBWHAO66NV6UE6AC
ifeq ($(UNICODE_GLYPHS),y)
# Include path for (n)curses with Unicode support.
INCLUDES = -I/usr/include/ncursesw
# Your ncurses library may include Unicode support, and you may not have a
# separate libncursesw; in that case, change this line accordingly.
LIBCURS = ncursesw
EXTRA_FLAGS += -DUNICODE_GLYPHS
ifneq ($(UNICODE_LOCALE),)
EXTRA_FLAGS += -DUNICODE_LOCALE=\"$(UNICODE_LOCALE)\"
endif
# The standard ncurses library also supports Unicode on Mac OS/Darwin.
ifeq ($(shell uname),Darwin)
LIBCURS = ncurses
endif
else
# Include path for curses or ncurses (non-Unicode).
INCLUDES = -I/usr/include/ncurses
LIBCURS = ncurses
endif
endif
ifeq ($(UNICODE_GLYPHS),y)
# Include path for (n)curses with Unicode support.
INCLUDES += -I/usr/include/ncursesw
# Your ncurses library may include Unicode support, and you may not have a
# separate libncursesw; in that case, change this line accordingly.
LIBCURS = ncursesw
CFOTHERS += -DUNICODE_GLYPHS
ifneq ($(UNICODE_LOCALE),)
CFOTHERS += -DUNICODE_LOCALE=\"$(UNICODE_LOCALE)\"
endif
# The standard ncurses library also supports Unicode on Mac OS/Darwin.
ifeq ($(shell uname),Darwin)
LIBCURS = ncurses
endif
else
# Include path for curses or ncurses (non-Unicode).
INCLUDES += -I/usr/include/ncurses
LIBCURS = ncurses