configure checked for library functions with LIBS instead of
LIBS_server, which could break detection of getaddrinfo() on systems
where LIB_SOCKET isn't empty.
GNUmakefile put @PTHREAD_LIBS@ only in LDLIBS, which breaks linking of
server and possibly client on systems where it is not empty.
Broken in commit 8b778634.
93 lines
2.6 KiB
Text
93 lines
2.6 KiB
Text
#
|
|
# Empire - A multi-player, client/server Internet based war game.
|
|
# Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
|
|
# Ken Stevens, Steve McClure
|
|
#
|
|
# 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 2 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
|
|
#
|
|
# ---
|
|
#
|
|
# 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-2008
|
|
#
|
|
|
|
# The real meat is in Make.mk, which see.
|
|
|
|
TARNAME := @PACKAGE_TARNAME@
|
|
VERSION := @PACKAGE_VERSION@
|
|
|
|
CC := @CC@
|
|
have_gcc := @GCC@
|
|
CFLAGS := @CFLAGS@
|
|
CPPFLAGS := @CPPFLAGS@ @DEFS@
|
|
LDFLAGS := @LDFLAGS@
|
|
LIBOBJS := @LIBOBJS@
|
|
LDLIBS := -lm
|
|
empthread := @empthread@
|
|
ifeq ($(empthread),POSIX)
|
|
CC := @PTHREAD_CC@
|
|
CFLAGS := $(CFLAGS) @PTHREAD_CFLAGS@
|
|
LDFLAGS := $(LDFLAGS) @PTHREAD_CFLAGS@
|
|
LDLIBS := @PTHREAD_LIBS@ $(LDLIBS)
|
|
endif
|
|
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@
|
|
NROFF := @NROFF@
|
|
RANLIB := @RANLIB@
|
|
|
|
prefix := @prefix@
|
|
exec_prefix := @exec_prefix@
|
|
bindir := @bindir@
|
|
sbindir := @sbindir@
|
|
datarootdir := @datarootdir@
|
|
datadir := @datadir@
|
|
localstatedir := @localstatedir@
|
|
mandir := @mandir@
|
|
sysconfdir := @sysconfdir@
|
|
|
|
srcdir := @srcdir@
|
|
VPATH := @srcdir@
|
|
|
|
revctrl := @revctrl@
|
|
|
|
EMPIREHOST := @EMPIREHOST@
|
|
EMPIREPORT := @EMPIREPORT@
|
|
|
|
include $(srcdir)/Make.mk
|