From 59cacc8162df151f12590ea4918cccb624abc275 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 5 Sep 1998 03:58:56 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers): Don't add netinet/udp.h, netinet/ip_icmp.h here. * sysdeps/gnu/Makefile: Do it here instead. * sysdeps/unix/sysv/linux/Dist: Move those files from here ... * sysdeps/gnu/Dist: ... to here. --- ChangeLog | 6 ++++++ sysdeps/gnu/Dist | 3 +++ sysdeps/gnu/Makefile | 5 +++++ sysdeps/unix/sysv/linux/Dist | 3 --- sysdeps/unix/sysv/linux/Makefile | 5 ++--- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index f22c730..3d08e58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 1998-09-05 Roland McGrath + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers): + Don't add netinet/udp.h, netinet/ip_icmp.h here. + * sysdeps/gnu/Makefile: Do it here instead. + * sysdeps/unix/sysv/linux/Dist: Move those files from here ... + * sysdeps/gnu/Dist: ... to here. + * sysdeps/unix/sysv/linux/netinet/ip_icmp.h, sysdeps/unix/sysv/linux/netinet/tcp.h, sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet. diff --git a/sysdeps/gnu/Dist b/sysdeps/gnu/Dist index d20d528..afbfd72 100644 --- a/sysdeps/gnu/Dist +++ b/sysdeps/gnu/Dist @@ -1,3 +1,6 @@ errlist.awk utmpx.h bits/utmpx.h +netinet/tcp.h +netinet/udp.h +netinet/ip_icmp.h diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile index 77f0b23..48932c3 100644 --- a/sysdeps/gnu/Makefile +++ b/sysdeps/gnu/Makefile @@ -35,3 +35,8 @@ sysdep_routines += setutxent getutxent endutxent getutxid getutxline \ sysdep_headers += utmpx.h bits/utmpx.h endif + + +ifeq ($(subdir),inet) +sysdep_headers += netinet/udp.h netinet/ip_icmp.h +endif diff --git a/sysdeps/unix/sysv/linux/Dist b/sysdeps/unix/sysv/linux/Dist index e10e24a..e96ef14 100644 --- a/sysdeps/unix/sysv/linux/Dist +++ b/sysdeps/unix/sysv/linux/Dist @@ -33,10 +33,7 @@ netinet/if_tr.h netinet/igmp.h netinet/in_systm.h netinet/ip_fw.h -netinet/ip_icmp.h netpacket/packet.h -netinet/tcp.h -netinet/udp.h netipx/ipx.h netrom/netrom.h netrose/rose.h diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index dd8db41..13b1c1f 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -80,10 +80,9 @@ sysdep_headers += bits/pthreadtypes.h endif ifeq ($(subdir),inet) -sysdep_headers += netinet/in_systm.h netinet/udp.h \ +sysdep_headers += sys/socketvar.h netinet/in_systm.h netinet/ip_fw.h \ netinet/if_fddi.h netinet/if_tr.h netinet/igmp.h \ - netinet/ip_fw.h netinet/ip_icmp.h netipx/ipx.h \ - sys/socketvar.h netash/ash.h netax25/ax25.h netatalk/at.h \ + netipx/ipx.h netash/ash.h netax25/ax25.h netatalk/at.h \ netrom/netrom.h netpacket/packet.h netrose/rose.h endif -- 2.7.4