Update.
[glibc.git] / inet / Makefile
blob18a990ef713bae7c2934bb29304a5324d47a5ec9
1 # Copyright (C) 1991, 92, 93, 94, 95, 96, 97 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 Library General Public License as
6 # published by the Free Software Foundation; either version 2 of the
7 # 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 # Library General Public License for more details.
14 # You should have received a copy of the GNU Library General Public
15 # License along with the GNU C Library; see the file COPYING.LIB. If not,
16 # write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 # Boston, MA 02111-1307, USA.
20 # Sub-makefile for inet portion of the library.
22 subdir := inet
24 headers := netinet/ether.h netinet/in.h netinet/if_ether.h \
25 netinet/tcp.h netinet/ip.h $(wildcard arpa/*.h protocols/*.h) \
26 aliases.h netinet/ip6.h netinet/icmp6.h bits/in.h
28 distribute := netgroup.h
30 routines := htonl htons \
31 inet_lnaof inet_mkadr \
32 inet_netof inet_ntoa inet_net herrno \
33 gethstbyad gethstbyad_r gethstbynm gethstbynm2 gethstbynm2_r \
34 gethstbynm_r gethstent gethstent_r \
35 getnetbyad getnetbyad_r getnetbynm getnetent getnetent_r \
36 getnetbynm_r \
37 getproto getproto_r getprtent getprtent_r getprtname getprtname_r \
38 getsrvbynm getsrvbynm_r getsrvbypt getsrvbypt_r getservent \
39 getservent_r \
40 getrpcent getrpcbyname getrpcbynumber \
41 getrpcent_r getrpcbyname_r getrpcbynumber_r \
42 ether_aton ether_aton_r ether_hton ether_line \
43 ether_ntoa ether_ntoa_r ether_ntoh \
44 rcmd rexec ruserpass \
45 getnetgrent_r getnetgrent \
46 getaliasent_r getaliasent getaliasname getaliasname_r \
47 in6_addr getnameinfo if_index
49 tests := htontest test_ifindex tst-ntoa
51 # No warnings about losing BSD code.
52 CFLAGS-rcmd.c = -w
53 CFLAGS-rexec.c = -w
54 CFLAGS-ruserpass.c = -w
56 include ../Rules