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-6.8/] [sim/] [Makefile.in] - Blame information for rev 635

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

Line No. Rev Author Line
1 131 jeremybenn
#    Makefile template for Configure for the sim library.
2
#    Copyright (C) 1993, 1995, 1997, 1998, 2007, 2008
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
datadir = @datadir@
35
mandir = @mandir@
36
man1dir = $(mandir)/man1
37
man2dir = $(mandir)/man2
38
man3dir = $(mandir)/man3
39
man4dir = $(mandir)/man4
40
man5dir = $(mandir)/man5
41
man6dir = $(mandir)/man6
42
man7dir = $(mandir)/man7
43
man8dir = $(mandir)/man8
44
man9dir = $(mandir)/man9
45
infodir = @infodir@
46
includedir = @includedir@
47
 
48
SHELL = @SHELL@
49
 
50
INSTALL = @INSTALL@
51
INSTALL_PROGRAM = @INSTALL_PROGRAM@
52
INSTALL_DATA = @INSTALL_DATA@
53
 
54
AR = @AR@
55
AR_FLAGS = rc
56
CC = @CC@
57
CFLAGS = @CFLAGS@
58
CC_FOR_BUILD = @CC_FOR_BUILD@
59
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
60 213 jeremybenn
LIBS = @LIBS@
61 131 jeremybenn
MAKEINFO = makeinfo
62
RANLIB = @RANLIB@
63
 
64
SUBDIRS = @subdirs@
65
 
66
INCDIR = $(srcdir)/../include
67
CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
68
DEP = mkdep
69
 
70
#### Makefile fragments come in here.
71
# @target_makefile_frag@
72
###
73
 
74
# Name of the ChangeLog file.
75
ChangeLog = ChangeLog
76
 
77
 
78
RUNTEST = `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
79
                echo $${srcdir}/../dejagnu/runtest ; else echo runtest; \
80
           fi`
81
RUNTESTFLAGS=
82
 
83
FLAGS_TO_PASS = \
84
        "prefix=$(prefix)" \
85
        "exec_prefix=$(exec_prefix)" \
86
        "bindir=$(bindir)" \
87
        "mandir=$(mandir)" \
88
        "libdir=$(libdir)" \
89
        "against=$(against)" \
90
        "AR=$(AR)" \
91
        "AR_FLAGS=$(AR_FLAGS)" \
92
        "CC=$(CC)" \
93
        "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
94
        "CFLAGS=$(CFLAGS)" \
95
        "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
96 213 jeremybenn
        "LIBS=$(LIBS)" \
97 131 jeremybenn
        "RANLIB=$(RANLIB)" \
98
        "MAKEINFO=$(MAKEINFO)" \
99
        "INSTALL=$(INSTALL)" \
100
        "INSTALL_DATA=$(INSTALL_DATA)" \
101
        "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
102
        "RUNTEST=$(RUNTEST)" \
103
        "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
104
        "SHELL=$(SHELL)"
105
 
106
# The use of $$(x_FOR_TARGET) reduces the command line length by not
107
# duplicating the lengthy definition.
108
TARGET_FLAGS_TO_PASS = \
109
        "prefix=$(prefix)" \
110
        "exec_prefix=$(exec_prefix)" \
111
        "against=$(against)" \
112
        'CC=$$(CC_FOR_TARGET)' \
113
        "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
114 213 jeremybenn
        "LIBS=$(LIBS)" \
115 131 jeremybenn
        "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
        "RUNTEST=$(RUNTEST)" \
128
        "RUNTESTFLAGS=$(RUNTESTFLAGS)"
129
 
130
 
131
all:
132
        @rootme=`pwd` ; export rootme ; \
133
        for dir in . `echo ${SUBDIRS} | sed 's/testsuite//'` ; do \
134
                if [ "$$dir" = "." ]; then \
135
                        true; \
136
                elif [ -d $$dir ]; then \
137
                        (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)) || exit 1; \
138
                else true; fi; \
139
        done
140
 
141
clean mostlyclean:
142
        @rootme=`pwd` ; export rootme ; \
143
        for dir in . ${SUBDIRS}; do \
144
                if [ "$$dir" = "." ]; then \
145
                        true; \
146
                elif [ -d $$dir ]; then \
147
                        (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@) || exit 1; \
148
                else true; fi; \
149
        done
150
 
151
distclean maintainer-clean realclean:
152
        @rootme=`pwd` ; export rootme ; \
