about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-02-13 11:07:05 +0000
committerRoland McGrath <roland@gnu.org>1996-02-13 11:07:05 +0000
commit2a072de4a1b78ae6e7cfe7d6be4cd837f3cafaf5 (patch)
tree068c2612fa620e39dc67496386861e385f1643a8 /sysdeps/unix/sysv/linux/Makefile
parent363113d02a48598cf903c5b5409f71fe2a16ba13 (diff)
downloadglibc-2a072de4a1b78ae6e7cfe7d6be4cd837f3cafaf5.tar.gz
glibc-2a072de4a1b78ae6e7cfe7d6be4cd837f3cafaf5.tar.xz
glibc-2a072de4a1b78ae6e7cfe7d6be4cd837f3cafaf5.zip
Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
	* 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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile18
1 files changed, 12 insertions, 6 deletions
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)