]> git.pond.sub.org Git - empserver/blob - src/client/Makefile.in
(saveargv): Lame attempt at protecting users who foolishly specify
[empserver] / src / client / Makefile.in
1
2 #   Empire - A multi-player, client/server Internet based war game.
3 #   Copyright (C) 1986-2007, 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 #   Makefile.in: Makefile template for configure
30 #  
31 #   Known contributors to this file:
32 #      Markus Armbruster, 2005-2006
33
34
35 CC = @CC@
36 CFLAGS = @CFLAGS@ @CPPFLAGS@ @DEFS@ -I.
37 LDFLAGS = @LDFLAGS@
38 LIBS = @LIBS@
39 E = @EXEEXT@
40 O = @OBJEXT@
41
42 INSTALL = @INSTALL@
43 INSTALL_DATA := @INSTALL_DATA@
44 INSTALL_PROGRAM := @INSTALL_PROGRAM@
45
46 prefix = @prefix@
47 exec_prefix = @exec_prefix@
48 bindir = @bindir@
49 datarootdir := @datarootdir@
50 mandir = @mandir@
51
52 srcdir = @srcdir@
53 VPATH = @srcdir@
54
55 prog = empire$E
56 obj = expect.$O host.$O ioqueue.$O ipglob.$O login.$O main.$O queue.$O  \
57 servcmd.$O serverio.$O tags.$O termio.$O termlib.$O
58
59 all: $(prog)
60
61 $(prog): $(obj)
62         $(CC) $(CFLAGS) $(LDFLAGS) -o empire $(obj) $(LIBS)
63
64 clean:
65         rm -f $(obj) $(prog)
66
67 distclean: clean
68         rm -rf autom4te.cache config.h config.log config.status Makefile ipglob.c
69
70 install: all installdirs
71         $(INSTALL_PROGRAM) empire $(bindir)/empire
72         $(INSTALL_DATA) $(srcdir)/empire.6 $(mandir)/man6/empire.6
73
74 installdirs:
75         $(INSTALL) -d $(bindir) $(mandir)/man6
76
77 uninstall:
78         rm $(bindir)/empire
79         rm $(mandir)/man6/empire.6
80
81 # FIXME generate from .d
82 expect.$O: misc.h
83 host.$O: misc.h
84 ioqueue.$O: misc.h queue.h ioqueue.h
85 login.$O: misc.h proto.h
86 main.$O: misc.h proto.h queue.h ioqueue.h tags.h
87 queue.$O: misc.h queue.h
88 servcmd.$O: misc.h proto.h queue.h ioqueue.h tags.h
89 serverio.$O: misc.h queue.h ioqueue.h
90 tags.$O: misc.h tags.h
91 termio.$O: misc.h tags.h
92 termlib.$O: misc.h
93 $(obj): config.h