2001-12-14 07:50:11 +08:00
|
|
|
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
2000-02-18 03:39:52 +08:00
|
|
|
# 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
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
DESTDIR =
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
|
|
|
|
top_builddir = .
|
|
|
|
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
2001-12-14 07:50:11 +08:00
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
2000-02-18 03:39:52 +08:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
transform = @program_transform_name@
|
|
|
|
|
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
2002-04-25 04:53:30 +08:00
|
|
|
build_alias = @build_alias@
|
|
|
|
build_triplet = @build@
|
2000-02-18 03:39:52 +08:00
|
|
|
host_alias = @host_alias@
|
|
|
|
host_triplet = @host@
|
2002-04-25 04:53:30 +08:00
|
|
|
target_alias = @target_alias@
|
|
|
|
target_triplet = @target@
|
2000-02-18 03:39:52 +08:00
|
|
|
AR = @AR@
|
|
|
|
AS = @AS@
|
|
|
|
CC = @CC@
|
|
|
|
CPP = @CPP@
|
|
|
|
EXEEXT = @EXEEXT@
|
2001-12-14 07:50:11 +08:00
|
|
|
LDFLAGS = @LDFLAGS@
|
2000-02-18 03:39:52 +08:00
|
|
|
MAINT = @MAINT@
|
|
|
|
MAKEINFO = @MAKEINFO@
|
|
|
|
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
2002-06-08 05:59:57 +08:00
|
|
|
OBJEXT = @OBJEXT@
|
2000-02-18 03:39:52 +08:00
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
VERSION = @VERSION@
|
2001-12-14 07:50:11 +08:00
|
|
|
aext = @aext@
|
|
|
|
libm_machine_dir = @libm_machine_dir@
|
2000-02-18 03:39:52 +08:00
|
|
|
machine_dir = @machine_dir@
|
|
|
|
newlib_basedir = @newlib_basedir@
|
2001-12-14 07:50:11 +08:00
|
|
|
oext = @oext@
|
2000-02-18 03:39:52 +08:00
|
|
|
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
|
2001-12-14 07:50:11 +08:00
|
|
|
COPYOFILES =
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
# 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
|
2001-12-14 07:50:11 +08:00
|
|
|
COPYRENAMEOFILES =
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
#COPYOMFILES = ieee_flags.o
|
2001-12-14 07:50:11 +08:00
|
|
|
COPYOMFILES =
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
|
|
|
|
CFILES_R =
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
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_
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
TEMPLATE_SFILES_R = close_ fork_ fstat_ getpid_ gettimeofday_ kill_ \
|
|
|
|
link_ lseek_ open_ read_ stat_ times_ unlink_ wait4_ write_
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
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)
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
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)
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
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@
|
|
|
|
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@
|
2001-12-14 07:50:11 +08:00
|
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
|
|
CCLD = $(CC)
|
|
|
|
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
2000-02-18 03:39:52 +08:00
|
|
|
DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in
|
|
|
|
|
|
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
TAR = gtar
|
|
|
|
GZIP_ENV = --best
|
2000-02-18 03:39:52 +08:00
|
|
|
SOURCES = $(lib_a_SOURCES)
|
|
|
|
OBJECTS = $(lib_a_OBJECTS)
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
all: all-redirect
|
2000-02-18 03:39:52 +08:00
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .S .c .o .s _r.o
|
2001-12-14 07:50:11 +08:00
|
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
2000-02-18 03:39:52 +08:00
|
|
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
|
|
|
|
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in \
|
|
|
|
../../../acinclude.m4 ../../../aclocal.m4
|
2000-02-18 03:39:52 +08:00
|
|
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
|
|
|
|
|
|
|
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
|
|
$(SHELL) ./config.status --recheck
|
2001-12-14 07:50:11 +08:00
|
|
|
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
2000-02-18 03:39:52 +08:00
|
|
|
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)
|
2001-12-14 07:50:11 +08:00
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
|
|
|
END { for (i in files) print i; }'`; \
|
2000-02-18 03:39:52 +08:00
|
|
|
here=`pwd` && cd $(srcdir) \
|
2001-12-14 07:50:11 +08:00
|
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
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)
|
2001-12-14 07:50:11 +08:00
|
|
|
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
|
2000-02-18 03:39:52 +08:00
|
|
|
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)
|
2001-12-14 07:50:11 +08:00
|
|
|
@banner="$(distdir).tar.gz is ready for distribution"; \
|
|
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
|
|
echo "$$dashes"; \
|
|
|
|
echo "$$banner"; \
|
|
|
|
echo "$$dashes"
|
2000-02-18 03:39:52 +08:00
|
|
|
dist: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
2001-12-14 07:50:11 +08:00
|
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
2000-02-18 03:39:52 +08:00
|
|
|
-rm -rf $(distdir)
|
|
|
|
dist-all: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
2001-12-14 07:50:11 +08:00
|
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
2000-02-18 03:39:52 +08:00
|
|
|
-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; \
|
2001-12-14 07:50:11 +08:00
|
|
|
if test -d $$d/$$file; then \
|
|
|
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
|
|
|
else \
|
|
|
|
test -f $(distdir)/$$file \
|
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
|
|
fi; \
|
2000-02-18 03:39:52 +08:00
|
|
|
done
|
2001-12-14 07:50:11 +08:00
|
|
|
info-am:
|
|
|
|
info: info-am
|
|
|
|
dvi-am:
|
|
|
|
dvi: dvi-am
|
|
|
|
check-am:
|
|
|
|
check: check-am
|
|
|
|
installcheck-am:
|
|
|
|
installcheck: installcheck-am
|
|
|
|
install-info-am:
|
|
|
|
install-info: install-info-am
|
|
|
|
install-exec-am:
|
|
|
|
install-exec: install-exec-am
|
|
|
|
|
|
|
|
install-data-am:
|
|
|
|
install-data: install-data-am
|
|
|
|
|
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
install: install-am
|
|
|
|
uninstall-am:
|
|
|
|
uninstall: uninstall-am
|
|
|
|
all-am: Makefile $(LIBRARIES)
|
|
|
|
all-redirect: all-am
|
2000-02-18 03:39:52 +08:00
|
|
|
install-strip:
|
2001-12-14 07:50:11 +08:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
2000-02-18 03:39:52 +08:00
|
|
|
installdirs:
|
|
|
|
|
|
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
|
|
|
|
distclean-generic:
|
2001-12-14 07:50:11 +08:00
|
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
2000-02-18 03:39:52 +08:00
|
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
|
|
|
|
maintainer-clean-generic:
|
2001-12-14 07:50:11 +08:00
|
|
|
mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
|
2000-02-18 03:39:52 +08:00
|
|
|
mostlyclean-tags mostlyclean-generic
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
|
|
|
|
clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
|
|
|
|
mostlyclean-am
|
|
|
|
|
|
|
|
clean: clean-am
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
distclean-am: distclean-noinstLIBRARIES distclean-compile \
|
|
|
|
distclean-tags distclean-generic clean-am
|
|
|
|
|
|
|
|
distclean: distclean-am
|
2000-02-18 03:39:52 +08:00
|
|
|
-rm -f config.status
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
|
2000-02-18 03:39:52 +08:00
|
|
|
maintainer-clean-compile maintainer-clean-tags \
|
2001-12-14 07:50:11 +08:00
|
|
|
maintainer-clean-generic distclean-am
|
2000-02-18 03:39:52 +08:00
|
|
|
@echo "This command is intended for maintainers to use;"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
2001-12-14 07:50:11 +08:00
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-am
|
2000-02-18 03:39:52 +08:00
|
|
|
-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 \
|
2001-12-14 07:50:11 +08:00
|
|
|
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
|
|
|
|
check-am installcheck-am installcheck install-info-am install-info \
|
|
|
|
install-exec-am install-exec install-data-am install-data install-am \
|
|
|
|
install uninstall-am uninstall all-redirect all-am all installdirs \
|
|
|
|
mostlyclean-generic distclean-generic clean-generic \
|
2000-02-18 03:39:52 +08:00
|
|
|
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:
|