]> git.pond.sub.org Git - empserver/blob - GNUmakefile.in
Clean up autoconfiguration of libraries
[empserver] / GNUmakefile.in
1 #
2 #   Empire - A multi-player, client/server Internet based war game.
3 #   Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
4 #                            Ken Stevens, Steve McClure
5 #
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.
10 #
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.
15 #
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
19 #
20 #   ---
21 #
22 #   See files README, COPYING and CREDITS in the root of the source
23 #   tree for related information and legal notices.  It is expected
24 #   that future projects/authors will amend these files as needed.
25 #
26 #   ---
27 #
28 #   @configure_input@
29 #   GNUmakefile.in: Makefile template for configure
30 #
31 #   Known contributors to this file:
32 #      Markus Armbruster, 2005-2008
33 #
34
35 # The real meat is in Make.mk, which see.
36
37 TARNAME := @PACKAGE_TARNAME@
38 VERSION := @PACKAGE_VERSION@
39
40 CC := @CC@
41 have_gcc := @GCC@
42 CFLAGS := @CFLAGS@
43 CPPFLAGS := @CPPFLAGS@ @DEFS@
44 LDFLAGS := @LDFLAGS@
45 LIBOBJS := @LIBOBJS@
46 LDLIBS := @LIBS@ -lm
47 LIBS_client := @LIBS_client@ -lm
48 LIBS_server := @LIBS_server@ -lm
49 empthread := @empthread@
50 ifeq ($(empthread),POSIX)
51 CC := @PTHREAD_CC@
52 CFLAGS := $(CFLAGS) @PTHREAD_CFLAGS@
53 LDFLAGS := $(LDFLAGS) @PTHREAD_CFLAGS@
54 LDLIBS := @PTHREAD_LIBS@ $(LDLIBS)
55 endif
56 ifeq ($(empthread),Windows)
57 CFLAGS := $(CFLAGS) -mthreads
58 endif
59 CCDEPMODE := @CCDEPMODE@
60 @am__fastdepCC_TRUE@how_to_dep := fast
61 @am__fastdepCC_FALSE@@AMDEP_TRUE@how_to_dep := depcomp
62 EXEEXT := @EXEEXT@
63 ifneq (@OBJEXT@,o)
64 $(error This makefile can't cope with your compiler's object file names)
65 endif
66
67 AWK := @AWK@
68 INSTALL := @INSTALL@
69 INSTALL_DATA := @INSTALL_DATA@
70 INSTALL_PROGRAM := @INSTALL_PROGRAM@
71 NROFF := @NROFF@
72 RANLIB := @RANLIB@
73
74 prefix := @prefix@
75 exec_prefix := @exec_prefix@
76 bindir := @bindir@
77 sbindir := @sbindir@
78 datarootdir := @datarootdir@
79 datadir := @datadir@
80 localstatedir := @localstatedir@
81 mandir := @mandir@
82 sysconfdir := @sysconfdir@
83
84 srcdir := @srcdir@
85 VPATH := @srcdir@
86
87 revctrl := @revctrl@
88
89 EMPIREHOST := @EMPIREHOST@
90 EMPIREPORT := @EMPIREPORT@
91
92 include $(srcdir)/Make.mk