1 # Makefile template for Configure for the sim library.
2 # Copyright (C) 1993 Free Software Foundation, Inc.
3 # Written by Cygnus Support.
5 # This file is part of BFD, the Binary File Descriptor library.
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.
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.
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.
25 exec_prefix = $(prefix)
26 bindir = $(exec_prefix)/bin
27 libdir = $(exec_prefix)/lib
29 datadir = $(prefix)/lib
30 mandir = $(prefix)/man
31 man1dir = $(mandir)/man1
32 man2dir = $(mandir)/man2
33 man3dir = $(mandir)/man3
34 man4dir = $(mandir)/man4
35 man5dir = $(mandir)/man5
36 man6dir = $(mandir)/man6
37 man7dir = $(mandir)/man7
38 man8dir = $(mandir)/man8
39 man9dir = $(mandir)/man9
40 infodir = $(prefix)/info
41 includedir = $(prefix)/include
48 INSTALL_PROGRAM
= $(INSTALL
)
49 INSTALL_DATA
= $(INSTALL
)
58 INCDIR
= $(srcdir)/..
/include
59 CSEARCH
= -I.
-I
$(srcdir) -I
$(INCDIR
)
62 SUBDIRS
= " this is set by configire, don't change this "
66 DO_INSTALL
=install-nothing
68 #### host and target dependent Makefile fragments come in here.
73 "exec_prefix=$(exec_prefix)" \
74 "against=$(against)" \
76 "AR_FLAGS=$(AR_FLAGS)" \
80 "MAKEINFO=$(MAKEINFO)" \
81 "INSTALL=$(INSTALL)" \
82 "INSTALL_DATA=$(INSTALL_DATA)" \
83 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
87 STAGESTUFF
= $(TARGETLIB
) $(OFILES
)
93 rm -f endian e.h endian.h
95 install: $(DO_INSTALL
)
100 ### build endian.h via a temporary so that interrupted builds will not
101 ### leave an incomplete endian.h lying around.
114 install-nothing
: force
120 if
[ -f .
/z8k
/Makefile
] ; then \
121 rootme
=`pwd` ; export rootme
; \
122 ( cd .
/z8k
; $(MAKE
) $(FLAGS_TO_PASS
) all) ; \
128 if
[ -f .
/z8k
/Makefile
] ; then \
129 rootme
=`pwd` ; export rootme
; \
130 ( cd .
/z8k
; $(MAKE
) $(FLAGS_TO_PASS
) install) ; \
136 if
[ -f .
/z8k
/Makefile
] ; then \
137 rootme
=`pwd` ; export rootme
; \
138 ( cd .
/z8k
; $(MAKE
) $(FLAGS_TO_PASS
) clean) ; \
147 if
[ -f .
/h8300
/Makefile
] ; then \
148 rootme
=`pwd` ; export rootme
; \
149 ( cd .
/h8300
; $(MAKE
) $(FLAGS_TO_PASS
) all) ; \
155 if
[ -f .
/h8300
/Makefile
] ; then \
156 rootme
=`pwd` ; export rootme
; \
157 ( cd .
/h8300
; $(MAKE
) $(FLAGS_TO_PASS
) install) ; \
163 if
[ -f .
/h8300
/Makefile
] ; then \
164 rootme
=`pwd` ; export rootme
; \
165 ( cd .
/h8300
; $(MAKE
) $(FLAGS_TO_PASS
) clean) ; \
175 if
[ -f .
/h8500
/Makefile
] ; then \
176 rootme
=`pwd` ; export rootme
; \
177 ( cd .
/h8500
; $(MAKE
) $(FLAGS_TO_PASS
) all) ; \
183 if
[ -f .
/h8500
/Makefile
] ; then \
184 rootme
=`pwd` ; export rootme
; \
185 ( cd .
/h8500
; $(MAKE
) $(FLAGS_TO_PASS
) install) ; \
191 if
[ -f .
/h8500
/Makefile
] ; then \
192 rootme
=`pwd` ; export rootme
; \
193 ( cd .
/h8500
; $(MAKE
) $(FLAGS_TO_PASS
) clean) ; \
203 if
[ -f .
/sh
/Makefile
] ; then \
204 rootme
=`pwd` ; export rootme
; \
205 ( cd .
/sh
; $(MAKE
) $(FLAGS_TO_PASS
) all) ; \
211 if
[ -f .
/sh
/Makefile
] ; then \
212 rootme
=`pwd` ; export rootme
; \
213 ( cd .
/sh
; $(MAKE
) $(FLAGS_TO_PASS
) install) ; \
219 if
[ -f .
/sh
/Makefile
] ; then \
220 rootme
=`pwd` ; export rootme
; \
221 ( cd .
/sh
; $(MAKE
) $(FLAGS_TO_PASS
) clean) ; \
231 # with the gnu make, this is done automatically.
233 Makefile
: $(srcdir)/Makefile.in
$(target_makefile_frag
)
234 $(SHELL
) .
/config.status
This page took 0.033991 seconds and 5 git commands to generate.