OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [testsuite/] [Makefile] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# Generated automatically from Makefile.in by configure.
2
# Makefile for regression testing the GNU debugger.
3
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
4
# Free Software Foundation, Inc.
5
 
6
# This file is part of GDB.
7
 
8
# GDB 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 2, or (at your option)
11
# any later version.
12
 
13
# GDB 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, write to the Free Software
20
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
 
22
srcdir = .
23
prefix = /projects/or32-rtems2
24
exec_prefix = ${prefix}
25
 
26
host_alias = i686-pc-linux-gnu
27
target_alias = or32-rtems
28
program_transform_name = s,x,x,
29
build_canonical = i686-pc-linux-gnu
30
host_canonical = i686-pc-linux-gnu
31
target_canonical = or32-unknown-coff
32
target_cpu = @gdb_target_cpu@
33
 
34
SHELL = /bin/sh
35
EXEEXT =
36
SUBDIRS = gdb.asm             gdb.base             gdb.c++             gdb.java             gdb.disasm             gdb.chill             gdb.mi             gdb.threads             gdb.trace gdb.gdbtk
37
RPATH_ENVVAR = LD_LIBRARY_PATH
38
 
39
EXPECT = `if [ -f $${rootme}/../../expect/expect ] ; then \
40
          echo $${rootme}/../../expect/expect ; \
41
          else echo expect ; fi`
42
 
43
RUNTEST = $(RUNTEST_FOR_TARGET)
44
 
45
RUNTESTFLAGS =
46
 
47
RUNTEST_FOR_TARGET = `\
48
  if [ -f $${srcdir}/../../dejagnu/runtest ]; then \
49
    echo $${srcdir}/../../dejagnu/runtest; \
50
  else \
51
    if [ "$(host_canonical)" = "$(target_canonical)" ]; then \
52
      echo runtest; \
53
    else \
54
      t='$(program_transform_name)'; echo runtest | sed -e '' $$t; \
55
    fi; \
56
  fi`
57
 
58
#### host, target, and site specific Makefile frags come in here.
59
 
60
# The use of $$(x_FOR_TARGET) reduces the command line length by not
61
# duplicating the lengthy definition.
62
 
63
TARGET_FLAGS_TO_PASS = \
64
        "prefix=$(prefix)" \
65
        "exec_prefix=$(exec_prefix)" \
66
        "against=$(against)" \
67
        'CC=$$(CC_FOR_TARGET)' \
68
        "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
69
        "CFLAGS=$(TESTSUITE_CFLAGS)" \
70
        "CHILLFLAGS=$(CHILLFLAGS)" \
71
        'CHILL=$$(CHILL_FOR_TARGET)' \
72
        "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
73
        "CHILL_LIB=$(CHILL_LIB)" \
74
        'CXX=$$(CXX_FOR_TARGET)' \
75
        "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
76
        "CXXFLAGS=$(CXXFLAGS)" \
77
        "MAKEINFO=$(MAKEINFO)" \
78
        "INSTALL=$(INSTALL)" \
79
        "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
80
        "INSTALL_DATA=$(INSTALL_DATA)" \
81
        "LDFLAGS=$(LDFLAGS)" \
82
        "LIBS=$(LIBS)" \
83
        "RUNTEST=$(RUNTEST)" \
84
        "RUNTESTFLAGS=$(RUNTESTFLAGS)"
85
 
86
all:
87
        @echo "Nothing to be done for all..."
88
 
89
.NOEXPORT:
90
INFODIRS=doc
91
info:
92
install-info:
93
dvi:
94
html:
95
install-html:
96
 
97
install:
98
 
99
uninstall: force
100
 
101
site.exp: ./config.status Makefile
102
        @echo "Making a new config file..."
103
        -@rm -f ./tmp?
104
        @touch site.exp
105
        -@mv site.exp site.bak
106
        @echo "## these variables are automatically generated by make ##" > ./tmp0
