X-Git-Url: http://git.pond.sub.org/?p=empserver;a=blobdiff_plain;f=GNUmakefile.in;h=a198950ce6b1ba06ceba704697451e5527e60bc0;hp=68896340a4e8d94ddafeee01c7c32bed7eedce05;hb=89dc5f6d0aa0966a163708d2ad37018589e39bbf;hpb=5c02a0aefc42138c7321c3eb651a9d1270b9dfbd diff --git a/GNUmakefile.in b/GNUmakefile.in index 68896340a..a198950ce 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -1,46 +1,46 @@ -# +# # Empire - A multi-player, client/server Internet based war game. -# Copyright (C) 1986-2005, Dave Pare, Jeff Bailey, Thomas Ruschak, -# Ken Stevens, Steve McClure -# -# This program is free software; you can redistribute it and/or modify +# Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak, +# Ken Stevens, Steve McClure, Markus Armbruster +# +# Empire 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 2 of the License, or +# 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, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# +# along with this program. If not, see . +# # --- -# -# See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the -# related information and legal notices. It is expected that any future -# projects/authors will amend these files as needed. -# +# +# See files README, COPYING and CREDITS in the root of the source +# tree for related information and legal notices. It is expected +# that future projects/authors will amend these files as needed. +# # --- -# +# # @configure_input@ # GNUmakefile.in: Makefile template for configure -# +# # Known contributors to this file: -# Markus Armbruster, 2005 -# +# Markus Armbruster, 2005-2020 +# # The real meat is in Make.mk, which see. +TARNAME := @PACKAGE_TARNAME@ + CC := @CC@ -have_gcc := @GCC@ CFLAGS := @CFLAGS@ CPPFLAGS := @CPPFLAGS@ @DEFS@ LDFLAGS := @LDFLAGS@ LIBOBJS := @LIBOBJS@ -LDLIBS := @LIBS@ +LDLIBS := -lm empthread := @empthread@ ifeq ($(empthread),POSIX) CC := @PTHREAD_CC@ @@ -48,23 +48,33 @@ CFLAGS := $(CFLAGS) @PTHREAD_CFLAGS@ LDFLAGS := $(LDFLAGS) @PTHREAD_CFLAGS@ LDLIBS := @PTHREAD_LIBS@ $(LDLIBS) endif -termlibs := @termlibs@ +ifeq ($(empthread),Windows) +CFLAGS := $(CFLAGS) -mthreads +endif +LIBS_client := @LIBS_client@ $(LDLIBS) +LIBS_server := @LIBS_server@ $(LDLIBS) +LDLIBS := @LIBS@ $(LDLIBS) CCDEPMODE := @CCDEPMODE@ @am__fastdepCC_TRUE@how_to_dep := fast @am__fastdepCC_FALSE@@AMDEP_TRUE@how_to_dep := depcomp +EXEEXT := @EXEEXT@ +ifneq (@OBJEXT@,o) +$(error This makefile can't cope with your compiler's object file names) +endif AWK := @AWK@ INSTALL := @INSTALL@ INSTALL_DATA := @INSTALL_DATA@ INSTALL_PROGRAM := @INSTALL_PROGRAM@ -# TODO autoconf NROFF -NROFF := groff -Tascii -P-c -U +NROFF := @NROFF@ RANLIB := @RANLIB@ +SHELL := @SHELL@ prefix := @prefix@ exec_prefix := @exec_prefix@ bindir := @bindir@ sbindir := @sbindir@ +datarootdir := @datarootdir@ datadir := @datadir@ localstatedir := @localstatedir@ mandir := @mandir@ @@ -73,7 +83,7 @@ sysconfdir := @sysconfdir@ srcdir := @srcdir@ VPATH := @srcdir@ -cvs_controlled := @cvs_controlled@ +revctrl := @revctrl@ EMPIREHOST := @EMPIREHOST@ EMPIREPORT := @EMPIREPORT@