OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [Makefile.in] - Blame information for rev 294

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
#    Makefile template for Configure for the sim library.
2
#    Copyright (C) 1993, 1995, 1997, 1998, 2007, 2008, 2009, 2010
3
#    Free Software Foundation, Inc.
4
#    Written by Cygnus Support.
5
#
6
# This file is part of BFD, the Binary File Descriptor library.
7
#
8
# This program is free software; you can redistribute it and/or modify
9
# it under the terms of the GNU General Public License as published by
10
# the Free Software Foundation; either version 3 of the License, or
11
# (at your option) any later version.
12
#
13
# This program is distributed in the hope that it will be useful,
14
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
# GNU General Public License for more details.
17
#
18
# You should have received a copy of the GNU General Public License
19
# along with this program.  If not, see .
20
 
21
VPATH = @srcdir@
22
srcdir = @srcdir@
23
 
24
prefix = @prefix@
25
exec_prefix = @exec_prefix@
26
 
27
host_alias = @host_alias@
28
target_alias = @target_alias@
29
program_transform_name = @program_transform_name@
30
bindir = @bindir@
31
libdir = @libdir@
32
tooldir = $(libdir)/$(target_alias)
33
 
34
datarootdir = @datarootdir@
35
datadir = @datadir@
36
mandir = @mandir@
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 = @infodir@
47
includedir = @includedir@
48
 
49
SHELL = @SHELL@
50
 
51
INSTALL = @INSTALL@
52
INSTALL_PROGRAM = @INSTALL_PROGRAM@
53
INSTALL_DATA = @INSTALL_DATA@
54
 
55
AR = @AR@
56
AR_FLAGS = rc
57
CC = @CC@
58
CFLAGS = @CFLAGS@
59
CC_FOR_BUILD = @CC_FOR_BUILD@
60
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
61
LIBS = @LIBS@
62
MAKEINFO = makeinfo
63
RANLIB = @RANLIB@
64
 
65
SUBDIRS = @subdirs@
66
 
67
INCDIR = $(srcdir)/../include
68
CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
69
DEP = mkdep
70
 
71
#### Makefile fragments come in here.
72
# @target_makefile_frag@
73
###
74
 
75
# Name of the ChangeLog file.
76
ChangeLog = ChangeLog
77
 
78
 
79
RUNTEST = `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
80
                echo $${srcdir}/../dejagnu/runtest ; else echo runtest; \
81
           fi`
82
RUNTESTFLAGS=
83
 
84
FLAGS_TO_PASS = \
85
        "prefix=$(prefix)" \
86
        "exec_prefix=$(exec_prefix)" \
87
        "bindir=$(bindir)" \
88
        "mandir=$(mandir)" \
89
        "libdir=$(libdir)" \
90
        "against=$(against)" \
91
        "AR=$(AR)" \
92
        "AR_FLAGS=$(AR_FLAGS)" \
93
        "CC=$(CC)" \
94
        "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
95
        "CFLAGS=$(CFLAGS)" \
96
        "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
97
        "LIBS=$(LIBS)" \
98
        "RANLIB=$(RANLIB)" \
99
        "MAKEINFO=$(MAKEINFO)" \
100
        "INSTALL=$(INSTALL)" \
101
        "INSTALL_DATA=$(INSTALL_DATA)" \
102
        "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
103
        "RUNTEST=$(RUNTEST)" \
104
        "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
105
        "SHELL=$(SHELL)"
106
 
107
# The use of $$(x_FOR_TARGET) reduces the command line length by not
108
# duplicating the lengthy definition.
109
TARGET_FLAGS_TO_PASS = \
110
        "prefix=$(prefix)" \
111
        "exec_prefix=$(exec_prefix)" \
112
        "against=$(against)" \
113
        'CC=$$(CC_FOR_TARGET)' \
114
        "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
115
        "CFLAGS=$(CFLAGS)" \
116
        "CHILLFLAGS=$(CHILLFLAGS)" \
117
        'CHILL=$$(CHILL_FOR_TARGET)' \
118
        "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
119
        "CHILL_LIB=$(CHILL_LIB)" \
120
        'CXX=$$(CXX_FOR_TARGET)' \
121
        "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
122
        "CXXFLAGS=$(CXXFLAGS)" \
123
        "INSTALL=$(INSTALL)" \
124
        "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
125
        "INSTALL_DATA=$(INSTALL_DATA)" \
126
        "MAKEINFO=$(MAKEINFO)" \
127
        "LIBS=$(LIBS)" \
128
        "RUNTEST=$(RUNTEST)" \
129
        "RUNTESTFLAGS=$(RUNTESTFLAGS)"
130
 
131
 
132
all:
133
        @rootme=`pwd` ; export rootme ; \
134
        for dir in . `echo ${SUBDIRS} | sed 's/testsuite//'` ; do \
135
                if [ "$$dir" = "." ]; then \
136
                        true; \
137
                elif [ -d $$dir ]; then \