107
        @echo "# Do not edit here. If you wish to override these values" >> ./tmp0
108
        @echo "# add them to the last section" >> ./tmp0
109
        @echo "set host_alias $(host_alias)" >> ./tmp0
110
        @echo "set host_triplet ${host_canonical}" >> ./tmp0
111
        @echo "set target_alias $(target_alias)" >> ./tmp0
112
        @echo "set target_triplet ${target_canonical}" >> ./tmp0
113
        @echo "set build_triplet ${build_canonical}" >> ./tmp0
114
        @echo "set srcdir ${srcdir}" >> ./tmp0
115
        @echo "set tool gdb" >> ./tmp0
116
        @echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0
117
                @cat ./tmp0 > site.exp
118
        @cat site.bak | sed \
119
                        -e '1,/^## All variables above are.*##/ d' >> site.exp
120
        -@rm -f ./tmp?
121
 
122
installcheck:
123
 
124
check: site.exp all just-check
125
 
126
just-check:
127
        rootme=`pwd`; export rootme; \
128
        srcdir=${srcdir} ; export srcdir ; \
129
        EXPECT=${EXPECT} ; export EXPECT ; \
130
        EXEEXT=${EXEEXT} ; export EXEEXT ; \
131
        $(RPATH_ENVVAR)=$$rootme/../../expect:$$rootme/../../libstdc++:$$rootme/../../tk/unix:$$rootme/../../tcl/unix:$$rootme/../../bfd:$$rootme/../../opcodes:$$$(RPATH_ENVVAR); \
132
        export $(RPATH_ENVVAR); \
133
        if [ -f $${rootme}/../../expect/expect ] ; then  \
134
          TCL_LIBRARY=$${srcdir}/../../tcl/library ; \
135
          export TCL_LIBRARY ; fi ; \
136
        $(RUNTEST) $(RUNTESTFLAGS)
137
 
138
subdir_do: force
139
        @for i in $(DODIRS); do \
140
                if [ -d ./$$i ] ; then \
141
                        if (rootme=`pwd`/ ; export rootme ; \
142
                            rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
143
                                cd ./$$i; \
144
                                $(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \
145
                        else exit 1 ; fi ; \
146
                else true ; fi ; \
147
        done
148
 
149
force:;
150
 
151
subdirs:
152
        for dir in ${SUBDIRS} ; \
153
        do \
154
                echo "$$dir:" ; \
155
                if [ -d $$dir ] ; then \
156
                        (rootme=`pwd`/ ; export rootme ; \
157
                         rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
158
                         cd $$dir; $(MAKE) $(TARGET_FLAGS_TO_PASS)); \
159
                fi; \
160
        done
161
 
162
clean mostlyclean:
163
        -rm -f *~ core *.o a.out xgdb *.x *.grt
164
        if [ x"${SUBDIRS}" != x ] ; then \
165
            for dir in ${SUBDIRS}; \
166
            do \
167
                    echo "$$dir:"; \
168
                    if [ -d $$dir ]; then \
169
                            (cd $$dir; $(MAKE) clean); \
170
                    fi; \
171
            done ; \
172
        else true; fi
173
 
174
distclean maintainer-clean realclean: clean
175
        -rm -f *~ core
176
        -rm -f Makefile config.status *-init.exp
177
        -rm -fr *.log summary detail *.plog *.sum *.psum site.*
178
        if [ x"${SUBDIRS}" != x ] ; then \
179
            for dir in ${SUBDIRS}; \
180
            do \
181
                    echo "$$dir:"; \
182
                    if [ -d $$dir ]; then \
183
                            (cd $$dir; $(MAKE) distclean); \
184
                    fi; \
185
            done ; \
186
        else true; fi
187
 
188
Makefile : Makefile.in config.status $(host_makefile_frag) $(target_makefile_frag)
189
        $(SHELL) config.status
190
 
191
config.status: configure
192
        $(SHELL) config.status --recheck

powered by: WebSVN 2.1.0

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