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

Subversion Repositories or1k

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

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

powered by: WebSVN 2.1.0

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