mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-21 02:10:05 +00:00
dfe1754a55
time/africa, time/asia, time/australasia, time/europe, time/northamerica, time/southamerica: Updated from ADO 96h. * Make-dist (all-headers): Filter $(sysdep_headers) out of $(headers). (try-sysdeps, +sysdep-names): Check sysdeps/libm-ieee754 too. * Makerules (distinfo-vars): Add sysdep_headers. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Append to this instead of $(headers). * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. * Make-dist [subdirs-dirs]: Don't prefix $(subdir-dirs) with $(subdir); we are already there. * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: Removed.
67 lines
1.8 KiB
Makefile
67 lines
1.8 KiB
Makefile
ifeq ($(subdir), math)
|
|
sysdep_routines += setfpucw
|
|
extra-objs += ieee-fpucw.o
|
|
sysdep_headers += fpu_control.h
|
|
install-lib += libieee.a
|
|
non-lib.a += 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 += mount umount xmknod s_ptrace s_sysctl sysctl llseek \
|
|
setfsgid setfsuid sysinfo uselib s_reboot
|
|
|
|
sysdep_headers += sys/mount.h sys/sysinfo.h sys/acct.h sys/sysctl.h sys/module.h \
|
|
sys/io.h sys/klog.h sys/kdaemon.h
|
|
|
|
install-others += $(includedir)/sys/syscall.h
|
|
|
|
$(includedir)/sys/syscall.h::
|
|
@rm -f $(objpfx)syscall.h $(objpfx)syscall.sed
|
|
@(os=`uname -sr`; \
|
|
echo -e '1i\\\n#ifndef _SYS_SYSCALL_H\\'; \
|
|
echo -e '#define _SYS_SYSCALL_H\t1\\\n\\'; \
|
|
echo -e -n '/* This file is automatically generated as part of '; \
|
|
echo -e 'GNU libc-$(version)\\'; \
|
|
echo -e " on a system running $$os. */\\"; echo; \
|
|
echo -e -n 's/#define __NR_\\([A-Za-z0-9_]*\\)[ \t]*__NR_\\(.*\\)/';\
|
|
echo -e '#define SYS_\\1 SYS_\\2/p'; \
|
|
echo -e -n 's/#define __NR_\\([A-Za-z0-9_]*\\)[ \t]*\\(.*\\)/';\
|
|
echo -e '#define SYS_\\1 \\2/p'; \
|
|
echo -e '$$i\\\n\\\n#endif\t/* sys/syscall.h */\nd') \
|
|
> $(objpfx)syscall.sed
|
|
set -- `echo '#include <asm/unistd.h>'|$(CC) -M -E -`; \
|
|
sed -f $(objpfx)syscall.sed $$2 > $(objpfx)syscall.h
|
|
$(INSTALL_DATA) $(objpfx)syscall.h $@
|
|
rm -f $(objpfx)syscall.h $(objpfx)syscall.sed
|
|
endif
|
|
|
|
ifeq ($(subdir), time)
|
|
sysdep_routines += adjtimex
|
|
sysdep_headers += sys/timex.h
|
|
endif
|
|
|
|
ifeq ($(subdir), socket)
|
|
sysdep_headers += sys/socketcall.h net/if.h
|
|
endif
|
|
|
|
ifeq ($(subdir), sunrpc)
|
|
sysdep_headers += nfs/nfs.h
|
|
endif
|
|
|
|
ifeq ($(subdir), termios)
|
|
sysdep_headers += termio.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
|