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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [Makefile.in] - Blame information for rev 1767

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

Line No. Rev Author Line
1 56 joel
# Makefile.in generated automatically by automake 1.4 from Makefile.am
2 39 lampret
 
3 56 joel
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4
# This Makefile.in is free software; the Free Software Foundation
5
# gives unlimited permission to copy and/or distribute it,
6
# with or without modifications, as long as this notice is preserved.
7 39 lampret
 
8 56 joel
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11
# PARTICULAR PURPOSE.
12 39 lampret
 
13
 
14 56 joel
SHELL = @SHELL@
15 39 lampret
 
16 56 joel
srcdir = @srcdir@
17
top_srcdir = @top_srcdir@
18
VPATH = @srcdir@
19
prefix = @prefix@
20
exec_prefix = @exec_prefix@
21 39 lampret
 
22 56 joel
bindir = @bindir@
23
sbindir = @sbindir@
24
libexecdir = @libexecdir@
25
datadir = @datadir@
26
sysconfdir = @sysconfdir@
27
sharedstatedir = @sharedstatedir@
28
localstatedir = @localstatedir@
29
libdir = @libdir@
30
infodir = @infodir@
31
mandir = @mandir@
32
includedir = @includedir@
33
oldincludedir = /usr/include
34 39 lampret
 
35 56 joel
DESTDIR =
36 39 lampret
 
37 56 joel
pkgdatadir = $(datadir)/@PACKAGE@
38
pkglibdir = $(libdir)/@PACKAGE@
39
pkgincludedir = $(includedir)/@PACKAGE@
40 39 lampret
 
41 56 joel
top_builddir = .
42 39 lampret
 
43 56 joel
ACLOCAL = @ACLOCAL@
44
AUTOCONF = @AUTOCONF@
45
AUTOMAKE = @AUTOMAKE@
46
AUTOHEADER = @AUTOHEADER@
47 39 lampret
 
48 56 joel
INSTALL = @INSTALL@
49
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50
INSTALL_DATA = @INSTALL_DATA@
51
INSTALL_SCRIPT = @INSTALL_SCRIPT@
52
transform = @program_transform_name@
53 39 lampret
 
54 56 joel
NORMAL_INSTALL = :
55
PRE_INSTALL = :
56
POST_INSTALL = :
57
NORMAL_UNINSTALL = :
58
PRE_UNINSTALL = :
59
POST_UNINSTALL = :
60
host_alias = @host_alias@
61
host_triplet = @host@
62
AR = @AR@
63
AS = @AS@
64
CC = @CC@
65
CPP = @CPP@
66
CRT0 = @CRT0@
67
CRT0_DIR = @CRT0_DIR@
68
EXEEXT = @EXEEXT@
69
MAINT = @MAINT@
70
MAKEINFO = @MAKEINFO@
71
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
72
PACKAGE = @PACKAGE@
73
RANLIB = @RANLIB@
74 59 joel
VERSION = @VERSION@
75 56 joel
machine_dir = @machine_dir@
76
newlib_basedir = @newlib_basedir@
77
sys_dir = @sys_dir@
78 39 lampret
 
79 56 joel
AUTOMAKE_OPTIONS = cygnus
80 39 lampret
 
81 56 joel
# Multilib support variables.
82
MULTISRCTOP =
83
MULTIBUILDTOP =
84
MULTIDIRS =
85
MULTISUBDIR =
86
MULTIDO = true
87
MULTICLEAN = true
88 39 lampret
 
