Line 1... |
Line 1... |
# Makefile for newlib/libc/sys/sun4.
|
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
# Copyright (c) 1994, 1995 Cygnus Support.
|
|
# All rights reserved.
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
#
|
# This Makefile.in is free software; the Free Software Foundation
|
# Redistribution and use in source and binary forms are permitted
|
# gives unlimited permission to copy and/or distribute it,
|
# provided that the above copyright notice and this paragraph are
|
# with or without modifications, as long as this notice is preserved.
|
# duplicated in all such forms and that any documentation,
|
|
# advertising materials, and other materials related to such
|
# This program is distributed in the hope that it will be useful,
|
# distribution and use acknowledge that the software was developed
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
# at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# endorse or promote products derived from this software without
|
# PARTICULAR PURPOSE.
|
# specific prior written permission.
|
|
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
|
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
SHELL = @SHELL@
|
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
srcdir = @srcdir@
|
srcdir = .
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
SHELL = /bin/sh
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
TOP = ../../..
|
|
SRCTOP = ../../..
|
bindir = @bindir@
|
TARGETDOC = ../../targetdep.tex
|
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
|
|
|
COPYOFILES=\
|
COPYOFILES=\
|
Ovfork.o \
|
Ovfork.o \
|
_exit.o \
|
_exit.o \
|
_sigvec.o \
|
_sigvec.o \
|
Line 87... |
Line 145... |
# conflict with other library .o's. They are renamed to xxxS.o.
|
# conflict with other library .o's. They are renamed to xxxS.o.
|
COPYRENAMEOFILES = divS.o
|
COPYRENAMEOFILES = divS.o
|
|
|
COPYOMFILES=ieee_flags.o
|
COPYOMFILES=ieee_flags.o
|
|
|
OFILES=_main.o ieee.o
|
lib_a_SOURCES = _main.c ieee.c
|
CFILES=_main.c ieee.c
|
lib_a_LIBADD = $(COPYOFILES) $(COPYOMFILES) $(COPYRENAMEOFILES)
|
|
|
#### Host, target, and site specific Makefile fragments come in here.
|
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 = Ovfork.o _exit.o _sigvec.o abort.o access.o \
|
|
cerror.o chmod.o chown.o close.o creat.o dup.o dup2.o errlst.o execl.o \
|
|
execle.o execv.o execve.o execvp.o fork.o fstat.o getdtablesize.o \
|
|
getpid.o getrusage.o gettimeofday.o ieee_globals.o ioctl.o isatty.o \
|
|
kill.o link.o lseek.o open.o pipe.o popen.o read.o sbrk.o setitimer.o \
|
|
sigblock.o signal.o sigpause.o sigsetjmp.o sigsetmask.o sigtramp.o \
|
|
sigvec.o sleep.o start_float.o stat.o time.o times.o umask.o unlink.o \
|
|
utime.o utimes.o wait.o wait3.o wait4.o write.o rem.o multiply.o \
|
|
umultiply.o ieee_flags.o divS.o
|
|
lib_a_OBJECTS = _main.o ieee.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
|
|
$(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
|
|
|
all: lib.a crt0.o
|
|
lib.a: $(OFILES) $(COPYOFILES) $(COPYOMFILES) $(COPYRENAMEOFILES)
|
|
rm -f $@
|
|
$(AR) $(AR_FLAGS) $@ $(OFILES) $(COPYOFILES) $(COPYOMFILES) $(COPYRENAMEOFILES)
|
|
|
|
$(COPYOFILES):
|
$(COPYOFILES):
|
ar x /lib/libc.a $(COPYOFILES)
|
$(AR) x /lib/libc.a $(COPYOFILES)
|
|
|
$(COPYRENAMEOFILES):
|
$(COPYRENAMEOFILES):
|
ar x /lib/libc.a $(COPYRENAMEFILES:S.o=.o)
|
$(AR) x /lib/libc.a $(COPYRENAMEFILES:S.o=.o)
|
for f in $(COPYRENAMEOFILES); do mv `basename $$f S.o`.o $$f; done
|
for f in $(COPYRENAMEOFILES); do mv `basename $$f S.o`.o $$f; done
|
|
|
$(COPYOMFILES):
|
$(COPYOMFILES):
|
ar x /lib/libm.a $(COPYOMFILES)
|
$(AR) x /lib/libm.a $(COPYOMFILES)
|
|
|
|
all: crt0.o
|
|
|
crt0.o:
|
crt0.o:
|
cp /lib/crt0.o crt0.o
|
cp /lib/crt0.o crt0.o
|
|
|
clean mostlyclean:
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
$(RM) *.o lib.a
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|
distclean maintainer-clean realclean: clean
|
|
rm -f Makefile config.status
|
|
|
|
doc:
|
|
|
|
Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag)
|
|
$(SHELL) config.status
|
|
|
|
# to support SunOS VPATH
|
|
_main.o: _main.c
|
|
ieee.o: ieee.c
|
|
.NOEXPORT:
|
|