Files
nethack/sys/unix/hints/solaris
2024-02-28 20:15:56 -08:00

45 lines
1.0 KiB
Plaintext

#
# NetHack 3.7 unix $NHDT-Date: 1596498426 2020/08/03 23:47:06 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.0 $
# Copyright (c) Kevin Smolkowski "Snivik", Elgin Oregon 2019.
# NetHack may be freely redistributed. See license for details.
#
#-PRE
# solaris hints file
# This hints file provides a single-user x11 build for Solaris, specifically
# for Solaris 10 and 11, but should work just fine on older versions
# Build using included gcc and gmake, optional flex and bison come from csw for solaris 10 and included
# with Solaris 11
# Build NetHack off your home directory
HACKDIR=$(HOME)/nethackdir
INSTDIR=$(HACKDIR)
VARDIR=$(HACKDIR)
SHELLDIR=$(HOME)
POSTINSTALL= cp sys/unix/sysconf $(INSTDIR)/sysconf;
CC=gcc
CFLAGS=-O -I../include
LINK=$(CC)
WINSRC = $(WINTTYSRC)
WINOBJ = $(WINTTYOBJ)
WINLIB = $(WINTTYLIB)
WINTTYLIB=-ltermlib
CHOWN=true
CHGRP=true
GAMEUID = games
GAMEGRP = bin
GAMEPERM = 04755
VARFILEPERM = 0644
VARDIRPERM = 0755
# Optional Tools to build level compiler
#LEX=flex
#YACC=bison -y