2 # NetHack 3.6 unix $NHDT-Date: 1554411633 2019/04/04 21:00:33 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.0 $
3 # Copyright (c) Kevin Smolkowski "Snivik", Elgin Oregon 2019.
4 # NetHack may be freely redistributed. See license for details.
7 # This hints file provides a shared playground build for Solaris, specifically
8 # for Solaris 10 and 11, but should work just fine on older versions
10 # Nethack will install suid games, and will expect to read a users .nethackrc file from
11 # their home directory which may be a problem on secure systems with read restricted home
12 # directories, not that you would problably run NetHack on such a system anyway. :)
14 # Build using using included gcc and gmake, optional flex and bison come from csw for solaris 10
15 # and included on Solaris 11
19 HACKDIR=$(PREFIX)/games/lib/$(GAME)dir
22 SHELLDIR=$(PREFIX)/games
24 POSTINSTALL= cp sys/unix/sysconf $(INSTDIR)/sysconf; $(CHOWN) $(GAMEUID) $(INSTDIR)/sysconf;$(CHGRP) $(GAMEGRP) $(INSTDIR)/sysconf; chmod $(VARFILEPERM) $(INSTDIR)/sysconf;
27 CFLAGS=-O -I../include
46 # Optional Tools to build level compiler