Replace FSF snail mail address with URLs.
[glibc.git] / sysdeps / unix / sysv / Makefile
blob34a2d88a86a349d9fc4b4819da85acdc2c5375c4
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, see
16 # <http://www.gnu.org/licenses/>.
18 ifeq ($(subdir),termios)
20 ifeq (,$(filter termio.h,$(sysdep_headers)))
22 sysdep_headers := $(sysdep_headers) termio.h
23 generated := $(generated) termio.h
25 # termio.h is just like sysv_termio.h except it uses the same names for
26 # everything that System V termio does. sysv_termio.h is necessary to
27 # include in __tcgetatr.c et al, because some of the names in termio.h
28 # conflict with termios.h. The C library doesn't actually use termio.h,
29 # but we generate it for those application programs which use it.
30 $(objpfx)termio.h: $(..)sysdeps/unix/sysv/sysv_termio.h
31 sed < $< > $@-tmp \
32 -e 's/_SYSV_//' \
33 -e 's/^#define[ ]*_T/#define T/'\
34 -e 's/__sysv_termio/termio/'
35 mv $@-tmp $@
37 endif
38 endif
40 # In SYSV style archives the symbol table member has an empty name.
41 ar-symtab-name =