OSDN Git Service

PR middle-end/40525
[pf3gnuchains/gcc-fork.git] / fixincludes / Makefile.in
index 54382cc..1f89cf9 100644 (file)
@@ -1,13 +1,13 @@
 # Makefile for fixincludes.
 #
-#   Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004
+#   Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2009
 #   Free Software Foundation, Inc.
 
 #This file is part of fixincludes.
 
 #fixincludes is free software; you can redistribute it and/or modify
 #it under the terms of the GNU General Public License as published by
-#the Free Software Foundation; either version 2, or (at your option)
+#the Free Software Foundation; either version 3, or (at your option)
 #any later version.
 
 #fixincludes is distributed in the hope that it will be useful,
@@ -16,9 +16,8 @@
 #GNU General Public License for more details.
 
 #You should have received a copy of the GNU General Public License
-#along with fixincludes; see the file COPYING.  If not, write to
-#the Free Software Foundation, 59 Temple Place - Suite 330,
-#Boston, MA 02111-1307, USA.
+#along with fixincludes; see the file COPYING3.  If not see
+#<http://www.gnu.org/licenses/>.
 
 SHELL=@SHELL@
 
@@ -29,6 +28,7 @@ STAMP = echo timestamp >
 
 CC = @CC@
 CFLAGS = @CFLAGS@
+WARN_CFLAGS = @WARN_CFLAGS@ @WARN_PEDANTIC@ @WERROR@
 LDFLAGS = @LDFLAGS@
 INCLUDES = -I. -I$(srcdir) -I../include -I$(srcdir)/../include
 FIXINC_CFLAGS = -DHAVE_CONFIG_H $(INCLUDES)
@@ -68,7 +68,7 @@ default : all
 # Now figure out from those variables how to compile and link.
 
 .c.o:
-       $(CC) -c $(CFLAGS) $(CPPFLAGS) $(FIXINC_CFLAGS) $<
+       $(CC) -c $(CFLAGS) $(WARN_CFLAGS) $(CPPFLAGS) $(FIXINC_CFLAGS) $<
 
 # The only suffixes we want for implicit rules are .c and .o.
 .SUFFIXES:
@@ -158,14 +158,14 @@ stamp-h: $(srcdir)/config.h.in config.status
 config.status: $(srcdir)/configure
        $(SHELL) ./config.status --recheck
 
-$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac
-       autoconf
+$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+       cd $(srcdir) && autoconf
 
 $(srcdir)/config.h.in: @MAINT@ $(srcdir)/configure.ac
-       autoheader
+       cd $(srcdir) && autoheader
 
-$(srcdir)/aclocal.m4: @MAINT@ $(srcdir)/../gcc/aclocal.m4
-       cp $(srcdir)/../gcc/aclocal.m4 .
+$(srcdir)/aclocal.m4: @MAINT@ $(srcdir)/configure.ac
+       cd $(srcdir) && aclocal -I ../gcc -I .. -I ../config
 
 check : all
        autogen -T $(srcdir)/check.tpl $(srcdir)/inclhack.def
@@ -183,7 +183,13 @@ install : all
          $(DESTDIR)$(itoolsdir)/fixincl@EXEEXT@
        $(INSTALL_SCRIPT) mkheaders $(DESTDIR)$(itoolsdir)/mkheaders
 
+.PHONY: dvi pdf info html install-pdf install-info install-html
+
 dvi :
+pdf :
 info :
 html :
+install-pdf :
+install-info :
+install-html :
 installcheck :