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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [Makefile.in] - Blame information for rev 313

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

Line No. Rev Author Line
1 148 jeremybenn
# Top level makefile for libgloss
2
#
3
# Copyright (c) 1995, 1996 Cygnus Support
4
#
5
# The authors hereby grant permission to use, copy, modify, distribute,
6
# and license this software and its documentation for any purpose, provided
7
# that existing copyright notices are retained in all copies and that this
8
# notice is included verbatim in any distributions. No written agreement,
9
# license, or royalty fee is required for any of the authorized uses.
10
# Modifications to this software may be copyrighted by their authors
11
# and need not follow the licensing terms described here, provided that
12
# the new terms are clearly indicated on the first page of each file where
13
# they apply.
14
#
15
 
16
DESTDIR =
17
VPATH = @srcdir@
18
srcdir = @srcdir@
19
objdir = .
20
srcroot = $(srcdir)/../..
21
objroot = $(objdir)/../..
22
 
23
prefix = @prefix@
24
exec_prefix = @exec_prefix@
25
 
26
host_alias = @host_alias@
27
target_alias = @target_alias@
28
 
29
bindir = @bindir@
30
libdir = @libdir@
31
tooldir = $(exec_prefix)/$(target_alias)
32
 
33
TOP = .
34
SRCTOP = .
35
 
36
# Multilib support variables.
37
# TOP is used instead of MULTI{BUILD,SRC}TOP.
38
MULTISRCTOP =
39
MULTIBUILDTOP =
40
MULTIDIRS =
41
MULTISUBDIR =
42
MULTIDO = true
43
MULTICLEAN = true
44
 
45
INSTALL = @INSTALL@
46
INSTALL_PROGRAM = @INSTALL_PROGRAM@
47
INSTALL_DATA = @INSTALL_DATA@
48
 
49
SHELL = /bin/sh
50
 
51
CC = @CC@
52
 
53
AS = @AS@
54
AR = @AR@
55
LD = @LD@
56
RANLIB = @RANLIB@
57
 
58
AR_FLAGS = qv
59
BISON = bison
60
MAKEINFO = makeinfo
61
 
62
SUBDIRS = @subdirs@
63
 
64
.NOEXPORT:
65
MAKEOVERRIDES=
66
 
67
# Host specific makefile fragment comes in here.
68
@host_makefile_frag@
69
 
70
# These are roughly topologically sorted in order to make porting more
71
# streamlined.
72
FLAGS_TO_PASS = \
73
        "CC=$(CC)" \
74
        "CFLAGS=$(CFLAGS)" \
75
        "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
76
        "CCASFLAGS=$(CCASFLAGS)" \
77
        "AR=$(AR)" \
78
        "RANLIB=$(RANLIB)" \
79
        "AR_FLAGS=$(AR_FLAGS)" \
80
        "MAKEINFO=$(MAKEINFO)" \
81
        "AS=$(AS)" \
82
        "LD=$(LD)" \
83
        "CROSS_CFLAGS=$(CROSS_CFLAGS)" \
84
        "TARGET_CFLAGS=$(TARGET_CFLAGS)" \
85
        "exec_prefix=$(exec_prefix)" \
86
        "prefix=$(prefix)" \
87
        "tooldir=$(tooldir)" \
88
        "infodir=$(infodir)" \
89
        "libdir=$(libdir)" \
90
        "top_toollibdir=$(toollibdir)" \
91
        "INSTALL=$(INSTALL)" \
92
        "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
93
        "INSTALL_DATA=$(INSTALL_DATA)" \
94
        "DESTDIR=$(DESTDIR)"
95
 
96
all: stmp-bsp force
97
        @rootpre=`pwd`/; export rootpre; \
98
        srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
99
        $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
100
 
101
stmp-bsp: force
102
        @rootpre=`pwd`/; export rootpre; \
103
        srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
104
        for dir in .. ${SUBDIRS}; do \
105
          if [ x$$dir != x.. ]; then \
106
            if [ -d $$dir ]; then \
107
              (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
108
            else true; fi; \
109
          else true; fi; \
110
        done
111
 
112
install: force
113
        @rootpre=`pwd`/; export rootpre; \
114
        srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
115
        for dir in .. ${SUBDIRS}; do \
116
          if [ x$$dir != x.. ]; then \
117
            if [ -d $$dir ]; then \
118
              (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); \
119
            else true; fi; \
120
          else true; fi; \
121
        done
122
        @rootpre=`pwd`/; export rootpre; \
123
        srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
124
        $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
125
 
126
test: force
127
        @rootpre=`pwd`/; export rootpre; \
128
        srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
129
        for dir in .. ${SUBDIRS}; do \
130
          if [ x$$dir != x.. ]; then \
131
            if [ -d $$dir ]; then \
132
              (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) test); \
133
            else true; fi; \
134
          else true; fi; \
135
        done
136
        @rootpre=`pwd`/; export rootpre; \
137
        srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
138
        $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=test
139
 
140
clean-here:
141
        -rm -f *~ core *.o a.out xgdb *.x
142
 
143
clean mostlyclean: clean-here
144
        rootpre=`pwd`/; export rootpre; \
145
        srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
146
        $(MAKE) DO=$@ DODIRS="$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do; \
147
        $(MULTICLEAN) multi-clean DO=$@
148
 
149
distclean maintainer-clean realclean: clean-here
150
        -rm -f Makefile config.cache config.log config.status
151
        -rm -f *-init.exp site.*
152
        -rm -fr *.log summary detail *.sum
153
        rootpre=`pwd`/; export rootpre; \
154
        srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
155
        $(MAKE) DO=$@ DODIRS="$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do; \
156
        $(MULTICLEAN) multi-clean DO=$@
157
 
158
.PHONY: info install-info clean-info
159
subdir_do:
160
        @rootpre=`pwd`/; export rootpre; \
161
        srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
162
        for i in .. $(DODIRS); do \
163
          if [ x$$i != x.. ]; then \
164
            if [ -f ./$$i/Makefile ]; then \
165
              if (cd ./$$i; $(MAKE) $(FLAGS_TO_PASS) $(DO)); then \
166
                true; \
167
              else \
168
                exit 1; \
169
              fi; \
170
            else true; fi; \
171
          else true; fi; \
172
        done
173
 
174
info dvi docs:
175
        rootpre=`pwd`/; export rootpre; \
176
        srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
177
        $(MAKE) DO=$@ DODIRS=doc $(FLAGS_TO_PASS) subdir_do
178
 
179
install-info:
180
        rootpre=`pwd`/; export rootpre; \
181
        srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
182
        $(MAKE) DO=$@ DODIRS=doc $(FLAGS_TO_PASS) subdir_do
183
 
184
clean-info:
185
 
186
force:
187
 
188
Makefile: Makefile.in config.status @host_makefile_frag_path@
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.