From 2a072de4a1b78ae6e7cfe7d6be4cd837f3cafaf5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 13 Feb 1996 11:07:05 +0000 Subject: Tue Feb 13 05:12:02 1996 Roland McGrath * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math] (sysdep_routines): Append setfpucw. (extra-objs): Append ieee-fpucw.o. (install-lib): Append libieee.a. (libieee.a): New target. * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file. * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): New macros. (fpu_control_t): New typedef. (__setfpucw): Use fpu_control_t for argument type. * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386. * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386. * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math] (sysdep_routines): Append setfpucw. (extra-objs): Append ieee-fpucw.o. (install-lib): Append libieee.a. (libieee.a): New target. * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file. * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): New macros. (fpu_control_t): New typedef. (__setfpucw): Use fpu_control_t for argument type. * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386. * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386. --- sysdeps/unix/sysv/linux/Makefile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'sysdeps/unix/sysv/linux/Makefile') diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index 8c6c6b553b..c96d0827e3 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -1,3 +1,13 @@ +ifeq ($(subdir), math) +sysdep_routines += setfpucw +extra-objs += ieee-fpucw.o +install-lib += libieee.a + +$(objpfx)libieee.a: $(objpfx)ieee-fpucw.o + rm -f $@ + ln $< $@ +endif + ifeq ($(subdir), io) sysdep_routines += fxstat lxstat xstat endif @@ -7,17 +17,13 @@ sysdep_routines += xmknod mount umount s_ptrace headers += sys/mount.h endif -#ifeq ($(subdir), posix) -#sysdep_routines := $(sysdep_routines) setpgrp -#endif - ifeq ($(subdir), time) -sysdep_routines := $(sysdep_routines) adjtimex +sysdep_routines += adjtimex headers += sys/timex.h endif ifeq ($(subdir), sysvipc) -sysdep_routines := $(sysdep_routines) ipc +sysdep_routines += ipc endif ifeq ($(subdir), socket) -- cgit v1.2.3