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