89 56 joel
# Work around what appears to be a GNU make bug handling MAKEFLAGS
90
# values defined in terms of make variables, as is the case for CC and
91
# friends when we are called from the top level Makefile.
92 59 joel
AM_MAKEFLAGS =          "AR_FLAGS=$(AR_FLAGS)"  "CC_FOR_BUILD=$(CC_FOR_BUILD)"  "CFLAGS=$(CFLAGS)"      "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)"  "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)"        "LDFLAGS=$(LDFLAGS)"    "LIBCFLAGS=$(LIBCFLAGS)"        "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)"  "MAKE=$(MAKE)"  "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"         "PICFLAG=$(PICFLAG)"    "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)"      "SHELL=$(SHELL)"        "EXPECT=$(EXPECT)"      "RUNTEST=$(RUNTEST)"    "RUNTESTFLAGS=$(RUNTESTFLAGS)"  "exec_prefix=$(exec_prefix)"    "infodir=$(infodir)"    "libdir=$(libdir)"      "prefix=$(prefix)"      "tooldir=$(tooldir)"    "AR=$(AR)"      "AS=$(AS)"      "CC=$(CC)"      "LD=$(LD)"      "LIBCFLAGS=$(LIBCFLAGS)"        "NM=$(NM)"      "PICFLAG=$(PICFLAG)"    "RANLIB=$(RANLIB)"      "DESTDIR=$(DESTDIR)"
93 39 lampret
 
94 56 joel
 
95 59 joel
FLAGS_TO_PASS = $(AM_MAKEFLAGS)
96 56 joel
 
97 59 joel
@HAVE_DOC_TRUE@DOCDIR = doc
98
 
99 56 joel
SUBDIRS = libc libm $(DOCDIR) .
100
 
101
tooldir = $(exec_prefix)/$(host_alias)
102
toollibdir = $(tooldir)/lib$(MULTISUBDIR)
103
 
104
AR_FLAGS = rc
105
 
106
toollib_LIBRARIES = libm.a libc.a
107
toollib_DATA = $(CRT0)
108
noinst_DATA = stmp-targ-include
109
 
110 39 lampret
# The functions ldexp, frexp and modf are traditionally supplied in
111
# both libc.a and libm.a.  We build them in libm.a and copy them over,
112
# along with some required supporting routines.
113 59 joel
MATHOBJS_IN_LIBC =      s_isinf.o sf_isinf.o    s_isnan.o sf_isnan.o    s_ldexp.o sf_ldexp.o    s_frexp.o sf_frexp.o s_modf.o sf_modf.o         s_scalbn.o sf_scalbn.o s_finite.o sf_finite.o   s_copysign.o sf_copysign.o s_infconst.o
114 39 lampret
 
115
 
116 56 joel
CLEANFILES = targ-include stmp-targ-include
117
 
118
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
119
 
120
MAKEOVERRIDES =
121
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
122
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
123
CONFIG_CLEAN_FILES =
124
LIBRARIES =  $(toollib_LIBRARIES)
125
 
126
 
127
DEFS = @DEFS@ -I. -I$(srcdir)
128
CPPFLAGS = @CPPFLAGS@
129
LDFLAGS = @LDFLAGS@
130
LIBS = @LIBS@
131
libm_a_LIBADD =
132
libm_a_SOURCES = libm.a.c
133
libm_a_OBJECTS =  libm.a.o
134
libc_a_LIBADD =
135
libc_a_SOURCES = libc.a.c
136
libc_a_OBJECTS =  libc.a.o
137
CFLAGS = @CFLAGS@
138
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
139
CCLD = $(CC)
140
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
141
DATA =  $(noinst_DATA) $(toollib_DATA)
142
 
143
DIST_COMMON =  README ChangeLog Makefile.am Makefile.in NEWS \
144
acinclude.m4 aclocal.m4 configure configure.in
145
 
146
 
147
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
148
 
149
TAR = tar
150
GZIP_ENV = --best
151
DIST_SUBDIRS =  libc libm doc .
152
SOURCES = libm.a.c libc.a.c
153
OBJECTS = libm.a.o libc.a.o
154
 
155
all: all-redirect
156
.SUFFIXES:
157
.SUFFIXES: .S .c .o .s
158
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
159
        cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
160
 
161
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
162
        cd $(top_builddir) \
163
          && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
164
 
165
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in  acinclude.m4
166
        cd $(srcdir) && $(ACLOCAL)
167
 
168
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
169
        $(SHELL) ./config.status --recheck
170
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
171
        cd $(srcdir) && $(AUTOCONF)
172
 
173
mostlyclean-toollibLIBRARIES:
174
 
175
clean-toollibLIBRARIES:
176
        -test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES)
177
 
178
distclean-toollibLIBRARIES:
179
 
180
maintainer-clean-toollibLIBRARIES:
181
 
