mirror of
https://salsa.debian.org/games-team/bsdgames
synced 2024-12-04 14:46:22 -05:00
137 lines
4.9 KiB
Plaintext
137 lines
4.9 KiB
Plaintext
# Makeconfig.in - configuration included in Makefiles after substitution.
|
|
#
|
|
# Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004 Joseph Samuel Myers.
|
|
# All rights reserved.
|
|
#
|
|
# Redistribution and use in source and binary forms, with or without
|
|
# modification, are permitted provided that the following conditions
|
|
# are met:
|
|
# 1. Redistributions of source code must retain the above copyright
|
|
# notice, this list of conditions and the following disclaimer.
|
|
# 2. Redistributions in binary form must reproduce the above copyright
|
|
# notice, this list of conditions and the following disclaimer in the
|
|
# documentation and/or other materials provided with the distribution.
|
|
# 3. The name of the author may not be used to endorse or promote products
|
|
# derived from this software without specific prior written permission.
|
|
#
|
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
# SUCH DAMAGE.
|
|
|
|
# If some variables are unexpanded in Makeconfig, this shouldn't be a
|
|
# problem, it will be because they weren't configured since the relevant
|
|
# games weren't being built.
|
|
|
|
# Source directory
|
|
SRCDIR := @srcdir@
|
|
# Build directories
|
|
BUILDDIRS := @build_dirs@
|
|
# Installation prefix
|
|
INSTALL_PREFIX := @install_prefix@
|
|
# Games directory
|
|
GAMESDIR := @gamesdir@
|
|
# Daemon directory
|
|
SBINDIR := @sbindir@
|
|
# Other binaries directory
|
|
USRBINDIR := @usrbindir@
|
|
# Manual pages, section 6
|
|
MAN6DIR := @man6dir@
|
|
# Manual pages, section 8
|
|
MAN8DIR := @man8dir@
|
|
# Manual pages, section 5
|
|
MAN5DIR := @man5dir@
|
|
# Constant data (arch-independent)
|
|
SHAREDIR := @sharedir@
|
|
# Miscellaneous documentation
|
|
DOCDIR := @docdir@
|
|
# Variable data
|
|
VARLIBDIR := @varlibdir@
|
|
# Directory for hidden games (dm)
|
|
LIBEXECDIR := @libexecdir@
|
|
# Installation commands, with install -c -o whatever -s etc.
|
|
INSTALL_BINARY := @install_binary@
|
|
INSTALL_SCRIPT := @install_script@
|
|
INSTALL_SCORE_GAME := @install_score_game@
|
|
INSTALL_DAEMON := @install_daemon@
|
|
INSTALL_MANUAL := @srcdir@/install-man
|
|
INSTALL_DATA := @install_constdata@
|
|
INSTALL_VARDATA := @install_vardata@
|
|
INSTALL_DM := @install_dm@
|
|
INSTALL_SAIL_DIR := @install_sail_dir@
|
|
INSTALL_HACK_DIR := @install_hack_dir@
|
|
# Is INSTALL_VARDATA actually needed (for games that start with non-empty
|
|
# scorefile?)
|
|
# For games which can start with empty scorefile we do:
|
|
INSTALL_SCORE_FILE := @srcdir@/install-score
|
|
# Definitions of INSTALL_* that may have -s added
|
|
# This first one should no longer be needed
|
|
DEFS_TO_PASS := INSTALL_BINARY="$(INSTALL_BINARY)" \
|
|
INSTALL_SCORE_GAME="$(INSTALL_SCORE_GAME)" \
|
|
INSTALL_DAEMON="$(INSTALL_DAEMON)" INSTALL_DM="$(INSTALL_DM)"
|
|
# For the top level install-strip target
|
|
DEFS_TO_PASS_STRIP := INSTALL_BINARY="$(INSTALL_BINARY) -s" \
|
|
INSTALL_SCORE_GAME="$(INSTALL_SCORE_GAME) -s" \
|
|
INSTALL_DAEMON="$(INSTALL_DAEMON) -s" INSTALL_DM="$(INSTALL_DM) -s"
|
|
# srcdir/hide-game or :
|
|
HIDE_GAME := @hidegame@
|
|
|
|
# Compilation details
|
|
CC := @cc@
|
|
CXX := @cxx@
|
|
OPTIMIZE := @optimize_flags@
|
|
WARNING := @warning_flags@
|
|
CXX_WARNING := @cxx_warning_flags@
|
|
CFLAGS := $(OPTIMIZE) $(WARNING) @other_cflags@
|
|
CXXFLAGS := $(OPTIMIZE) $(CXX_WARNING) @other_cflags@
|
|
LDFLAGS := @other_ldflags@
|
|
FGETLN_DEFS := @fgetln_defs@
|
|
GETLOADAVG_DEFS := @getloadavg_defs@
|
|
STRLCPY_DEFS := @strlcpy_defs@
|
|
GETPROGNAME_DEFS := @getprogname_defs@
|
|
NCURSES_LIB := @ncurses_lib@
|
|
NCURSES_INCS := @ncurses_includes@
|
|
OPENSSL_LIB := @openssl_lib@
|
|
OPENSSL_INCS := @openssl_includes@
|
|
BASE_INCS := -Iinclude $(NCURSES_INCS) $(OPENSSL_INCS)
|
|
BASE_LIBS := @base_libs@
|
|
YACC := @yacc@
|
|
LEX := @lex@
|
|
LEX_LIB := @lex_lib@
|
|
|
|
# More paths
|
|
PAGER := @pager@
|
|
|
|
# Individual games
|
|
ATC_DIR := @atc_dir@
|
|
ATC_SCOREFILE := @atc_scorefile@
|
|
BATTLESTAR_SCOREFILE := @battlestar_scorefile@
|
|
BOGGLE_DIR := @boggle_dir@
|
|
DICTIONARY_SRC := @dictionary_src@
|
|
CANFIELD_SCOREFILE := @canfield_scorefile@
|
|
CRIBBAGE_INSTRFILE := @cribbage_instrfile@
|
|
CRIBBAGE_SCOREFILE := @cribbage_scorefile@
|
|
FISH_INSTRFILE := @fish_instrfile@
|
|
FORTUNE_DIR := @fortune_dir@
|
|
FORTUNE_TYPE := @fortune_type@
|
|
HACK_DIR := @hack_dir@
|
|
MONOP_CARDSFILE := @monop_cardsfile@
|
|
PHANTASIA_DIR := @phantasia_dir@
|
|
QUIZ_DIR := @quiz_dir@
|
|
ROBOTS_SCOREFILE := @robots_scorefile@
|
|
ROGUE_SCOREFILE := @rogue_scorefile@
|
|
SAIL_SCOREFILE := @sail_scorefile@
|
|
SAIL_DIR := @sail_dir@
|
|
SNAKE_SCOREFILE := @snake_scorefile@
|
|
SNAKE_RAWSCOREFILE := @snake_rawscorefile@
|
|
TETRIS_SCOREFILE := @tetris_scorefile@
|
|
WTF_ACRONYMFILE := @wtf_acronymfile@
|
|
WUMP_INFOFILE := @wump_infofile@
|