Add install-strip to sim/
[deliverable/binutils-gdb.git] / sim / igen / Makefile.in
index 0a1d25af8da8f29e9404d28edfbd8eee01d45583..f287242e3e5a127133dfd8a1f1170af44c279e4b 100644 (file)
@@ -1,22 +1,23 @@
+# The IGEN simulator generator for GDB, the GNU Debugger.
 #
-#   This file is part of the program psim.
+# Copyright 2002-2019 Free Software Foundation, Inc.
 #
-#   Copyright (C) 1994-1997, Andrew Cagney <cagney@highland.com.au>
+# Contributed by Andrew Cagney.
 #
-#   This program 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 of the License, or
-#   (at your option) any later version.
+# This file is part of GDB.
 #
-#   This program is distributed in the hope that it will be useful,
-#   but WITHOUT ANY WARRANTY; without even the implied warranty of
-#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#   GNU General Public License for more details.
+# This program 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 3 of the License, or
+# (at your option) any later version.
 #
-#   You should have received a copy of the GNU General Public License
-#   along with this program; if not, write to the Free Software
-#   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
 #
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 default: all
 
@@ -34,6 +35,7 @@ bindir = @bindir@
 libdir = @libdir@
 tooldir = $(libdir)/$(target_alias)
 
+datarootdir = @datarootdir@
 datadir = @datadir@
 mandir = @mandir@
 man1dir = $(mandir)/man1
@@ -65,7 +67,10 @@ CC_FOR_BUILD = @CC_FOR_BUILD@
 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
 
-SIM_WARNINGS = @build_warnings@
+WARN_CFLAGS = @WARN_CFLAGS@
+WERROR_CFLAGS = @WERROR_CFLAGS@
+IGEN_WARN_CFLAGS = $(WARN_CFLAGS)
+IGEN_WERROR_CFLAGS = $(WERROR_CFLAGS)
 
 BISON = bison
 MAKEINFO = makeinfo
@@ -78,7 +83,11 @@ INCLUDES     = -I. -I$(srcdir) $(LIB_INCLUDES)
 
 LIBIBERTY_LIB  = @LIBIBERTY_LIB@
 
-BUILD_CFLAGS = $(CFLAGS_FOR_BUILD) $(SIM_WARNINGS) $(INCLUDES) -O0
+BUILD_CFLAGS = \
+       $(CFLAGS_FOR_BUILD) \
+       $(IGEN_WARN_CFLAGS) \
+       $(IGEN_WERROR_CFLAGS) \
+       $(INCLUDES)
 BUILD_LDFLAGS = 
 
 all:   igen
@@ -108,7 +117,7 @@ IGEN_OBJS=\
        gen.o
 
 igen: igen.o $(IGEN_OBJS)
-       $(CC_FOR_BUILD) $(BUILD_LDFLAGS) -o igen igen.o $(IGEN_OBJS) $(LIBIBERTY_LIB)
+       $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) -o igen igen.o $(IGEN_OBJS) $(LIBIBERTY_LIB)
 
 igen.o: igen.c misc.h filter_host.h lf.h table.h ld-decode.h ld-cache.h ld-insn.h filter.h gen-model.h gen-itable.h gen-icache.h gen-idecode.h gen-engine.h gen-semantics.h gen-support.h gen.h igen.h 
        $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c $(srcdir)/igen.c
@@ -174,4 +183,5 @@ config.status: configure
        $(SHELL) ./config.status --recheck
 
 install:
+install-strip:
 #
This page took 0.025035 seconds and 4 git commands to generate.