182
install-toollibLIBRARIES: $(toollib_LIBRARIES)
183
        @$(NORMAL_INSTALL)
184
        $(mkinstalldirs) $(DESTDIR)$(toollibdir)
185
        @list='$(toollib_LIBRARIES)'; for p in $$list; do \
186
          if test -f $$p; then \
187
            echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \
188
            $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \
189
          else :; fi; \
190
        done
191
        @$(POST_INSTALL)
192
        @list='$(toollib_LIBRARIES)'; for p in $$list; do \
193
          if test -f $$p; then \
194
            echo " $(RANLIB) $(DESTDIR)$(toollibdir)/$$p"; \
195
            $(RANLIB) $(DESTDIR)$(toollibdir)/$$p; \
196
          else :; fi; \
197
        done
198
 
199
uninstall-toollibLIBRARIES:
200
        @$(NORMAL_UNINSTALL)
201
        list='$(toollib_LIBRARIES)'; for p in $$list; do \
202
          rm -f $(DESTDIR)$(toollibdir)/$$p; \
203
        done
204
 
205
.c.o:
206
        $(COMPILE) -c $<
207
 
208
.s.o:
209
        $(COMPILE) -c $<
210
 
211
.S.o:
212
        $(COMPILE) -c $<
213
 
214
mostlyclean-compile:
215
        -rm -f *.o core *.core
216
 
217
clean-compile:
218
 
219
distclean-compile:
220
        -rm -f *.tab.c
221
 
222
maintainer-clean-compile:
223
 
224
install-toollibDATA: $(toollib_DATA)
225
        @$(NORMAL_INSTALL)
226
        $(mkinstalldirs) $(DESTDIR)$(toollibdir)
227
        @list='$(toollib_DATA)'; for p in $$list; do \
228
          if test -f $(srcdir)/$$p; then \
229
            echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(toollibdir)/$$p"; \
230
            $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(toollibdir)/$$p; \
231
          else if test -f $$p; then \
232
            echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \
233
            $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \
234
          fi; fi; \
235
        done
236
 
237
uninstall-toollibDATA:
238
        @$(NORMAL_UNINSTALL)
239
        list='$(toollib_DATA)'; for p in $$list; do \
240
          rm -f $(DESTDIR)$(toollibdir)/$$p; \
241
        done
242
 
243
# This directory's subdirectories are mostly independent; you can cd
244
# into them and run `make' without going through this Makefile.
245
# To change the values of `make' variables: instead of editing Makefiles,
246
# (1) if the variable is set in `config.status', edit `config.status'
247
#     (which will cause the Makefiles to be regenerated when you run `make');
248
# (2) otherwise, pass the desired values on the `make' command line.
249
 
250
@SET_MAKE@
251
 
252
all-recursive install-data-recursive install-exec-recursive \
253
installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
254
check-recursive installcheck-recursive info-recursive dvi-recursive:
255
        @set fnord $(MAKEFLAGS); amf=$$2; \
256
        dot_seen=no; \
257
        target=`echo $@ | sed s/-recursive//`; \
258
        list='$(SUBDIRS)'; for subdir in $$list; do \
259
          echo "Making $$target in $$subdir"; \
260
          if test "$$subdir" = "."; then \
261
            dot_seen=yes; \
262
            local_target="$$target-am"; \
263
          else \
264
            local_target="$$target"; \
265
          fi; \
266
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
267
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
268
        done; \
269
        if test "$$dot_seen" = "no"; then \
270
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
271
        fi; test -z "$$fail"
272
 
273
mostlyclean-recursive clean-recursive distclean-recursive \
274
maintainer-clean-recursive:
275
        @set fnord $(MAKEFLAGS); amf=$$2; \
276
        dot_seen=no; \
277
        rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
278
          rev="$$subdir $$rev"; \
279
          test "$$subdir" = "." && dot_seen=yes; \
280
        done; \
281
        test "$$dot_seen" = "no" && rev=". $$rev"; \
282
        target=`echo $@ | sed s/-recursive//`; \
283
        for subdir in $$rev; do \
284
          echo "Making $$target in $$subdir"; \
