File: solaris

package info (click to toggle)
nethack 3.6.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,468 kB
  • sloc: ansic: 266,495; cpp: 13,652; yacc: 2,903; perl: 1,426; lex: 581; sh: 535; xml: 372; awk: 98; makefile: 68; fortran: 51; sed: 11
file content (44 lines) | stat: -rw-r--r-- 1,043 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# NetHack 3.6 unix $NHDT-Date: 1554411633 2019/04/04 21:00:33 $  $NHDT-Branch: NetHack-3.6.2-beta01 $:$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 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