Thu Feb 4 12:35:02 1993 Ian Lance Taylor (ian@cygnus.com)
[deliverable/binutils-gdb.git] / sim / Makefile.in
CommitLineData
e856060f
SC
1# Makefile template for Configure for the sim library.
2# Copyright (C) 1993 Free Software Foundation, Inc.
3# Written by Cygnus Support.
4#
5# This file is part of BFD, the Binary File Descriptor library.
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21srcdir = .
22
23prefix = /usr/local
24
25exec_prefix = $(prefix)
26bindir = $(exec_prefix)/bin
27libdir = $(exec_prefix)/lib
28
29datadir = $(prefix)/lib
30mandir = $(prefix)/man
31man1dir = $(mandir)/man1
32man2dir = $(mandir)/man2
33man3dir = $(mandir)/man3
34man4dir = $(mandir)/man4
35man5dir = $(mandir)/man5
36man6dir = $(mandir)/man6
37man7dir = $(mandir)/man7
38man8dir = $(mandir)/man8
39man9dir = $(mandir)/man9
40infodir = $(prefix)/info
41includedir = $(prefix)/include
42oldincludedir =
43docdir = doc
44
45SHELL = /bin/sh
46
47INSTALL = install -c
48INSTALL_PROGRAM = $(INSTALL)
49INSTALL_DATA = $(INSTALL)
50
51AR = ar
52AR_FLAGS = rc
53CFLAGS = -g
54BISON = bison
55MAKEINFO = makeinfo
56RANLIB = ranlib
57
58INCDIR = $(srcdir)/../include
59CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
60DEP = mkdep
61
62SUBDIRS = " this is set by configire, don't change this "
63
64#### host and target dependent Makefile fragments come in here.
65###
66
67FLAGS_TO_PASS = \
68 "prefix=$(prefix)" \
69 "exec_prefix=$(exec_prefix)" \
70 "against=$(against)" \
71 "AR=$(AR)" \
72 "AR_FLAGS=$(AR_FLAGS)" \
73 "CC=$(CC)" \
74 "CFLAGS=$(CFLAGS)" \
75 "RANLIB=$(RANLIB)" \
76 "MAKEINFO=$(MAKEINFO)" \
77 "INSTALL=$(INSTALL)" \
78 "INSTALL_DATA=$(INSTALL_DATA)" \
79 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
80 "BISON=$(BISON)"
81
82
83STAGESTUFF = $(TARGETLIB) $(OFILES)
84
85
86all: endian.h $(ALL)
87
88
89
90endian.h: endian
91 ./endian > endian.h
92
93### z8k
94
95all-z8k: force
96 if [ -f ./z8k/Makefile ] ; then \
97 rootme=`pwd` ; export rootme ; \
98 ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
99 else \
100 true ; \
101 fi
102
103install-z8k: force
104 if [ -f ./z8k/Makefile ] ; then \
105 rootme=`pwd` ; export rootme ; \
106 ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
107 else \
108 true ; \
109 fi
110
111
112### h8300
113
114all-h8300: force
115 if [ -f ./h8300/Makefile ] ; then \
116 rootme=`pwd` ; export rootme ; \
117 ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
118 else \
119 true ; \
120 fi
121
122install-h8300: force
123 if [ -f ./h8300/Makefile ] ; then \
124 rootme=`pwd` ; export rootme ; \
125 ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
126 else \
127 true ; \
128 fi
129
130###
131
132force:
133
134
135# with the gnu make, this is done automatically.
136
137Makefile: $(srcdir)/Makefile.in $(target_makefile_frag)
138 $(SHELL) ./config.status
This page took 0.026787 seconds and 4 git commands to generate.