* configure.in: Define CC_FOR_BUILD. Don't call AC_PROG_INSTALL.
[deliverable/binutils-gdb.git] / sim / h8300 / Makefile.in
CommitLineData
1ffd292b
C
1# Makefile template for Configure for the h8300 sim library.
2# Copyright (C) 1990, 1991, 1992, 1995 Free Software Foundation, Inc.
a154eea7
SC
3# Written by Cygnus Support.
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 of the License, or
8# (at your option) 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, write to the Free Software
0743b4ac 17# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
a154eea7 18
1ffd292b
C
19VPATH = @srcdir@
20srcdir = @srcdir@
21srcroot = $(srcdir)/../..
a154eea7 22
1ffd292b
C
23prefix = @prefix@
24exec_prefix = @exec_prefix@
a154eea7 25
1ffd292b
C
26host_alias = @host_alias@
27target_alias = @target_alias@
28program_transform_name = @program_transform_name@
a154eea7
SC
29bindir = $(exec_prefix)/bin
30libdir = $(exec_prefix)/lib
1ffd292b 31tooldir = $(libdir)/$(target_alias)
a154eea7
SC
32
33datadir = $(prefix)/lib
34mandir = $(prefix)/man
35man1dir = $(mandir)/man1
36man2dir = $(mandir)/man2
37man3dir = $(mandir)/man3
38man4dir = $(mandir)/man4
39man5dir = $(mandir)/man5
40man6dir = $(mandir)/man6
41man7dir = $(mandir)/man7
42man8dir = $(mandir)/man8
43man9dir = $(mandir)/man9
44infodir = $(prefix)/info
45includedir = $(prefix)/include
1ffd292b 46docdir = $(datadir)/doc
a154eea7
SC
47
48SHELL = /bin/sh
49
1ffd292b
C
50# FIXME: use autoconf's AC_PROG_INSTALL
51INSTALL = $(srcroot)/install.sh -c
a154eea7
SC
52INSTALL_PROGRAM = $(INSTALL)
53INSTALL_DATA = $(INSTALL)
1ffd292b
C
54INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
55INSTALL_XFORM1= $(INSTALL_XFORM) -b=.1
a154eea7 56
0743b4ac 57AR = @AR@
1ffd292b 58AR_FLAGS = rc
0743b4ac
ILT
59CC = @CC@
60CFLAGS = @CFLAGS@
a154eea7
SC
61BISON = bison
62MAKEINFO = makeinfo
0743b4ac
ILT
63RANLIB = @RANLIB@
64
65HDEFINES = @HDEFINES@
66TDEFINES =
a154eea7 67
1ffd292b
C
68.NOEXPORT:
69MAKEOVERRIDES=
70
b0c9f026 71INCDIR = $(srcdir)/../../include
1ffd292b 72CSEARCH = -I. -I$(srcdir) -I$(INCDIR) -I../../bfd -I$(srcdir)/../../bfd -I$(srcdir)/../../gdb
a154eea7
SC
73DEP = mkdep
74
1ffd292b 75all: run
a154eea7 76
1ffd292b
C
77run: compile.o run.o
78 $(CC) -o run compile.o run.o ../../bfd/libbfd.a ../../libiberty/libiberty.a
a154eea7 79
0743b4ac
ILT
80compile.o: compile.c config.h
81run.o: run.c config.h
a154eea7
SC
82
83.c.o:
84 $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $<
85
a154eea7
SC
86check:
87
88info:
89clean-info:
90install-info:
91
a154eea7
SC
92tags etags: TAGS
93
94TAGS: force
95 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
96
0743b4ac 97mostlyclean clean:
a154eea7 98 rm -f *.[oa] *~ core *.E *.p *.ip aout-params.h gen-aout
0743b4ac 99 rm -f run config.log
a154eea7 100
0743b4ac 101distclean realclean: clean
1ffd292b 102 rm -f TAGS
0743b4ac 103 rm -f Makefile config.log config.cache config.status config.h stamp-h
a154eea7
SC
104
105# Dummy target to force execution of dependent targets.
106#
107force:
108
1ffd292b 109# Copy the files into directories where they will be run.
a154eea7 110install:
1ffd292b
C
111 srcroot=`cd $(srcroot); pwd`; export srcroot; \
112 $(INSTALL_XFORM) run $(bindir)/run ; \
113 n=`t='$(program_transform_name)'; echo run | sed -e "" $$t`; \
114 if [ -d $(tooldir) ] ; then \
115 if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
116 rm -f $(tooldir)/bin/run; \
117 ln $(bindir)/$$n $(tooldir)/bin/run \
118 || $(INSTALL_PROGRAM) run $(tooldir)/bin/run; \
119 else true; fi
120
121
0743b4ac
ILT
122Makefile: Makefile.in config.status
123 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
124
125config.h: stamp-h ; @true
126stamp-h: config.in config.status
127 CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
a154eea7 128
1ffd292b
C
129config.status: configure
130 $(SHELL) ./config.status --recheck
131
a154eea7
SC
132dep: $(CFILES)
133 mkdep $(CFLAGS) $?
134
a154eea7
SC
135# What appears below is generated by a hacked mkdep using gcc -MM.
136
137# DO NOT DELETE THIS LINE -- mkdep uses it.
138# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
139
140
141# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This page took 0.137898 seconds and 4 git commands to generate.