Add options SYSCF (to add a system-wide configuration file) and SYSCF_FILE (for a file-based implementation of SYSCF) - this allows a binary distribution to be configured at install time. The only option supported at this time is WIZARDS - a list of usernames which can use -D; currently only for unix-likes but should be extendable to anything that has a concept of multiple users. Add mac tty multiuser config using sgid.
29 lines
623 B
Plaintext
29 lines
623 B
Plaintext
#
|
|
# SCCS Id: @(#)linux 3.5 2007/12/15
|
|
# Copyright (c) Kenneth Lorber, Kensington, Maryland, 2007.
|
|
# NetHack may be freely redistributed. See license for details.
|
|
#
|
|
# Linux hints file
|
|
# This hints file provides a single-user tty build for Linux, specifically
|
|
# for Ubuntu dapper.
|
|
|
|
|
|
HACKDIR=$(PREFIX)/games/lib/$(GAME)dir
|
|
#PREFIX=/usr
|
|
PREFIX=$(wildcard ~)/nh/install
|
|
|
|
CFLAGS=-O -I../include -DNOTPARMDECL $(CFLAGS1)
|
|
CFLAGS1=-DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\"
|
|
|
|
|
|
WINSRC = $(WINTTYSRC)
|
|
WINOBJ = $(WINTTYOBJ)
|
|
WINLIB = $(WINTTYLIB)
|
|
|
|
WINTTYLIB=-lcurses
|
|
|
|
CHOWN=true
|
|
CHGRP=true
|
|
|
|
VARDIRPERM = 0755
|