mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-21 02:10:05 +00:00
2a072de4a1
* 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.
42 lines
724 B
Makefile
42 lines
724 B
Makefile
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
|
|
|
|
ifeq ($(subdir), misc)
|
|
sysdep_routines += xmknod mount umount s_ptrace
|
|
headers += sys/mount.h
|
|
endif
|
|
|
|
ifeq ($(subdir), time)
|
|
sysdep_routines += adjtimex
|
|
headers += sys/timex.h
|
|
endif
|
|
|
|
ifeq ($(subdir), sysvipc)
|
|
sysdep_routines += ipc
|
|
endif
|
|
|
|
ifeq ($(subdir), socket)
|
|
headers += sys/socketcall.h
|
|
endif
|
|
|
|
ifeq ($(subdir), sunrpc)
|
|
headers += nfs/nfs.h
|
|
endif
|
|
|
|
rtld-installed-name = ld-gnu.so.1
|
|
|
|
# Don't compile the ctype glue code, since there is no old non-GNU C library.
|
|
inhibit-glue = yes
|
|
|