285
          if test "$$subdir" = "."; then \
286
            local_target="$$target-am"; \
287
          else \
288
            local_target="$$target"; \
289
          fi; \
290
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
291
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
292
        done && test -z "$$fail"
293
tags-recursive:
294
        list='$(SUBDIRS)'; for subdir in $$list; do \
295
          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
296
        done
297
 
298
tags: TAGS
299
 
300
ID: $(HEADERS) $(SOURCES) $(LISP)
301
        list='$(SOURCES) $(HEADERS)'; \
302
        unique=`for i in $$list; do echo $$i; done | \
303
          awk '    { files[$$0] = 1; } \
304
               END { for (i in files) print i; }'`; \
305
        here=`pwd` && cd $(srcdir) \
306
          && mkid -f$$here/ID $$unique $(LISP)
307
 
308
TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
309
        tags=; \
310
        here=`pwd`; \
311
        list='$(SUBDIRS)'; for subdir in $$list; do \
312
   if test "$$subdir" = .; then :; else \
313
            test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
314
   fi; \
315
        done; \
316
        list='$(SOURCES) $(HEADERS)'; \
317
        unique=`for i in $$list; do echo $$i; done | \
318
          awk '    { files[$$0] = 1; } \
319
               END { for (i in files) print i; }'`; \
320
        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
321
          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
322
 
323
mostlyclean-tags:
324
 
325
clean-tags:
326
 
327
distclean-tags:
328
        -rm -f TAGS ID
329
 
330
maintainer-clean-tags:
331
 
332
distdir = $(PACKAGE)-$(VERSION)
333
top_distdir = $(distdir)
334
 
335
# This target untars the dist file and tries a VPATH configuration.  Then
336
# it guarantees that the distribution is self-contained by making another
337
# tarfile.
338
distcheck: dist
339
        -rm -rf $(distdir)
340
        GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
341
        mkdir $(distdir)/=build
342
        mkdir $(distdir)/=inst
343
        dc_install_base=`cd $(distdir)/=inst && pwd`; \
344
        cd $(distdir)/=build \
345
          && ../configure --srcdir=.. --prefix=$$dc_install_base \
346
          && $(MAKE) $(AM_MAKEFLAGS) \
347
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
348
          && $(MAKE) $(AM_MAKEFLAGS) check \
349
          && $(MAKE) $(AM_MAKEFLAGS) install \
350
          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
351
          && $(MAKE) $(AM_MAKEFLAGS) dist
352
        -rm -rf $(distdir)
353
        @banner="$(distdir).tar.gz is ready for distribution"; \
354
        dashes=`echo "$$banner" | sed s/./=/g`; \
355
        echo "$$dashes"; \
356
        echo "$$banner"; \
357
        echo "$$dashes"
358
dist: distdir
359
        -chmod -R a+r $(distdir)
360
        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
361
        -rm -rf $(distdir)
362
dist-all: distdir
363
        -chmod -R a+r $(distdir)
364
        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
365
        -rm -rf $(distdir)
366
distdir: $(DISTFILES)
367
        -rm -rf $(distdir)
368
        mkdir $(distdir)
369
        -chmod 777 $(distdir)
370
        @for file in $(DISTFILES); do \
371
          if test -f $$file; then d=.; else d=$(srcdir); fi; \
372
          if test -d $$d/$$file; then \
373
            cp -pr $$/$$file $(distdir)/$$file; \
374
          else \
375
            test -f $(distdir)/$$file \
376
            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
377
            || cp -p $$d/$$file $(distdir)/$$file || :; \
378
          fi; \
379
        done
380
        for subdir in $(DIST_SUBDIRS); do \
381
          if test "$$subdir" = .; then :; else \
382
            test -d $(distdir)/$$subdir \
383
            || mkdir $(distdir)/$$subdir \
384
            || exit 1; \
385
            chmod 777 $(distdir)/$$subdir; \
