1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
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.
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
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 host_alias = @host_alias@
70 NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
75 libm_machine_dir = @libm_machine_dir@
76 machine_dir = @machine_dir@
77 newlib_basedir = @newlib_basedir@
81 AUTOMAKE_OPTIONS = cygnus
83 INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
85 noinst_LIBRARIES = lib.a
87 # _r.o is for the reentrant syscall stubs.
91 # We no longer copy files out of /lib/libc.a. This is kept around until
92 # most of them have replacements.
95 # Ovfork.o _sigvec.o abort.o access.o chown.o creat.o \
96 # errlst.o getdents.o getdtablesize.o getpid.o \
97 # getrusage.o gettimeofday.o ieee_globals.o ioctl.o isatty.o \
98 # kill.o popen.o sbrk.o sigblock.o sigpause.o sigsetmask.o \
99 # sigtramp.o sigvec.o sleep.o setitimer.o start_float.o \
100 # time.o times.o utime.o utimes.o wait3.o
103 # These files are from Sun's libc.a but must be renamed because they
104 # conflict with other library .o's. They are renamed to xxxS.o.
105 # div.o is used by times.o. errno.o conflicts with libc/errno/errno.o.
106 #COPYRENAMEOFILES = divS.o errnoS.o
109 #COPYOMFILES = ieee_flags.o
112 # CFILES_R, SFILES_R, and TEMPLATE_SFILES_R define those system calls that are
113 # needed by the ANSI C part of newlib (and thus we must provide namespace
114 # clean versions of them because we define REENTRANT_SYSCALLS_PROVIDED).
116 CFILES = _main.c ieee.c \
117 closedir.c opendir.c readdir.c rewinddir.c scandir.c seekdir.c \
119 creat.c isatty.c utime2.c
124 SFILES = cerror.S crt0.S dup2.S execve.S _exit.S sigsetjmp.S utime.S
126 SFILES_R = sbrk.S wait.S
128 # List of files built from template.S (with an '_' suffix).
130 TEMPLATE_SFILES = access_ chdir_ chmod_ chown_ dup_ fcntl_ \
131 lstat_ mkdir_ pipe_ rmdir_ times_ umask_ utimes_
134 TEMPLATE_SFILES_R = close_ fork_ fstat_ getpid_ gettimeofday_ kill_ \
135 link_ lseek_ open_ read_ stat_ times_ unlink_ wait4_ write_
138 OFILES = $(COPYOFILES) $(COPYRENAMEOFILES) $(COPYOMFILES) \
139 $(SFILES:.S=.o) $(SFILES_R:.S=.o) $(SFILES_R:.S=_r.o) \
140 $(TEMPLATE_SFILES:_=.o) $(TEMPLATE_SFILES_R:_=.o) $(TEMPLATE_SFILES_R:_=_r.o) \
141 $(CFILES:.c=.o) $(CFILES_R:.c=.o) $(CFILES_R:.c=_r.o)
144 lib_a_SOURCES = $(SFILES) $(SFILES_R) $(CFILES) $(CFILES_R)
145 lib_a_LIBADD = $(COPYOFILES) $(COPYRENAMEOFILES) $(COPYOMFILES) \
146 $(SFILES_R:.S=_r.o) \
147 $(TEMPLATE_SFILES:_=.o) $(TEMPLATE_SFILES_R:_=.o) \
148 $(TEMPLATE_SFILES_R:_=_r.o) \
152 ACLOCAL_AMFLAGS = -I ../../..
153 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
154 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
155 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
157 LIBRARIES = $(noinst_LIBRARIES)
160 DEFS = @DEFS@ -I. -I$(srcdir)
161 CPPFLAGS = @CPPFLAGS@
163 lib_a_DEPENDENCIES = sbrk_r.o wait_r.o access.o chdir.o chmod.o chown.o \
164 dup.o fcntl.o lstat.o mkdir.o pipe.o rmdir.o times.o umask.o utimes.o \
165 close.o fork.o fstat.o getpid.o gettimeofday.o kill.o link.o lseek.o \
166 open.o read.o stat.o times.o unlink.o wait4.o write.o close_r.o \
167 fork_r.o fstat_r.o getpid_r.o gettimeofday_r.o kill_r.o link_r.o \
168 lseek_r.o open_r.o read_r.o stat_r.o times_r.o unlink_r.o wait4_r.o \
170 lib_a_OBJECTS = cerror.o crt0.o dup2.o execve.o _exit.o sigsetjmp.o \
171 utime.o sbrk.o wait.o _main.o ieee.o closedir.o opendir.o readdir.o \
172 rewinddir.o scandir.o seekdir.o telldir.o creat.o isatty.o utime2.o
174 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
176 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
177 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in
180 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
184 SOURCES = $(lib_a_SOURCES)
185 OBJECTS = $(lib_a_OBJECTS)
189 .SUFFIXES: .S .c .o .s _r.o
190 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
191 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
193 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
195 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
197 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in \
198 ../../../acinclude.m4 ../../../aclocal.m4
199 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
201 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
202 $(SHELL) ./config.status --recheck
203 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
204 cd $(srcdir) && $(AUTOCONF)
206 mostlyclean-noinstLIBRARIES:
208 clean-noinstLIBRARIES:
209 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
211 distclean-noinstLIBRARIES:
213 maintainer-clean-noinstLIBRARIES:
225 -rm -f *.o core *.core
232 maintainer-clean-compile:
234 lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
236 $(AR) cru lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
241 ID: $(HEADERS) $(SOURCES) $(LISP)
242 list='$(SOURCES) $(HEADERS)'; \
243 unique=`for i in $$list; do echo $$i; done | \
244 awk ' { files[$$0] = 1; } \
245 END { for (i in files) print i; }'`; \
246 here=`pwd` && cd $(srcdir) \
247 && mkid -f$$here/ID $$unique $(LISP)
249 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
252 list='$(SOURCES) $(HEADERS)'; \
253 unique=`for i in $$list; do echo $$i; done | \
254 awk ' { files[$$0] = 1; } \
255 END { for (i in files) print i; }'`; \
256 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
257 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
266 maintainer-clean-tags:
268 distdir = $(PACKAGE)-$(VERSION)
269 top_distdir = $(distdir)
271 # This target untars the dist file and tries a VPATH configuration. Then
272 # it guarantees that the distribution is self-contained by making another
276 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
277 mkdir $(distdir)/=build
278 mkdir $(distdir)/=inst
279 dc_install_base=`cd $(distdir)/=inst && pwd`; \
280 cd $(distdir)/=build \
281 && ../configure --srcdir=.. --prefix=$$dc_install_base \
282 && $(MAKE) $(AM_MAKEFLAGS) \
283 && $(MAKE) $(AM_MAKEFLAGS) dvi \
284 && $(MAKE) $(AM_MAKEFLAGS) check \
285 && $(MAKE) $(AM_MAKEFLAGS) install \
286 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
287 && $(MAKE) $(AM_MAKEFLAGS) dist
289 @banner="$(distdir).tar.gz is ready for distribution"; \
290 dashes=`echo "$$banner" | sed s/./=/g`; \
295 -chmod -R a+r $(distdir)
296 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
299 -chmod -R a+r $(distdir)
300 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
302 distdir: $(DISTFILES)
305 -chmod 777 $(distdir)
306 @for file in $(DISTFILES); do \
307 if test -f $$file; then d=.; else d=$(srcdir); fi; \
308 if test -d $$d/$$file; then \
309 cp -pr $$d/$$file $(distdir)/$$file; \
311 test -f $(distdir)/$$file \
312 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
313 || cp -p $$d/$$file $(distdir)/$$file || :; \
323 installcheck: installcheck-am
325 install-info: install-info-am
327 install-exec: install-exec-am
330 install-data: install-data-am
333 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
336 uninstall: uninstall-am
337 all-am: Makefile $(LIBRARIES)
340 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
349 -rm -f Makefile $(CONFIG_CLEAN_FILES)
350 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
352 maintainer-clean-generic:
353 mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
354 mostlyclean-tags mostlyclean-generic
356 mostlyclean: mostlyclean-am
358 clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
363 distclean-am: distclean-noinstLIBRARIES distclean-compile \
364 distclean-tags distclean-generic clean-am
366 distclean: distclean-am
369 maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
370 maintainer-clean-compile maintainer-clean-tags \
371 maintainer-clean-generic distclean-am
372 @echo "This command is intended for maintainers to use;"
373 @echo "it deletes files that may require special tools to rebuild."
375 maintainer-clean: maintainer-clean-am
378 .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
379 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
380 mostlyclean-compile distclean-compile clean-compile \
381 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
382 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
383 check-am installcheck-am installcheck install-info-am install-info \
384 install-exec-am install-exec install-data-am install-data install-am \
385 install uninstall-am uninstall all-redirect all-am all installdirs \
386 mostlyclean-generic distclean-generic clean-generic \
387 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
391 $(COMPILE) -DREENT -c $< -o $@
394 $(COMPILE) -DREENT -c $< -o $@
397 $(AR) x /lib/libc.a $(COPYOFILES)
400 $(AR) x /lib/libc.a $(COPYRENAMEOFILES:S.o=.o)
401 for f in $(COPYRENAMEOFILES); do mv `basename $$f S.o`.o $$f; done
404 $(AR) x /lib/libm.a $(COPYOMFILES)
406 stamp-srcs: Makefile template.S template_r.S
407 for f in $(TEMPLATE_SFILES:_=); do \
408 $(COMPILE) -E -Dfunc=$$f $(srcdir)/template.S >$$f.S; \
410 for f in $(TEMPLATE_SFILES_R:_=); do \
411 $(COMPILE) -E -Dfunc=$$f $(srcdir)/template_r.S | sed -e 's/^_/#/' >$$f.S; \
415 # Make a dependency for each file built from a template.
417 $(TEMPLATE_SFILES:_=.S) $(TEMPLATE_SFILES_R:_=.S): stamp-srcs
425 gettimeofday_r.o: gettimeofday.S
439 # Tell versions [3.59,3.63) of GNU make to not export all variables.
440 # Otherwise a system limit (for SysV at least) may be exceeded.