413 lines
11 KiB
Makefile
413 lines
11 KiB
Makefile
|
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||
|
|
||
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||
|
# This Makefile.in is free software; the Free Software Foundation
|
||
|
# gives unlimited permission to copy and/or distribute it,
|
||
|
# with or without modifications, as long as this notice is preserved.
|
||
|
|
||
|
# This program is distributed in the hope that it will be useful,
|
||
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||
|
# PARTICULAR PURPOSE.
|
||
|
|
||
|
|
||
|
SHELL = @SHELL@
|
||
|
|
||
|
srcdir = @srcdir@
|
||
|
top_srcdir = @top_srcdir@
|
||
|
VPATH = @srcdir@
|
||
|
prefix = @prefix@
|
||
|
exec_prefix = @exec_prefix@
|
||
|
|
||
|
bindir = @bindir@
|
||
|
sbindir = @sbindir@
|
||
|
libexecdir = @libexecdir@
|
||
|
datadir = @datadir@
|
||
|
sysconfdir = @sysconfdir@
|
||
|
sharedstatedir = @sharedstatedir@
|
||
|
localstatedir = @localstatedir@
|
||
|
libdir = @libdir@
|
||
|
infodir = @infodir@
|
||
|
mandir = @mandir@
|
||
|
includedir = @includedir@
|
||
|
oldincludedir = /usr/include
|
||
|
|
||
|
DISTDIR =
|
||
|
|
||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||
|
|
||
|
top_builddir = .
|
||
|
|
||
|
ACLOCAL = @ACLOCAL@
|
||
|
AUTOCONF = @AUTOCONF@
|
||
|
AUTOMAKE = @AUTOMAKE@
|
||
|
AUTOHEADER = @AUTOHEADER@
|
||
|
|
||
|
INSTALL = @INSTALL@
|
||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||
|
INSTALL_DATA = @INSTALL_DATA@
|
||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||
|
transform = @program_transform_name@
|
||
|
|
||
|
NORMAL_INSTALL = :
|
||
|
PRE_INSTALL = :
|
||
|
POST_INSTALL = :
|
||
|
NORMAL_UNINSTALL = :
|
||
|
PRE_UNINSTALL = :
|
||
|
POST_UNINSTALL = :
|
||
|
host_alias = @host_alias@
|
||
|
host_triplet = @host@
|
||
|
AR = @AR@
|
||
|
AS = @AS@
|
||
|
CC = @CC@
|
||
|
CPP = @CPP@
|
||
|
EXEEXT = @EXEEXT@
|
||
|
MAINT = @MAINT@
|
||
|
MAKEINFO = @MAKEINFO@
|
||
|
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
||
|
PACKAGE = @PACKAGE@
|
||
|
RANLIB = @RANLIB@
|
||
|
VERSION = @VERSION@
|
||
|
machine_dir = @machine_dir@
|
||
|
newlib_basedir = @newlib_basedir@
|
||
|
sys_dir = @sys_dir@
|
||
|
|
||
|
AUTOMAKE_OPTIONS = cygnus
|
||
|
|
||
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
||
|
|
||
|
noinst_LIBRARIES = lib.a
|
||
|
|
||
|
# _r.o is for the reentrant syscall stubs.
|
||
|
|
||
|
SUFFIXES = _r.o
|
||
|
|
||
|
# We no longer copy files out of /lib/libc.a. This is kept around until
|
||
|
# most of them have replacements.
|
||
|
#
|
||
|
#COPYOFILES = \
|
||
|
# Ovfork.o _sigvec.o abort.o access.o chown.o creat.o \
|
||
|
# errlst.o getdents.o getdtablesize.o getpid.o \
|
||
|
# getrusage.o gettimeofday.o ieee_globals.o ioctl.o isatty.o \
|
||
|
# kill.o popen.o sbrk.o sigblock.o sigpause.o sigsetmask.o \
|
||
|
# sigtramp.o sigvec.o sleep.o setitimer.o start_float.o \
|
||
|
# time.o times.o utime.o utimes.o wait3.o
|
||
|
COPYOFILES =
|
||
|
|
||
|
# These files are from Sun's libc.a but must be renamed because they
|
||
|
# conflict with other library .o's. They are renamed to xxxS.o.
|
||
|
# div.o is used by times.o. errno.o conflicts with libc/errno/errno.o.
|
||
|
#COPYRENAMEOFILES = divS.o errnoS.o
|
||
|
COPYRENAMEOFILES =
|
||
|
|
||
|
#COPYOMFILES = ieee_flags.o
|
||
|
COPYOMFILES =
|
||
|
|
||
|
# CFILES_R, SFILES_R, and TEMPLATE_SFILES_R define those system calls that are
|
||
|
# needed by the ANSI C part of newlib (and thus we must provide namespace
|
||
|
# clean versions of them because we define REENTRANT_SYSCALLS_PROVIDED).
|
||
|
|
||
|
CFILES = _main.c ieee.c \
|
||
|
closedir.c opendir.c readdir.c rewinddir.c scandir.c seekdir.c \
|
||
|
telldir.c \
|
||
|
creat.c isatty.c utime2.c
|
||
|
|
||
|
CFILES_R =
|
||
|
|
||
|
SFILES = cerror.S crt0.S dup2.S execve.S _exit.S sigsetjmp.S utime.S
|
||
|
|
||
|
SFILES_R = sbrk.S wait.S
|
||
|
|
||
|
# List of files built from template.S (with an '_' suffix).
|
||
|
|
||
|
TEMPLATE_SFILES = access_ chdir_ chmod_ chown_ dup_ fcntl_ \
|
||
|
lstat_ mkdir_ pipe_ rmdir_ times_ umask_ utimes_
|
||
|
|
||
|
TEMPLATE_SFILES_R = close_ fork_ fstat_ getpid_ gettimeofday_ kill_ \
|
||
|
link_ lseek_ open_ read_ stat_ times_ unlink_ wait4_ write_
|
||
|
|
||
|
OFILES = $(COPYOFILES) $(COPYRENAMEOFILES) $(COPYOMFILES) \
|
||
|
$(SFILES:.S=.o) $(SFILES_R:.S=.o) $(SFILES_R:.S=_r.o) \
|
||
|
$(TEMPLATE_SFILES:_=.o) $(TEMPLATE_SFILES_R:_=.o) $(TEMPLATE_SFILES_R:_=_r.o) \
|
||
|
$(CFILES:.c=.o) $(CFILES_R:.c=.o) $(CFILES_R:.c=_r.o)
|
||
|
|
||
|
lib_a_SOURCES = $(SFILES) $(SFILES_R) $(CFILES) $(CFILES_R)
|
||
|
lib_a_LIBADD = $(COPYOFILES) $(COPYRENAMEOFILES) $(COPYOMFILES) \
|
||
|
$(SFILES_R:.S=_r.o) \
|
||
|
$(TEMPLATE_SFILES:_=.o) $(TEMPLATE_SFILES_R:_=.o) \
|
||
|
$(TEMPLATE_SFILES_R:_=_r.o) \
|
||
|
$(CFILES_R:.c=_r.o)
|
||
|
|
||
|
ACLOCAL_AMFLAGS = -I ../../..
|
||
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|
||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
|
||
|
CONFIG_CLEAN_FILES =
|
||
|
LIBRARIES = $(noinst_LIBRARIES)
|
||
|
|
||
|
|
||
|
DEFS = @DEFS@ -I. -I$(srcdir)
|
||
|
CPPFLAGS = @CPPFLAGS@
|
||
|
LDFLAGS = @LDFLAGS@
|
||
|
LIBS = @LIBS@
|
||
|
lib_a_DEPENDENCIES = sbrk_r.o wait_r.o access.o chdir.o chmod.o chown.o \
|
||
|
dup.o fcntl.o lstat.o mkdir.o pipe.o rmdir.o times.o umask.o utimes.o \
|
||
|
close.o fork.o fstat.o getpid.o gettimeofday.o kill.o link.o lseek.o \
|
||
|
open.o read.o stat.o times.o unlink.o wait4.o write.o close_r.o \
|
||
|
fork_r.o fstat_r.o getpid_r.o gettimeofday_r.o kill_r.o link_r.o \
|
||
|
lseek_r.o open_r.o read_r.o stat_r.o times_r.o unlink_r.o wait4_r.o \
|
||
|
write_r.o
|
||
|
lib_a_OBJECTS = cerror.o crt0.o dup2.o execve.o _exit.o sigsetjmp.o \
|
||
|
utime.o sbrk.o wait.o _main.o ieee.o closedir.o opendir.o readdir.o \
|
||
|
rewinddir.o scandir.o seekdir.o telldir.o creat.o isatty.o utime2.o
|
||
|
CFLAGS = @CFLAGS@
|
||
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
||
|
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||
|
DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in
|
||
|
|
||
|
|
||
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||
|
|
||
|
TAR = tar
|
||
|
GZIP = --best
|
||
|
SOURCES = $(lib_a_SOURCES)
|
||
|
OBJECTS = $(lib_a_OBJECTS)
|
||
|
|
||
|
all: Makefile $(LIBRARIES)
|
||
|
|
||
|
.SUFFIXES:
|
||
|
.SUFFIXES: .S .c .o .s _r.o
|
||
|
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
|
||
|
|
||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||
|
cd $(top_builddir) \
|
||
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||
|
|
||
|
$(ACLOCAL_M4): @MAINT@ configure.in ../../../acinclude.m4 \
|
||
|
../../../aclocal.m4
|
||
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||
|
|
||
|
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||
|
$(SHELL) ./config.status --recheck
|
||
|
$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||
|
cd $(srcdir) && $(AUTOCONF)
|
||
|
|
||
|
mostlyclean-noinstLIBRARIES:
|
||
|
|
||
|
clean-noinstLIBRARIES:
|
||
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
||
|
|
||
|
distclean-noinstLIBRARIES:
|
||
|
|
||
|
maintainer-clean-noinstLIBRARIES:
|
||
|
|
||
|
.c.o:
|
||
|
$(COMPILE) -c $<
|
||
|
|
||
|
.s.o:
|
||
|
$(COMPILE) -c $<
|
||
|
|
||
|
.S.o:
|
||
|
$(COMPILE) -c $<
|
||
|
|
||
|
mostlyclean-compile:
|
||
|
-rm -f *.o core *.core
|
||
|
|
||
|
clean-compile:
|
||
|
|
||
|
distclean-compile:
|
||
|
-rm -f *.tab.c
|
||
|
|
||
|
maintainer-clean-compile:
|
||
|
|
||
|
lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
|
||
|
-rm -f lib.a
|
||
|
$(AR) cru lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
|
||
|
$(RANLIB) lib.a
|
||
|
|
||
|
tags: TAGS
|
||
|
|
||
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||
|
here=`pwd` && cd $(srcdir) \
|
||
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
||
|
|
||
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||
|
tags=; \
|
||
|
here=`pwd`; \
|
||
|
list='$(SOURCES) $(HEADERS)'; \
|
||
|
unique=`for i in $$list; do echo $$i; done | \
|
||
|
awk ' { files[$$0] = 1; } \
|
||
|
END { for (i in files) print i; }'`; \
|
||
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
||
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
||
|
|
||
|
mostlyclean-tags:
|
||
|
|
||
|
clean-tags:
|
||
|
|
||
|
distclean-tags:
|
||
|
-rm -f TAGS ID
|
||
|
|
||
|
maintainer-clean-tags:
|
||
|
|
||
|
distdir = $(PACKAGE)-$(VERSION)
|
||
|
top_distdir = $(distdir)
|
||
|
|
||
|
# This target untars the dist file and tries a VPATH configuration. Then
|
||
|
# it guarantees that the distribution is self-contained by making another
|
||
|
# tarfile.
|
||
|
distcheck: dist
|
||
|
-rm -rf $(distdir)
|
||
|
GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
|
||
|
mkdir $(distdir)/=build
|
||
|
mkdir $(distdir)/=inst
|
||
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
||
|
cd $(distdir)/=build \
|
||
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
||
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||
|
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
||
|
-rm -rf $(distdir)
|
||
|
@echo "========================"; \
|
||
|
echo "$(distdir).tar.gz is ready for distribution"; \
|
||
|
echo "========================"
|
||
|
dist: distdir
|
||
|
-chmod -R a+r $(distdir)
|
||
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||
|
-rm -rf $(distdir)
|
||
|
dist-all: distdir
|
||
|
-chmod -R a+r $(distdir)
|
||
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||
|
-rm -rf $(distdir)
|
||
|
distdir: $(DISTFILES)
|
||
|
-rm -rf $(distdir)
|
||
|
mkdir $(distdir)
|
||
|
-chmod 777 $(distdir)
|
||
|
@for file in $(DISTFILES); do \
|
||
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||
|
test -f $(distdir)/$$file \
|
||
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||
|
done
|
||
|
info:
|
||
|
dvi:
|
||
|
check:
|
||
|
$(MAKE) $(AM_MAKEFLAGS)
|
||
|
installcheck:
|
||
|
install-info:
|
||
|
install-exec:
|
||
|
@$(NORMAL_INSTALL)
|
||
|
|
||
|
install-data:
|
||
|
@$(NORMAL_INSTALL)
|
||
|
|
||
|
install: install-exec install-data all
|
||
|
@:
|
||
|
|
||
|
uninstall:
|
||
|
|
||
|
install-strip:
|
||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||
|
installdirs:
|
||
|
|
||
|
|
||
|
mostlyclean-generic:
|
||
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
||
|
|
||
|
clean-generic:
|
||
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||
|
|
||
|
distclean-generic:
|
||
|
-rm -f Makefile $(DISTCLEANFILES)
|
||
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||
|
|
||
|
maintainer-clean-generic:
|
||
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||
|
mostlyclean: mostlyclean-noinstLIBRARIES mostlyclean-compile \
|
||
|
mostlyclean-tags mostlyclean-generic
|
||
|
|
||
|
clean: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
|
||
|
mostlyclean
|
||
|
|
||
|
distclean: distclean-noinstLIBRARIES distclean-compile distclean-tags \
|
||
|
distclean-generic clean
|
||
|
-rm -f config.status
|
||
|
|
||
|
maintainer-clean: maintainer-clean-noinstLIBRARIES \
|
||
|
maintainer-clean-compile maintainer-clean-tags \
|
||
|
maintainer-clean-generic distclean
|
||
|
@echo "This command is intended for maintainers to use;"
|
||
|
@echo "it deletes files that may require special tools to rebuild."
|
||
|
-rm -f config.status
|
||
|
|
||
|
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
|
||
|
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
|
||
|
mostlyclean-compile distclean-compile clean-compile \
|
||
|
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
|
||
|
clean-tags maintainer-clean-tags distdir info dvi installcheck \
|
||
|
install-info install-exec install-data install uninstall all \
|
||
|
installdirs mostlyclean-generic distclean-generic clean-generic \
|
||
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||
|
|
||
|
|
||
|
.S_r.o:
|
||
|
$(COMPILE) -DREENT -c $< -o $@
|
||
|
|
||
|
.c_r.o:
|
||
|
$(COMPILE) -DREENT -c $< -o $@
|
||
|
|
||
|
$(COPYOFILES):
|
||
|
$(AR) x /lib/libc.a $(COPYOFILES)
|
||
|
|
||
|
$(COPYRENAMEOFILES):
|
||
|
$(AR) x /lib/libc.a $(COPYRENAMEOFILES:S.o=.o)
|
||
|
for f in $(COPYRENAMEOFILES); do mv `basename $$f S.o`.o $$f; done
|
||
|
|
||
|
$(COPYOMFILES):
|
||
|
$(AR) x /lib/libm.a $(COPYOMFILES)
|
||
|
|
||
|
stamp-srcs: Makefile template.S template_r.S
|
||
|
for f in $(TEMPLATE_SFILES:_=); do \
|
||
|
$(COMPILE) -E -Dfunc=$$f $(srcdir)/template.S >$$f.S; \
|
||
|
done
|
||
|
for f in $(TEMPLATE_SFILES_R:_=); do \
|
||
|
$(COMPILE) -E -Dfunc=$$f $(srcdir)/template_r.S | sed -e 's/^_/#/' >$$f.S; \
|
||
|
done
|
||
|
touch stamp-srcs
|
||
|
|
||
|
# Make a dependency for each file built from a template.
|
||
|
|
||
|
$(TEMPLATE_SFILES:_=.S) $(TEMPLATE_SFILES_R:_=.S): stamp-srcs
|
||
|
|
||
|
all: crt0.o
|
||
|
|
||
|
close_r.o: close.S
|
||
|
fork_r.o: fork.S
|
||
|
fstat_r.o: fstat.S
|
||
|
getpid_r.o: getpid.S
|
||
|
gettimeofday_r.o: gettimeofday.S
|
||
|
kill_r.o: kill.S
|
||
|
link_r.o: link.S
|
||
|
lseek_r.o: lseek.S
|
||
|
open_r.o: open.S
|
||
|
read_r.o: read.S
|
||
|
sbrk_r.o: sbrk.S
|
||
|
stat_r.o: stat.S
|
||
|
times_r.o: times.S
|
||
|
unlink_r.o: unlink.S
|
||
|
wait_r.o: wait.S
|
||
|
wait4_r.o: wait4.S
|
||
|
write_r.o: write.S
|
||
|
|
||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||
|
.NOEXPORT:
|