138
                        (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)) || exit 1; \
139
                else true; fi; \
140
        done
141
 
142
clean mostlyclean:
143
        @rootme=`pwd` ; export rootme ; \
144
        for dir in . ${SUBDIRS}; do \
145
                if [ "$$dir" = "." ]; then \
146
                        true; \
147
                elif [ -d $$dir ]; then \
148
                        (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@) || exit 1; \
149
                else true; fi; \
150
        done
151
 
152
distclean maintainer-clean realclean:
153
        @rootme=`pwd` ; export rootme ; \
154
        for dir in . ${SUBDIRS}; do \
155
                if [ "$$dir" = "." ]; then \
156
                        true; \
157
                elif [ -d $$dir ]; then \
158
                        (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@) || exit 1; \
159
                else true; fi; \
160
        done
161
        rm -f Makefile config.cache config.log config.status
162
 
163
install:
164
        @rootme=`pwd` ; export rootme ; \
165
        for dir in . ${SUBDIRS}; do \
166
                if [ "$$dir" = "." ]; then \
167
                        true; \
168
                elif [ -d $$dir ]; then \
169
                        (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install) || exit 1; \
170
                else true; fi; \
171
        done
172
 
173
installcheck:
174
        @echo No installcheck target is available yet for the GNU simulators.
175
 
176
installcheck:
177
 
178
# The check target can not use subdir_do, because subdir_do does not
179
# use TARGET_FLAGS_TO_PASS.
180
check: force
181
        @if [ -f testsuite/Makefile ]; then \
182
          rootme=`pwd`; export rootme; \
183
          rootsrc=`cd $(srcdir); pwd`; export rootsrc; \
184
          cd testsuite; \
185
          $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \
186
        else true; fi
187
 
188
 
189
 
190
info:
191
install-info:
192
dvi:
193
pdf:
194
install-pdf:
195
html:
196
install-html:
197
 
198
###
199
###
200
 
201
.NOEXPORT:
202
MAKEOVERRIDES=
203
 
204
.PHONY: check installcheck
205
check:
206
installcheck:
207
 
208
TAGS:
209
 
210
force:
211
 
212
Makefile: Makefile.in config.status
213
        $(SHELL) ./config.status
214
 
215
config.status: configure
216
        $(SHELL) ./config.status --recheck
217
 
218
# Utility to run autoconf in each directory that uses the common framework.
219
# This is intended to be invoked in $srcdir as
220
# "make -f Makefile.in autoconf-common SHELL=/bin/sh".
221
.PHONY: autoconf-common autoheader-common
222
autoconf-common autoheader-common:
223
        for d in * ; \
224
        do \
225
            if [ -d $$d -a -f $$d/configure.ac ] ; \
226
            then \
227
                 echo "Running autoconf in $$d ..." ; \
228
                 (cd $$d && autoconf --force) ; \
229
                 if [ $@ = autoheader-common ] && [ -f $$d/config.in ] ; \
230
                 then \
231
                   echo "Running autoheader in $$d ..." ; \
232
                   (cd $$d && autoheader --force) ; \
233
                 fi ; \
234
            fi ; \
235
        done
236
 
237
autoconf-changelog autoheader-changelog:
238
        id=$(ID) ; \
239
        test x$$id = x && id="`id | sed -e 's/^[^(]*(\([^)]*\).*$$/\1/'`" ; \
240
        name=$(NAME) ; \
241
        test x$$name = x && name=`grep "^$$id:" /etc/passwd | cut -f 5 -d ':'` ; \
242
        host=$(HOST) ; \
243
        test x$$host = x && host="`hostname`" ; \
244
        date=$(DATE) ; \
245
        test x$$date = x && date="`date +%Y-%m-%d`" ; \
246
        echo "$$date $$name $$id@$$host" ; \
247
        for d in * ; \
248
        do \
249
            if [ -d $$d -a -f $$d/configure.ac ] ; \
250
            then \
251
                 echo "Creating new-$(ChangeLog) in $$d ..." ; \
252
                 ( echo "$$date  $$name  <$$id@$$host>" ; \
253
                   echo "" ; \
254
                   echo "       * configure: Regenerated to track ../common/aclocal.m4 changes." ; \
255
                   if [ $@ = autoheader-changelog ] ; \
256
                   then \
257
                     echo "     * config.in: Ditto." ; \
258
                   fi ; \
259
                   echo "" ; \
260
                   cat $$d/$(ChangeLog) \
261
                 ) > $$d/new-$(ChangeLog) ; \
262
            fi ; \
263
        done
264
 
265
autoconf-install autoheader-install:
266
        for d in * ; \
267
        do \
268
            if [ -d $$d -a -f $$d/configure.ac ] ; \
269
            then \
270
                 echo "Moving $$d/new-$(ChangeLog) to $$d/$(ChangeLog) ..." ; \
271
                 mv $$d/new-$(ChangeLog) $$d/$(ChangeLog) ; \
272
            fi ; \
273
        done

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.