Sort instruction names; Add igen -R option; count # of CRs that mtcrf moved
[deliverable/binutils-gdb.git] / sim / Makefile.in
index dd5708cacaa3cf14c34bdb616ed70ee83dcffb44..77a4003e23d5cc132790ed0085292b8d691bd841 100644 (file)
@@ -1,5 +1,5 @@
 #    Makefile template for Configure for the sim library.
-#    Copyright (C) 1993 Free Software Foundation, Inc.
+#    Copyright (C) 1993, 1995 Free Software Foundation, Inc.
 #    Written by Cygnus Support.
 # 
 # This file is part of BFD, the Binary File Descriptor library.
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-srcdir = .
+VPATH = @srcdir@
+srcdir = @srcdir@
+srcroot = $(srcdir)/..
 
-prefix = /usr/local
+prefix = @prefix@
+exec_prefix = @exec_prefix@
 
-exec_prefix = $(prefix)
+host_alias = @host_alias@
+target_alias = @target_alias@
+program_transform_name = @program_transform_name@
 bindir = $(exec_prefix)/bin
 libdir = $(exec_prefix)/lib
+tooldir = $(libdir)/$(target_alias)
 
 datadir = $(prefix)/lib
 mandir = $(prefix)/man
@@ -39,14 +45,16 @@ man8dir = $(mandir)/man8
 man9dir = $(mandir)/man9
 infodir = $(prefix)/info
 includedir = $(prefix)/include
-oldincludedir =
-docdir = doc
+docdir = $(datadir)/doc
 
 SHELL = /bin/sh
 
-INSTALL = install -c
+# FIXME: Use autoconf's AC_PROG_INSTALL
+INSTALL = $${srcroot}/../install.sh -c
 INSTALL_PROGRAM = $(INSTALL)
 INSTALL_DATA = $(INSTALL)
+INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
+INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1
 
 AR = ar
 AR_FLAGS = rc
@@ -55,17 +63,22 @@ BISON = bison
 MAKEINFO = makeinfo
 RANLIB = ranlib
 
+SUBDIRS = @subdirs@
+
+.NOEXPORT:
+MAKEOVERRIDES=
+
+
 INCDIR = $(srcdir)/../include
 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
 DEP = mkdep
 
-SUBDIRS = " this is set by configire, don't change this "
-
 ALL=all-nothing
 CLEAN=clean-nothing
-INSTALL=install-nothing
+DO_INSTALL=install-nothing
 
-#### host and target dependent Makefile fragments come in here.
+#### Makefile fragments come in here.
+# @target_makefile_frag@
 ###
 
 FLAGS_TO_PASS = \
@@ -83,20 +96,27 @@ FLAGS_TO_PASS = \
        "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
        "BISON=$(BISON)"
 
+all:   $(ALL)
 
-STAGESTUFF = $(TARGETLIB) $(OFILES)
+clean:  $(CLEAN)
 
+install: $(DO_INSTALL)
 
-all:   endian.h $(ALL)
-       
-clean:  $(CLEAN)
+mostlyclean: clean
 
-install: $(INSTALL)
+distclean realclean: clean
+       rm -f Makefile config.cache config.log config.status
 
-endian.h: endian
-       ./endian > endian.h
+info:
+install-info:
+dvi:
 
+### 
+### 
 
+.PHONY: check installcheck
+check:
+installcheck:
 
 ### none
 
@@ -110,7 +130,7 @@ install-nothing: force
 ### z8k
 
 all-z8k: force
-       if [ -f ./z8k/Makefile ] ; then \
+       @if [ -f ./z8k/Makefile ] ; then \
                rootme=`pwd` ; export rootme ; \
                ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
        else \
@@ -118,15 +138,16 @@ all-z8k: force
        fi
 
 install-z8k: force
-       if [ -f ./z8k/Makefile ] ; then \
+       @if [ -f ./z8k/Makefile ] ; then \
                rootme=`pwd` ; export rootme ; \
+                 srcroot=`cd $(srcdir); pwd`; export srcroot; \
                ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
        else \
                true ; \
        fi
 
 clean-z8k: force
-       if [ -f ./z8k/Makefile ] ; then \
+       @if [ -f ./z8k/Makefile ] ; then \
                rootme=`pwd` ; export rootme ; \
                ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
        else \
