Make configure work on first stage of HP/UX and Solaris.
[deliverable/binutils-gdb.git] / sim / Makefile.in
1 # Makefile template for Configure for the sim library.
2 # Copyright (C) 1993, 1995 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
21 VPATH = @srcdir@
22 srcdir = @srcdir@
23 srcroot = $(srcdir)/..
24
25 prefix = @prefix@
26 exec_prefix = @exec_prefix@
27
28 host_alias = @host_alias@
29 target_alias = @target_alias@
30 program_transform_name = @program_transform_name@
31 bindir = $(exec_prefix)/bin
32 libdir = $(exec_prefix)/lib
33 tooldir = $(libdir)/$(target_alias)
34
35 datadir = $(prefix)/lib
36 mandir = $(prefix)/man
37 man1dir = $(mandir)/man1
38 man2dir = $(mandir)/man2
39 man3dir = $(mandir)/man3
40 man4dir = $(mandir)/man4
41 man5dir = $(mandir)/man5
42 man6dir = $(mandir)/man6
43 man7dir = $(mandir)/man7
44 man8dir = $(mandir)/man8
45 man9dir = $(mandir)/man9
46 infodir = $(prefix)/info
47 includedir = $(prefix)/include
48 docdir = $(datadir)/doc
49
50 SHELL = /bin/sh
51
52 # FIXME: Use autoconf's AC_PROG_INSTALL
53 INSTALL = $${srcroot}/../install.sh -c
54 INSTALL_PROGRAM = $(INSTALL)
55 INSTALL_DATA = $(INSTALL)
56 INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
57 INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1
58
59 AR = @AR@
60 AR_FLAGS = rc
61 CC = @CC@
62 CFLAGS = @CFLAGS@
63 CC_FOR_BUILD = @CC_FOR_BUILD@
64 MAKEINFO = makeinfo
65 RANLIB = @RANLIB@
66
67 SUBDIRS = @subdirs@
68
69 .NOEXPORT:
70 MAKEOVERRIDES=
71
72
73 INCDIR = $(srcdir)/../include
74 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
75 DEP = mkdep
76
77 # compilers to use to create programs which must be run in the build
78 # environment.
79 CC_FOR_BUILD = $(CC)
80
81 #### Makefile fragments come in here.
82 # @target_makefile_frag@
83 ###
84
85 FLAGS_TO_PASS = \
86 "prefix=$(prefix)" \
87 "exec_prefix=$(exec_prefix)" \
88 "against=$(against)" \
89 "AR=$(AR)" \
90 "AR_FLAGS=$(AR_FLAGS)" \
91 "CC=$(CC)" \
92 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
93 "CFLAGS=$(CFLAGS)" \
94 "RANLIB=$(RANLIB)" \
95 "MAKEINFO=$(MAKEINFO)" \
96 "INSTALL=$(INSTALL)" \
97 "INSTALL_DATA=$(INSTALL_DATA)" \
98 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
99
100 all:
101 @if [ x"${SUBDIRS}" != x ] ; then \
102 rootme=`pwd` ; export rootme ; \
103 srcroot=`cd $(srcdir); pwd`; export srcroot; \
104 for dir in . ${SUBDIRS}; do \
105 if [ "$$dir" = "." ]; then \
106 true; \\
107 elif [ -d $$dir ]; then \
108 (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
109 else true; fi; \
110 done ; \
111 else true; fi
112
113 clean mostlyclean:
114 @if [ x"${SUBDIRS}" != x ] ; then \
115 rootme=`pwd` ; export rootme ; \
116 srcroot=`cd $(srcdir); pwd`; export srcroot; \
117 for dir in ${SUBDIRS}; do \
118 if [ -d $$dir ]; then \
119 (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
120 else true; fi; \
121 done ; \
122 else true; fi
123
124 distclean maintainer-clean realclean:
125 @if [ x"${SUBDIRS}" != x ] ; then \
126 rootme=`pwd` ; export rootme ; \
127 srcroot=`cd $(srcdir); pwd`; export srcroot; \
128 for dir in ${SUBDIRS}; do \
129 if [ -d $$dir ]; then \
130 (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
131 else true; fi; \
132 done ; \
133 else true; fi
134 rm -f Makefile config.cache config.log config.status
135
136 install:
137 @if [ x${SUBDIRS} != x ] ; then \
138 rootme=`pwd` ; export rootme ; \
139 srcroot=`cd $(srcdir); pwd`; export srcroot; \
140 for dir in ${SUBDIRS}; do \
141 if [ -d $$dir ]; then \
142 (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); \
143 else true; fi; \
144 done; \
145 else true; fi
146
147 info:
148 install-info:
149 dvi:
150
151 ###
152 ###
153
154 .PHONY: check installcheck
155 check:
156 installcheck:
157
158 TAGS:
159
160 force:
161
162 Makefile: Makefile.in config.status
163 $(SHELL) ./config.status
164
165 config.status: configure
166 $(SHELL) ./config.status --recheck
This page took 0.033863 seconds and 5 git commands to generate.