Merge branch 'msvc' into master (dummy merge)
[platform/upstream/automake.git] / GNUmakefile
1 # Maintainer makefile for Automake.  Requires GNU make.
2
3 # Copyright (C) 2012 Free Software Foundation, Inc.
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18 # If the user runs GNU make but has not yet run ./configure,
19 # give them an helpful diagnostic instead of a cryptic error.
20 am--Makefile := $(wildcard Makefile)
21 ifeq ($(am--Makefile),)
22   $(warning There seems to be no Makefile in this directory.)
23   $(warning You must run ./configure before running 'make'.)
24   $(error Fatal Error)
25 else
26   include ./Makefile
27   include $(srcdir)/syntax-checks.mk
28 endif