386
            (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
387
              || exit 1; \
388
          fi; \
389
        done
390
info-am:
391
info: info-recursive
392
dvi-am:
393
dvi: dvi-recursive
394
check-am:
395
check: check-recursive
396
installcheck-am:
397
installcheck: installcheck-recursive
398
install-info-am:
399
install-info: install-info-recursive
400
install-exec-am:
401
install-exec: install-exec-recursive
402
 
403
install-data-am: install-toollibLIBRARIES install-toollibDATA \
404
                install-data-local
405
install-data: install-data-recursive
406
 
407
install-am: all-am
408
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
409
install: install-recursive
410
uninstall-am: uninstall-toollibLIBRARIES uninstall-toollibDATA
411
uninstall: uninstall-recursive
412
all-am: Makefile $(LIBRARIES) $(DATA)
413
all-redirect: all-recursive
414
install-strip:
415
        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
416
installdirs: installdirs-recursive
417
installdirs-am:
418
        $(mkinstalldirs)  $(DESTDIR)$(toollibdir) $(DESTDIR)$(toollibdir)
419
 
420
 
421
mostlyclean-generic:
422
 
423
clean-generic:
424
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
425
 
426
distclean-generic:
427
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
428
        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
429
 
430
maintainer-clean-generic:
431
mostlyclean-am:  mostlyclean-toollibLIBRARIES mostlyclean-compile \
432
                mostlyclean-tags mostlyclean-generic
433
 
434
mostlyclean: mostlyclean-recursive
435
 
436
clean-am:  clean-toollibLIBRARIES clean-compile clean-tags clean-generic \
437
                mostlyclean-am
438
 
439
clean: clean-recursive
440
 
441
distclean-am:  distclean-toollibLIBRARIES distclean-compile \
442
                distclean-tags distclean-generic clean-am
443
 
444
distclean: distclean-recursive
445
        -rm -f config.status
446
 
447
maintainer-clean-am:  maintainer-clean-toollibLIBRARIES \
448
                maintainer-clean-compile maintainer-clean-tags \
449
                maintainer-clean-generic distclean-am
450
        @echo "This command is intended for maintainers to use;"
451
        @echo "it deletes files that may require special tools to rebuild."
452
 
453
maintainer-clean: maintainer-clean-recursive
454
        -rm -f config.status
455
 
456
.PHONY: mostlyclean-toollibLIBRARIES distclean-toollibLIBRARIES \
457
clean-toollibLIBRARIES maintainer-clean-toollibLIBRARIES \
458
uninstall-toollibLIBRARIES install-toollibLIBRARIES mostlyclean-compile \
459
distclean-compile clean-compile maintainer-clean-compile \
460
uninstall-toollibDATA install-toollibDATA install-data-recursive \
461
uninstall-data-recursive install-exec-recursive \
462
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
463
all-recursive check-recursive installcheck-recursive info-recursive \
464
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
465
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
466
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
467
dvi-am dvi check check-am installcheck-am installcheck install-info-am \
468
install-info install-exec-am install-exec install-data-local \
469
install-data-am install-data install-am install uninstall-am uninstall \
470
all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
471
distclean-generic clean-generic maintainer-clean-generic clean \
472
mostlyclean distclean maintainer-clean
473
 
474
 
475 39 lampret
libc.a: libc/libc.a libm.a
476
        rm -rf libc.a libg.a tmp
477
        mkdir tmp
478 56 joel
        cd tmp; \
479
         $(AR) x ../libm.a $(MATHOBJS_IN_LIBC) ; \
480
         $(AR) x ../libc/libc.a ; \
481
         $(AR) $(AR_FLAGS) ../$@ *.o
482 39 lampret
        $(RANLIB) libc.a
483
        ln libc.a libg.a
484
        rm -rf tmp
485
 
486 56 joel
libc/libc.a: ; @true
487 39 lampret
 
488
libm.a: libm/libm.a
489
        rm -f $@
490
        ln libm/libm.a $@ >/dev/null 2>/dev/null || cp libm/libm.a $@
491
 
492 56 joel
libm/libm.a: ; @true
493 39 lampret
 
494
crt0.o: $(CRT0_DIR)/$(CRT0)
495
        rm -f $@
496
        ln $(CRT0_DIR)/$(CRT0) $@ >/dev/null 2>/dev/null \
497
         || cp $(CRT0_DIR)/$(CRT0) $@
498
 
499 56 joel
$(CRT0_DIR)/$(CRT0): ; @true
500 39 lampret
 
501 56 joel
all-recursive: stmp-targ-include
502
 
503 39 lampret
# The targ-include directory just holds the includes files for the
504
# particular system and machine we have been configured for.  It is
505
# used while building.
506
stmp-targ-include: config.status
507
        -rm -rf targ-include stmp-targ-include
508
        mkdir targ-include targ-include/sys targ-include/machine
509 59 joel
        -for i in $(srcdir)/libc/include/*.h; do \
510
            if [ -f $$i ]; then \
511
              cp $$i targ-include/`basename $$i`; \
512
            else true; fi ; \
513
          done
514
        -for i in $(srcdir)/libc/include/sys/*.h; do \
515
            if [ -f $$i ]; then \
516
              cp $$i targ-include/sys/`basename $$i`; \
517
            else true; fi ; \
518
          done
519
        -for i in $(srcdir)/libc/include/machine/*.h; do \
520
            if [ -f $$i ]; then \
521
              cp $$i targ-include/machine/`basename $$i`; \
522
            else true; fi ; \
523
          done
524 39 lampret
        -for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
525
            if [ -f $$i ]; then \
526
              cp $$i targ-include/machine/`basename $$i`; \
527
            else true; fi ; \
528
          done
529
        -for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
530
            if [ -f $$i ]; then \
531
              cp $$i targ-include/`basename $$i`; \
532
            else true; fi ; \
533
          done
534
        -for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
535
            if [ -f $$i ]; then \
536
              cp $$i targ-include/sys/`basename $$i`; \
537
            else true; fi ; \
538
          done
539
        touch $@
540
 
541 56 joel
install-data-local: install-toollibLIBRARIES
542 59 joel
        rm -f $(DESTDIR)$(toollibdir)/libg.a
543
        ln $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a
544 56 joel
        $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
545 39 lampret
        -if [ -z "$(MULTISUBDIR)" ]; then \
546 59 joel
          $(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
547 39 lampret
          for i in $(srcdir)/libc/include/*.h; do \
548 59 joel
            $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include; \
549 39 lampret
          done; \
550 59 joel
          $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/machine; \
551 39 lampret
          for i in $(srcdir)/libc/include/machine/*.h; do \
552 59 joel
            $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine; \
553 39 lampret
          done; \
554
          for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
555
            if [ -f $$i ]; then \
556 59 joel
              $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine; \
557 39 lampret
            else true; fi ; \
558
          done; \
559 59 joel
          $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
560 39 lampret
          for i in $(srcdir)/libc/include/sys/*.h; do \
561 59 joel
            $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys; \
562 39 lampret
          done; \
563
          for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
564
            if [ -f $$i ]; then \
565 59 joel
              $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys; \
566 39 lampret
            else true; fi ; \
567
          done ; \
568
          for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
569
            if [ -f $$i ]; then \
570 59 joel
              $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include; \
571 39 lampret
            else true; fi ; \
572
          done ; \
573
        else true; fi
574
 
575 56 joel
# Force makedoc to be built before building info files.
576
info-recursive: doc/makedoc
577
dvi-recursive: doc/makedoc
578
doc/makedoc:
579
        cd doc && $(MAKE) all
580 39 lampret
 
581 56 joel
# Multilib support.
582
.PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
583
        maintainer-clean-multi
584 39 lampret
 
585 56 joel
all-recursive: all-multi
586
mostlyclean-recursive: mostlyclean-multi
587
clean-recursive: clean-multi
588
distclean-recursive: distclean-multi
589
maintainer-clean-recursive: maintainer-clean-multi
590 39 lampret
 
591 56 joel
all-multi:
592
        $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
593
mostlyclean-multi:
594
        $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
595
clean-multi:
596
        $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
597
distclean-multi:
598
        $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
599
maintainer-clean-multi:
600
        $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
601 39 lampret
 
602 56 joel
# Tell versions [3.59,3.63) of GNU make to not export all variables.
603
# Otherwise a system limit (for SysV at least) may be exceeded.
604 39 lampret
.NOEXPORT:

powered by: WebSVN 2.1.0

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