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