153
        for dir in . ${SUBDIRS}; do \
154
                if [ "$$dir" = "." ]; then \
155
                        true; \
156
                elif [ -d $$dir ]; then \
157
                        (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@) || exit 1; \
158
                else true; fi; \
159
        done
160
        rm -f Makefile config.cache config.log config.status
161
 
162
install:
163
        @rootme=`pwd` ; export rootme ; \
164
        for dir in . ${SUBDIRS}; do \
165
                if [ "$$dir" = "." ]; then \
166
                        true; \
167
                elif [ -d $$dir ]; then \
168
                        (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install) || exit 1; \
169
                else true; fi; \
170
        done
171
 
172
installcheck:
173
        @echo No installcheck target is available yet for the GNU simulators.
174
 
175
installcheck:
176
 
177
# The check target can not use subdir_do, because subdir_do does not
178
# use TARGET_FLAGS_TO_PASS.
179
check: force
180
        @if [ -f testsuite/Makefile ]; then \
181
          rootme=`pwd`; export rootme; \
182
          rootsrc=`cd $(srcdir); pwd`; export rootsrc; \
183
          cd testsuite; \
184
          $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \
185
        else true; fi
186
 
187
 
188
 
189
info:
190
install-info:
191
dvi:
192
pdf:
193
 
194
###
195
###
196
 
197
.NOEXPORT:
198
MAKEOVERRIDES=
199
 
200
.PHONY: check installcheck
201
check:
202
installcheck:
203
 
204
TAGS:
205
 
206
force:
207
 
208
Makefile: Makefile.in config.status
209
        $(SHELL) ./config.status
210
 
211
config.status: configure
212
        $(SHELL) ./config.status --recheck
213
 
214
# Utility to run autoconf in each directory that uses the common framework.
215
# This is intended to be invoked in $srcdir as
216
# "make -f Makefile.in autoconf-common SHELL=/bin/sh".
217
.PHONY: autoconf-common autoheader-common
218
autoconf-common autoheader-common:
219
        for d in * ; \
220
        do \
221
            if [ -d $$d -a -f $$d/configure.ac ] ; \
222
            then \
223
                 echo "Running autoconf in $$d ..." ; \
224
                 (cd $$d && autoconf --force) ; \
225
                 if [ $@ = autoheader-common ] && [ -f $$d/config.in ] ; \
226
                 then \
227
                   echo "Running autoheader in $$d ..." ; \
228
                   (cd $$d && autoheader --force) ; \
229
                 fi ; \
230
            fi ; \
231
        done
232
 
233
autoconf-changelog autoheader-changelog:
234
        id=$(ID) ; \
235
        test x$$id = x && id="`id | sed -e 's/^[^(]*(\([^)]*\).*$$/\1/'`" ; \
236
        name=$(NAME) ; \
237
        test x$$name = x && name=`grep "^$$id:" /etc/passwd | cut -f 5 -d ':'` ; \
238
        host=$(HOST) ; \
239
        test x$$host = x && host="`hostname`" ; \
240
        date=$(DATE) ; \
241
        test x$$date = x && date="`date +%Y-%m-%d`" ; \
242
        echo "$$date $$name $$id@$$host" ; \
243
        for d in * ; \
244
        do \
245
            if [ -d $$d -a -f $$d/configure.ac ] ; \
246
            then \
247
                 echo "Creating new-$(ChangeLog) in $$d ..." ; \
248
                 ( echo "$$date  $$name  <$$id@$$host>" ; \
249
                   echo "" ; \
250
                   echo "       * configure: Regenerated to track ../common/aclocal.m4 changes." ; \
251
                   if [ $@ = autoheader-changelog ] ; \
252
                   then \
253
                     echo "     * config.in: Ditto." ; \
254
                   fi ; \
255
                   echo "" ; \
256
                   cat $$d/$(ChangeLog) \
257
                 ) > $$d/new-$(ChangeLog) ; \
258
            fi ; \
259
        done
260
 
261
autoconf-install autoheader-install:
262
        for d in * ; \
263
        do \
264
            if [ -d $$d -a -f $$d/configure.ac ] ; \
265
            then \
266
                 echo "Moving $$d/new-$(ChangeLog) to $$d/$(ChangeLog) ..." ; \
267
                 mv $$d/new-$(ChangeLog) $$d/$(ChangeLog) ; \
268
            fi ; \
269
        done

powered by: WebSVN 2.1.0

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