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LO53XLFXAC
GVDKSZGU5NDWQAADOPCIURSBQG2T7VMFDKAF75Z5T3KVVP6744VQC
# Use the variable OSNAME if you need to add something that's
# platform-specific.
# The valid OSNAME values are currently:
# 'WIN32': alias for MinGW and Cygwin
# 'MacOS': alias for Darwin (Mac OS X)
# and non-translated values from other platforms (values from
# 'uname -s' call). So Linux is simply 'Linux', etc.
#
UNAME_S := $(shell uname -s)
OSNAME =
ifneq (,$(findstring MINGW,$(UNAME_S)))
OSNAME = WIN32
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo not')
uname_R := $(shell sh -c 'uname -r 2>/dev/null || echo not')
uname_P := $(shell sh -c 'uname -p 2>/dev/null || echo not')
uname_V := $(shell sh -c 'uname -v 2>/dev/null || echo not')
ifneq (,$(findstring MINGW,$(uname_S)))
GAME = crawl.exe
WIN32 = Yes
NO_RDYNAMIC = YesPlease
NO_NCURSES = YesPlease
NEEDS_LIBW32C = YesPlease
NEEDS_PCRE = YesPlease
endif
# Change this to y (case-sensitive!) if you want to use Unicode glyphs
# in the map, and you have libncursesw available.
UNICODE_GLYPHS = n
# Usually, it can be autodetected for you:
ifneq ($(shell ls /usr/include/ncursesw 2> /dev/null),)
UNICODE_GLYPHS = y
# If you're using UNICODE_GLYPHS=y, and have a preferred Unicode
# (UTF-8) locale you want Crawl to use, you can set it here. The
# default is en_US.UTF-8. If you'd prefer that Crawl use the locale
# as set in your environment LC_* variables, use UNICODE_LOCALE = .
UNICODE_LOCALE =
ifeq ($(strip $(UNICODE_GLYPHS)),y)
ifndef NO_NCURSES
# Usually, it can be autodetected for you:
ifneq ($(shell ls /usr/include/ncursesw 2> /dev/null),)
UNICODE_GLYPHS = YesPlease
endif
# If you're using UNICODE_GLYPHS=y, and have a preferred Unicode
# (UTF-8) locale you want Crawl to use, you can set it here. The
# default is en_US.UTF-8. If you'd prefer that Crawl use the locale
# as set in your environment LC_* variables, use UNICODE_LOCALE = .
UNICODE_LOCALE =
ifdef UNICODE_GLYPHS
ifeq (,$(findstring MINGW,$(UNAME_S)))
LIB += -l$(LIBCURS)
endif
USE_ICC := n
ifneq ($(USE_ICC),n)
ifdef USE_ICC