Restore previous copyright information that got removed by error.
[gnushogi.git] / Makefile.in
blob78126689b9642ae562ced965d8df127234ecad18
2 # Makefile for GNU Shogi and xshogi
4 # Copyright (c) 1993, 1994 Matthias Mutz
5 # Copyright (c) 1998, 1999 Michael Vanier and the Free Software Foundation
7 # GNU Shogi is based on GNU Chess
8 # Copyright (c) 1992 Free Software Foundation
10 # This file is part of GNU Shogi.
12 # GNU Shogi is free software; you can redistribute it and/or modify
13 # it under the terms of the GNU General Public License as published by
14 # the Free Software Foundation; either version 1, or (at your option)
15 # any later version.
17 # GNU Shogi is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
22 # You should have received a copy of the GNU General Public License
23 # along with GNU Shogi; see the file COPYING. If not, write to
24 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
27 VERSION = 1.3.2
28 GNUSHOGIDIR = ./gnushogi
29 XSHOGIDIR = ./xshogi
32 # Default targets.
35 all : gnushogi_compile pat2inc gnushogi.bbk @XSHOGI@
39 # Primary targets.
42 gnushogi_compile:
43 -cd $(GNUSHOGIDIR); $(MAKE) gnushogi
45 pat2inc:
46 -cd $(GNUSHOGIDIR); $(MAKE) pat2inc
48 sizetest:
49 -cd $(GNUSHOGIDIR); $(MAKE) sizetest
51 xshogi_compile:
52 -cd $(XSHOGIDIR); $(MAKE)
54 gnushogi.bbk:
55 -cd $(GNUSHOGIDIR); $(MAKE) gnushogi.bbk
59 # Installation.
62 install: gnushogi_install @XSHOGIINSTALL@
64 gnushogi_install:
65 -cd $(GNUSHOGIDIR); $(MAKE) install
67 xshogi_install: $(XSHOGIDIR)/xshogi
68 -cd $(XSHOGIDIR); $(MAKE) install
73 # Cleanup.
76 clean: gnushogi_clean @XSHOGICLEAN@
78 gnushogi_clean:
79 cd $(GNUSHOGIDIR); $(MAKE) clean
81 xshogi_clean:
82 cd $(XSHOGIDIR); $(MAKE) clean
86 # Building a distribution.
89 dist:
90 ./make_dist $(VERSION)
94 # Return to a pristine pre-configuration state.
97 DISTCLEANFILES = \
98 config.cache config.log config.status config.h Makefile \
99 $(GNUSHOGIDIR)/Makefile $(GNUSHOGIDIR)/Makefile.profile \
100 $(XSHOGIDIR)/Makefile autom4te.cache
102 distclean: clean
103 rm -rf $(DISTCLEANFILES)
107 # Extra cleanup, for the maintainer only.
110 MAINTAINERCLEANFILES = configure config.h.in doc/gnushogi.info
112 maintainerclean: distclean
113 rm -f $(MAINTAINERCLEANFILES)