* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Save
[glibc.git] / sysdeps / unix / sysv / Makefile
blob10f3e792ffb27705109f29855f6de8f2a97027e7
1 # Copyright (C) 1992, 1993, 1994, 1996, 1997 Free Software Foundation, Inc.
2 # This file is part of the GNU C Library.
4 # The GNU C Library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
9 # The GNU C Library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with the GNU C Library; if not, write to the Free
16 # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
17 # 02111-1307 USA.
19 ifeq ($(subdir),termios)
21 ifeq (,$(filter termio.h,$(sysdep_headers)))
23 sysdep_headers := $(sysdep_headers) termio.h
24 generated := $(generated) termio.h
26 # termio.h is just like sysv_termio.h except it uses the same names for
27 # everything that System V termio does. sysv_termio.h is necessary to
28 # include in __tcgetatr.c et al, because some of the names in termio.h
29 # conflict with termios.h. The C library doesn't actually use termio.h,
30 # but we generate it for those application programs which use it.
31 $(objpfx)termio.h: $(..)sysdeps/unix/sysv/sysv_termio.h
32 sed < $< > $@-tmp \
33 -e 's/_SYSV_//' \
34 -e 's/^#define[ ]*_T/#define T/'\
35 -e 's/__sysv_termio/termio/'
36 mv $@-tmp $@
38 endif
39 endif
41 # In SYSV style archives the symbol table member has an empty name.
42 ar-symtab-name =