@@ -137,7 +158,7 @@ clean-z8k: force
 ### h8300
 
 all-h8300: force
-       if [ -f ./h8300/Makefile ] ; then \
+       @if [ -f ./h8300/Makefile ] ; then \
                rootme=`pwd` ; export rootme ; \
                ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
        else \
@@ -145,15 +166,16 @@ all-h8300: force
        fi
 
 install-h8300: force
-       if [ -f ./h8300/Makefile ] ; then \
+       @if [ -f ./h8300/Makefile ] ; then \
                rootme=`pwd` ; export rootme ; \
+                 srcroot=`cd $(srcdir); pwd`; export srcroot; \
                ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
        else \
                true ; \
        fi
 
 clean-h8300: force
-       if [ -f ./h8300/Makefile ] ; then \
+       @if [ -f ./h8300/Makefile ] ; then \
                rootme=`pwd` ; export rootme ; \
                ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
        else \
@@ -165,7 +187,7 @@ clean-h8300: force
 ### h8500
 
 all-h8500: force
-       if [ -f ./h8500/Makefile ] ; then \
+       @if [ -f ./h8500/Makefile ] ; then \
                rootme=`pwd` ; export rootme ; \
                ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
        else \
@@ -173,15 +195,16 @@ all-h8500: force
        fi
 
 install-h8500: force
-       if [ -f ./h8500/Makefile ] ; then \
+       @if [ -f ./h8500/Makefile ] ; then \
                rootme=`pwd` ; export rootme ; \
+                 srcroot=`cd $(srcdir); pwd`; export srcroot; \
                ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
        else \
                true ; \
        fi
 
 clean-h8500: force
-       if [ -f ./h8500/Makefile ] ; then \
+       @if [ -f ./h8500/Makefile ] ; then \
                rootme=`pwd` ; export rootme ; \
                ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
        else \
@@ -190,10 +213,99 @@ clean-h8500: force
 
 ###
 
+### sh
+
+all-sh: force
+       @if [ -f ./sh/Makefile ] ; then \
+               rootme=`pwd` ; export rootme ; \
+               ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
+       else \
+               true ; \
+       fi
+
+install-sh: force
+       @if [ -f ./sh/Makefile ] ; then \
+               rootme=`pwd` ; export rootme ; \
+               ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
+       else \
+               true ; \
+       fi
+
+clean-sh: force
+       @if [ -f ./sh/Makefile ] ; then \
+               rootme=`pwd` ; export rootme ; \
+               ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
+       else \
+               true ; \
+       fi
+
+TAGS:
+
+###
+
+### w65
+
+all-w65: force
+       @if [ -f ./w65/Makefile ] ; then \
+               rootme=`pwd` ; export rootme ; \
+               ( cd ./w65 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
+       else \
+               true ; \
+       fi
+
+install-w65: force
+       @if [ -f ./w65/Makefile ] ; then \
+               rootme=`pwd` ; export rootme ; \
+                 srcroot=`cd $(srcdir); pwd`; export srcroot; \
+               ( cd ./w65 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
+       else \
+               true ; \
+       fi
+
+clean-w65: force
+       @if [ -f ./w65/Makefile ] ; then \
+               rootme=`pwd` ; export rootme ; \
+               ( cd ./w65 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
+       else \
+               true ; \
+       fi
+
+
+### arm
+
+all-arm: force
+       @if [ -f ./arm/Makefile ] ; then \
+               rootme=`pwd` ; export rootme ; \
+               ( cd ./arm ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
+       else \
+               true ; \
+       fi
+
+install-arm: force
+       @if [ -f ./arm/Makefile ] ; then \
+               rootme=`pwd` ; export rootme ; \
+                 srcroot=`cd $(srcdir); pwd`; export srcroot; \
+               ( cd ./arm ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
+       else \
+               true ; \
+       fi
+
+clean-arm: force
+       @if [ -f ./arm/Makefile ] ; then \
+               rootme=`pwd` ; export rootme ; \
+               ( cd ./arm ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
+       else \
+               true ; \
+       fi
+
+
 force:
 
 
 # with the gnu make, this is done automatically.
 
-Makefile: $(srcdir)/Makefile.in $(target_makefile_frag)
+Makefile: Makefile.in config.status @frags@
        $(SHELL) ./config.status
+
+config.status: configure
+       $(SHELL) ./config.status --recheck
This page took 0.027186 seconds and 4 git commands to generate.