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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
|
###########################################################################
#
# TinyFugue configuration file
#
###########################################################################
#
# The tfconfig script can usually figure out everything it needs to know
# about your system, so you probably won't need to edit this file unless
# you want to change some defaults or enable some optional features.
# See the README file if you have problems or want to make any changes.
#
# Just type "make" to install everything.
#
# If you edit anything, make sure everything on the right side of a
# assignment is enclosed in quotes. In the instructions, "uncomment"
# means remove the "#" character from the beginning of the line.
#
###########################################################################
### File Locations.
# Default locations for files are /usr/local/{bin,lib} if writable,
# or ~$USER/{bin,lib} if they exist, or ~$USER. So you probably don't
# need to edit this. To change any file location, uncomment and edit
# the appropriate line below.
# Do NOT under any circumstances attempt to install files in the build
# tree (i.e., the directory unpacked from the archive).
# If SYMLINK is defined, a symbolic link to the executable file will be
# created with that name.
# For public installation, I recommend uncommenting the names below.
# TFVER is pre-defined, and contains an abbreviated version number.
# Using numbered filenames makes it easier to install a new version
# even if an old version is currently in use. You can remove
# the old version manually later when it is no longer in use.
TF="/usr/games/tf"
LIBDIR="/usr/share/games/tf"
# SYMLINK="/usr/local/bin/tf"
### Manual Page.
# Man page will not be installed by default. To have it installed,
# uncomment and edit the lines below. Set MANTYPE=nroff if your man
# uses nroff format; set MANTYPE=cat if your man uses pre-formatted
# vt100 "catman" pages. Default is "cat".
MANTYPE="nroff"
MANPAGE="/usr/man/man6/tf.6"
### Flags.
# This is the place to add flags as instructed by the README file.
FLAGS=''
### Unwanted Features.
# TF can be made slightly smaller at the expense of losing functionality.
# Uncomment one or more of the lines below to disable a feature.
# See also "Terminal Handling".
# FLAGS="$FLAGS -DNO_HISTORY"; # Disable /recall, /log, ^P, etc.
# FLAGS="$FLAGS -DNO_PROCESS"; # Disable /repeat and /quote.
# FLAGS="$FLAGS -DNO_NETDB" ; # Disable hostname resolving and service names.
# FLAGS="$FLAGS -DNO_FLOAT" ; # Disable floating point math.
### Terminal Driver.
# The tfconfig script can usually figure this out by itself. You only need to
# uncomment one of these lines if tfconfig figures incorrectly.
# TTYDRIVER='USE_TERMIOS'
# TTYDRIVER='USE_TERMIO'
# TTYDRIVER='USE_SGTTY'
### Terminal Handling.
# By default, tfconfig will try to use one of several different libraries
# with termcap interfaces, including termcap, ncurses, and curses; if they
# all fail, tfconfig will choose "HARDCODE TERM_vt100". You can explicitly
# set TERMINAL below to the name of a termcap-compatible library or to one
# of the HARDCODE options. With HARDCODE, TF will work only on the
# corresponding terminal type. Some space can be saved (at the expense of
# flexibility) by using HARDCODE.
# TERMINAL='your_termcap_library'
# TERMINAL='HARDCODE TERM_vt100'
# TERMINAL='HARDCODE TERM_vt220'
# TERMINAL='HARDCODE TERM_ansi'
### Mail Directory.
# If the MAIL environment variable is set at runtime, TF will use that.
# Otherwise, TF will assume mail is kept in a central spool directory.
# Normally, the tfconfig script can find the mail directory by itself;
# you only need to set MAILDIR below if your system keeps mail in an unusual
# place. If it keeps incoming mail in the recipient's home, see the example
# in tf-lib/local-eg.tf.
# MAILDIR='/weird/mail/directory'
### Compiler.
# If you do not specify CC here, tfconfig will use "gcc" if available,
# otherwise "cc". If for some strange reason gcc is installed on your
# system but doesn't work, use "cc" (and complain to your sysadmin).
# If you do not specify CCFLAGS here, tfconfig will use "-O".
# If unixmake told you to set CC=cc, be sure to uncomment the line below
# by removing the leading "#".
# CC=cc
CCFLAGS="-O2 -g -Wall"
### Stripping.
# tfconfig will use "strip" on the tf binary unless you tell it otherwise.
# Set STRIP='' to disable stripping.
# STRIP=''
### Other Compiler Libraries.
# This is the place to add extra libraries as described in unix/README
# if your linker can't resolve an external reference.
LIBS+='-lz -lm'
### Make Program.
MAKE='make'
### SOCKS connection proxy for firewalls.
# If you use rtelnet instead of telnet to connect to outside hosts, you
# probably want SOCKS support.
# Uncomment one set of SOCKS line below to enable SOCKS support.
# If you have a SOCKS version earlier than 4.2beta or later, do not uncomment
# the SOCKS_NONBLOCK line below to allow nonblocking connects.
# You may need to edit SOCKSLIBDIR and SOCKSINCDIR.
### SOCKS version 5
# SOCKS='5'
# SOCKSLIB='-lsocks5'
# SOCKSLIBDIR='-L/usr/local/lib'
# SOCKSINCDIR='-I/usr/local/include'
# SOCKS_NONBLOCK='yes'
### SOCKS version 4
# SOCKS='4'
# SOCKSLIB='-lsocks'
# SOCKSLIBDIR='-L/usr/local/lib'
# SOCKS_NONBLOCK='yes'
###
if [ -z "$TFVERSION" ]; then
echo "Use 'sh unixmake' to install TinyFugue."
fi
|