aboutsummaryrefslogtreecommitdiff
path: root/newlib/Makefile.am
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-04-03 22:46:21 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-04-03 22:46:21 +0000
commitfa4a16a17afb05a7c6acfab467c1c03788a3fed3 (patch)
treec511596e7eaba195216fb76732135fe78a7bd1f7 /newlib/Makefile.am
parente432b38efed39310dbdd2763db075ab439f59654 (diff)
downloadnewlib-fa4a16a17afb05a7c6acfab467c1c03788a3fed3.zip
newlib-fa4a16a17afb05a7c6acfab467c1c03788a3fed3.tar.gz
newlib-fa4a16a17afb05a7c6acfab467c1c03788a3fed3.tar.bz2
2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Add support for machine subdirectory of sys subdirectory. * configure.in: Add check for sys machine subdirectory. * Makefile.am: Ditto. * configure: Regenerated. * Makefile.in: Ditto. * libc/sys/linux/crt0.c: Moved to machine/i386 directory. * libc/sys/linux/sys/syscall.h: Ditto. * libc/sys/linux/sleep.c: New file. * libc/sys/linux/socket.c: Ditto. * libc/sys/linux/sockops.h: Ditto. * libc/sys/linux/stack.c: Ditto. * libc/sys/linux/usleep.c: Ditto. * libc/sys/linux/machine/Makefile.am: Ditto. * libc/sys/linux/machine/Makefile.in: Ditto. * libc/sys/linux/machine/aclocal.m4: Ditto. * libc/sys/linux/machine/configure: Ditto. * libc/sys/linux/machine/configure.in: Ditto. * libc/sys/linux/machine/i386/Makefile.am: Ditto. * libc/sys/linux/machine/i386/Makefile.in: Ditto. * libc/sys/linux/machine/i386/aclocal.m4: Ditto. * libc/sys/linux/machine/i386/configure: Ditto. * libc/sys/linux/machine/i386/configure.in: Ditto. * libc/sys/linux/machine/i386/crt0.c: Ditto. * libc/sys/linux/machine/i386/sigset.c: Ditto. * libc/sys/linux/machine/i386/sigstack.h: Ditto. * libc/sys/linux/machine/i386/socketcall.h: Ditto. * libc/sys/linux/machine/i386/syscall.h: Ditto. * libc/sys/linux/sys/select.h: Ditto. * libc/sys/linux/configure.in: Add support for machine directory. * libc/sys/linux/Makefile.am: Ditto plus add new files above. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/configure: Ditto. * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h. * libc/sys/linux/inode.c: Ditto. * libc/sys/linux/linux.c: Ditto. * libc/sys/linux/process.c: Ditto. * libc/sys/linux/systat.c: Ditto. * libc/sys/linux/time.c: Ditto. * libc/sys/linux/wait.c: Ditto. * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid. * libc/sys/linux/io.c: Change header plus add readv/writev. * libc/sys/linux/signal.c: Change header plus change sigsuspend to use __sigsuspend syscall. * libc/sys/linux/select.c: Change header plus change select to use _newselect syscall. * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions used by glibc header files. * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t types.
Diffstat (limited to 'newlib/Makefile.am')
-rw-r--r--newlib/Makefile.am17
1 files changed, 13 insertions, 4 deletions
diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index 5a98d93..be01388 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -61,7 +61,8 @@ else
DOCDIR =
endif
-SUBDIRS = libc libm $(DOCDIR) .
+SUBDIRS = libc libm \
+ $(DOCDIR) .
tooldir = $(exec_prefix)/$(host_alias)
toollibdir = $(tooldir)/lib$(MULTISUBDIR)
@@ -69,9 +70,11 @@ toollibdir = $(tooldir)/lib$(MULTISUBDIR)
AR_FLAGS = rc
if USE_LIBTOOL
-toollib_LTLIBRARIES = libm.la libc.la
+toollib_LTLIBRARIES = libm.la \
+ libc.la
else
-toollib_LIBRARIES = libm.a libc.a
+toollib_LIBRARIES = libm.a \
+ libc.a
endif
noinst_DATA = stmp-targ-include
@@ -109,7 +112,8 @@ LIBC_OBJECTLISTS = \
libc/errno/objectlist.awk.in \
libc/stdio/objectlist.awk.in \
$(MACHINE_OBJECTLIST) \
- $(SYS_OBJECTLIST)
+ $(SYS_OBJECTLIST) \
+ $(SYS_MACH_OBJECTLIST)
LIBM_OBJECTLISTS = \
libm/$(MATHDIR)/objectlist.awk.in \
@@ -188,6 +192,11 @@ stmp-targ-include: config.status
cp $$i targ-include/sys/`basename $$i`; \
else true; fi ; \
done
+ -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
+ if [ -f $$i ]; then \
+ cp $$i targ-include/machine/`basename $$i`; \
+ else true; fi ; \
+ done
touch $@
CLEANFILES = targ-include stmp-targ-include