2 # Empire - A multi-player, client/server Internet based war game.
3 # Copyright (C) 1986-2005, Dave Pare, Jeff Bailey, Thomas Ruschak,
4 # Ken Stevens, Steve McClure
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 # See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
23 # related information and legal notices. It is expected that any future
24 # projects/authors will amend these files as needed.
29 # GNUmakefile.in: Makefile template for configure
31 # Known contributors to this file:
32 # Markus Armbruster, 2005
35 # The real meat is in Make.mk, which see.
40 CPPFLAGS := @CPPFLAGS@ @DEFS@
44 empthread := @empthread@
45 ifeq ($(empthread),POSIX)
47 CFLAGS := $(CFLAGS) @PTHREAD_CFLAGS@ -D_EMPTH_POSIX=1
48 LDFLAGS := $(LDFLAGS) @PTHREAD_CFLAGS@
49 LDLIBS := @PTHREAD_LIBS@ $(LDLIBS)
51 ifeq ($(empthread),LWP)
53 CPPFLAGS += -DUCONTEXT
55 termlibs := @termlibs@
56 CCDEPMODE := @CCDEPMODE@
57 @am__fastdepCC_TRUE@how_to_dep := fast
58 @am__fastdepCC_FALSE@@AMDEP_TRUE@how_to_dep := depcomp
62 INSTALL_DATA := @INSTALL_DATA@
63 INSTALL_PROGRAM := @INSTALL_PROGRAM@
65 NROFF := groff -Tascii -P-c -U
69 exec_prefix := @exec_prefix@
72 localstatedir := @localstatedir@
74 sysconfdir := @sysconfdir@
79 cvs_controlled := @cvs_controlled@
81 # Recursively expanded so that $@ and $< work.
83 -e 's?@configure_input\@?$(notdir $@). Generated from $(notdir $<) by GNUmakefile.?g' \
84 -e 's?@econfig\@?$(sysconfdir)/empire/econfig?g' \
85 -e 's?@edatadir\@?$(localstatedir)/empire?g' \
86 -e 's?@einfodir\@?$(datadir)/empire/info.nr?g' \
87 -e 's/@EMPIREHOST\@/@EMPIREHOST@/g' \
88 -e 's/@EMPIREPORT\@/@EMPIREPORT@/g'
90 include $(srcdir)/Make.mk