5857N/A# This hints file provides tty and X11 builds for Solaris.
5857N/A# During build, DESTDIR should be empty. During install, DESTDIR should be the
5857N/A# CLIENT_HACKDIR needs to be set separately from HACKDIR, since we use it
5857N/A# as a substitution in the nethack script, and can't have the workspace
5857N/A# path embedded in that script. The rest should have DESTDIR prepended.
5857N/ACLIENT_HACKDIR=$(PREFIX)/lib/$(GAME)
5857N/AHACKDIR=$(DESTDIR)$(CLIENT_HACKDIR)
5857N/ASHELLDIR = $(DESTDIR)$(PREFIX)/bin
5857N/A# Inherit CFLAGS from outside, via TOP_CFLAGS, and then do a bunch of
5857N/ACFLAGS+=-DX11_GRAPHICS -DUSE_XPM -DVISION_TABLES=1 -DTIMED_DELAY=1
5857N/ACFLAGS+=-DVAR_PLAYGROUND=\"$(VARDIR)\" -DLOCKDIR=\"$(VARDIR)\"
5857N/ACFLAGS+=-DHACKDIR=\"$(HACKDIR)\"
5857N/A# Build for both tty and X11
5857N/AWINSRC = $(WINTTYSRC) $(WINX11SRC)
5857N/AWINOBJ = $(WINTTYOBJ) $(WINX11OBJ)
5857N/AWINLIB = -Wl,-zignore $(WINTTYLIB) $(WINX11LIB)
5857N/A# The installation believes it's installing to the live filesystem, so it
5857N/A# wants to set owner, group, and mode. Prevent the first two (which won't
5857N/A# be possible in a non-root build) and give reasonable but still arbitrary
5857N/AWINX11LIB=-lXaw -lXext -lXt -lX11 -lXpm
5857N/A# We need these down here in order to override the use of lex & yacc in