2006-01-31 Roland McGrath <roland@redhat.com>
[kopensolaris-gnu/glibc.git] / inet / Makefile
index be588d7..0fdf9e3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-1999,2000,01,02 Free Software Foundation, Inc.
+# Copyright (C) 1991-2002, 2003, 2004 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -22,7 +22,7 @@
 subdir := inet
 
 headers        := netinet/ether.h netinet/in.h netinet/in_systm.h \
-          netinet/if_ether.h \
+          netinet/if_ether.h netinet/igmp.h \
           netinet/tcp.h netinet/ip.h $(wildcard arpa/*.h protocols/*.h) \
           aliases.h ifaddrs.h netinet/ip6.h netinet/icmp6.h bits/in.h
 
@@ -30,7 +30,7 @@ distribute := netgroup.h
 
 routines := htonl htons                \
            inet_lnaof inet_mkadr       \
-           inet_netof inet_ntoa inet_net herrno \
+           inet_netof inet_ntoa inet_net herrno herrno-loc \
            gethstbyad gethstbyad_r gethstbynm gethstbynm2 gethstbynm2_r \
            gethstbynm_r gethstent gethstent_r \
            getnetbyad getnetbyad_r getnetbynm getnetent getnetent_r \
@@ -45,18 +45,46 @@ routines := htonl htons             \
            rcmd rexec ruserpass \
            getnetgrent_r getnetgrent \
            getaliasent_r getaliasent getaliasname getaliasname_r \
-           in6_addr getnameinfo if_index ifaddrs
+           in6_addr getnameinfo if_index ifaddrs inet6_option \
+           getipv4sourcefilter setipv4sourcefilter \
+           getsourcefilter setsourcefilter
+
+aux := check_pf ifreq
 
 tests := htontest test_ifindex tst-ntoa tst-ether_aton tst-network \
-        tst-gethnm test-ifaddrs
+        tst-gethnm test-ifaddrs bug-if1
 
 include ../Rules
 
 ifeq ($(have-thread-library),yes)
 
-CFLAGS-gethstbyad_r.c = -DUSE_NSCD=1
-CFLAGS-gethstbynm_r.c = -DUSE_NSCD=1
-CFLAGS-gethstbynm2_r.c = -DUSE_NSCD=1
+CFLAGS-gethstbyad_r.c = -DUSE_NSCD=1 -fexceptions
+CFLAGS-gethstbyad.c = -fexceptions
+CFLAGS-gethstbynm_r.c = -DUSE_NSCD=1 -fexceptions
+CFLAGS-gethstbynm.c = -fexceptions
+CFLAGS-gethstbynm2_r.c = -DUSE_NSCD=1 -fexceptions
+CFLAGS-gethstbynm2.c = -fexceptions
+CFLAGS-gethstent_r.c = -fexceptions
+CFLAGS-gethstent.c = -fexceptions
+CFLAGS-rcmd.c = -fexceptions
+CFLAGS-getnetbynm_r.c = -fexceptions
+CFLAGS-getnetbynm.c = -fexceptions
+CFLAGS-getnetbyad_r.c = -fexceptions
+CFLAGS-getnetbyad.c = -fexceptions
+CFLAGS-getnetent_r.c = -fexceptions
+CFLAGS-getnetent.c = -fexceptions
+CFLAGS-getaliasent_r.c = -fexceptions
+CFLAGS-getaliasent.c = -fexceptions
+CFLAGS-getrpcent_r.c = -fexceptions
+CFLAGS-getrpcent.c = -fexceptions
+CFLAGS-getservent_r.c = -fexceptions
+CFLAGS-getservent.c = -fexceptions
+CFLAGS-getprtent_r.c = -fexceptions
+CFLAGS-getprtent.c = -fexceptions
+CFLAGS-either_ntoh.c = -fexceptions
+CFLAGS-either_hton.c = -fexceptions
+CFLAGS-getnetgrent.c = -fexceptions
+CFLAGS-getnetgrent_r.c = -fexceptions
 
 endif