mirror of
https://git.zap.org.au/git/trader.git
synced 2024-11-03 17:27:29 -05:00
2032f6de8a
This makes the main source code look a little cleaner, at the expense of background magic happening in the configure-generated config.h. But this magic was already happening for _GNU_SOURCE, __EXTENSIONS__ and the like. The only wrinkle is that newer versions of NcursesW cause ./configure to include "-D_XOPEN_SOURCE=600" as part of the compilation command line--on systems that support _XOPEN_SOURCE=700. The AC_DEFINE/AC_DEFINE_UNQUOTED macros automatically comment out any "#undef" lines in config.h, so the file lib/xopen_source.h works around this limitation. It is automatically included by config.h.
39 lines
1.5 KiB
Makefile
39 lines
1.5 KiB
Makefile
#########################################################################
|
|
# #
|
|
# Star Traders: A Game of Interstellar Trading #
|
|
# Copyright (C) 1990-2018, John Zaitseff #
|
|
# #
|
|
#########################################################################
|
|
|
|
# Author: John Zaitseff <J.Zaitseff@zap.org.au>
|
|
# $Id$
|
|
#
|
|
# This file, Makefile.am, contains the top-level Makefile for Star
|
|
# Traders. It needs to be processed by automake to produce the
|
|
# corresponding Makefile.in.
|
|
#
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by the
|
|
# Free Software Foundation, either version 3 of the License, or (at your
|
|
# option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see https://www.gnu.org/licenses/.
|
|
|
|
|
|
# Subdirectories to recurse into
|
|
SUBDIRS = lib src po data doc m4
|
|
|
|
# Additional files to distribute
|
|
EXTRA_DIST = \
|
|
build-aux/bootstrap \
|
|
build-aux/msgfmt-desktop \
|
|
lib/obsolete-strings.c \
|
|
lib/xopen_source.h
|