summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-12-23 18:18:56 +1100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-25 08:45:26 +0100
commit2afb22b7e1ebcbe40373ff7e0efae7d207c655a9 (patch)
tree44759efe9374f13200a97e96d91bd9a2b7e5ce2a /cpukit/libnetworking
parentMAINTAINERS: Add myself to Write After Approval. (diff)
downloadrtems-2afb22b7e1ebcbe40373ff7e0efae7d207c655a9.tar.bz2
Remove make preinstall
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/Makefile.am124
-rw-r--r--cpukit/libnetworking/headers.am131
-rw-r--r--cpukit/libnetworking/preinstall.am424
-rw-r--r--cpukit/libnetworking/sys/poll.h104
4 files changed, 132 insertions, 651 deletions
diff --git a/cpukit/libnetworking/Makefile.am b/cpukit/libnetworking/Makefile.am
index d6c8af89dd..7ff7057457 100644
--- a/cpukit/libnetworking/Makefile.am
+++ b/cpukit/libnetworking/Makefile.am
@@ -1,8 +1,6 @@
include $(top_srcdir)/automake/multilib.am
include $(top_srcdir)/automake/compile.am
-AM_CPPFLAGS += -I$(srcdir)
-
EXTRA_DIST = README
EXTRA_DIST += rtems/bootp.h
@@ -22,8 +20,6 @@ libnetworking_a_CPPFLAGS = $(AM_CPPFLAGS) $(libnetworking_CPPFLAGS)
## poll.h is not in the list because RTEMS does not have poll()
## and installing poll.h confuses autoconf.
-include_HEADERS = resolv.h
-
libnetworking_a_SOURCES = opt_atalk.h opt_bdg.h opt_compat.h opt_inet6.h \
opt_inet.h opt_ipfw.h opt_ipx.h opt_mac.h opt_mrouting.h opt_netgraph.h \
opt_tcpdebug.h opt_ipsec.h loop.h
@@ -32,12 +28,6 @@ libnetworking_a_SOURCES += bpfilter.h
# arpa
-include_arpadir = $(includedir)/arpa
-
-include_arpa_HEADERS = arpa/ftp.h
-include_arpa_HEADERS += arpa/nameser.h
-include_arpa_HEADERS += arpa/nameser_compat.h
-
## kern
libnetworking_a_SOURCES += kern/kern_mib.c kern/kern_subr.c \
@@ -46,68 +36,16 @@ libnetworking_a_SOURCES += kern/kern_mib.c kern/kern_subr.c \
## machine
-include_machinedir = $(includedir)/machine
-
-include_machine_HEADERS = machine/_align.h
-include_machine_HEADERS += machine/cpu.h
-include_machine_HEADERS += machine/cpufunc.h
-include_machine_HEADERS += machine/in_cksum.h
-include_machine_HEADERS += machine/_kernel_lock.h
-include_machine_HEADERS += machine/vmparam.h
-
libnetworking_a_SOURCES += machine/limits.h
## net
-include_netdir = $(includedir)/net
-
-include_net_HEADERS = net/bpf.h
-include_net_HEADERS += net/ethernet.h
-include_net_HEADERS += net/if_arp.h
-include_net_HEADERS += net/if_dl.h
-include_net_HEADERS += net/if_llc.h
-include_net_HEADERS += net/if_ppp.h
-include_net_HEADERS += net/if_types.h
-include_net_HEADERS += net/if_var.h
-include_net_HEADERS += net/netisr.h
-include_net_HEADERS += net/ppp_defs.h
-include_net_HEADERS += net/radix.h
-include_net_HEADERS += net/raw_cb.h
-include_net_HEADERS += net/route.h
-include_net_HEADERS += net/if_pppvar.h
-include_net_HEADERS += net/slcompress.h
-include_net_HEADERS += net/if_media.h
-include_net_HEADERS += net/ppp_comp.h
-
libnetworking_a_SOURCES += net/if.c net/if_ethersubr.c net/if_loop.c \
net/radix.c net/route.c net/rtsock.c net/raw_cb.c net/raw_usrreq.c \
net/if_ppp.c net/ppp_tty.c net/slcompress.c
## netinet
-include_netinetdir = $(includedir)/netinet
-
-include_netinet_HEADERS = netinet/icmp_var.h
-include_netinet_HEADERS += netinet/if_ether.h
-include_netinet_HEADERS += netinet/igmp.h
-include_netinet_HEADERS += netinet/igmp_var.h
-include_netinet_HEADERS += netinet/in_pcb.h
-include_netinet_HEADERS += netinet/in_systm.h
-include_netinet_HEADERS += netinet/in_var.h
-include_netinet_HEADERS += netinet/ip.h
-include_netinet_HEADERS += netinet/ip_fw.h
-include_netinet_HEADERS += netinet/ip_icmp.h
-include_netinet_HEADERS += netinet/ip_mroute.h
-include_netinet_HEADERS += netinet/ip_var.h
-include_netinet_HEADERS += netinet/tcp_debug.h
-include_netinet_HEADERS += netinet/tcp_fsm.h
-include_netinet_HEADERS += netinet/tcp_seq.h
-include_netinet_HEADERS += netinet/tcp_timer.h
-include_netinet_HEADERS += netinet/tcp_var.h
-include_netinet_HEADERS += netinet/tcpip.h
-include_netinet_HEADERS += netinet/udp.h
-include_netinet_HEADERS += netinet/udp_var.h
-
libnetworking_a_SOURCES += netinet/if_ether.c netinet/igmp.c netinet/in.c \
netinet/in_cksum.c netinet/in_pcb.c netinet/in_proto.c netinet/in_rmx.c \
netinet/ip_divert.c netinet/ip_fw.c netinet/ip_icmp.c netinet/ip_input.c \
@@ -119,40 +57,14 @@ libnetworking_a_SOURCES += netinet/if_ether.c netinet/igmp.c netinet/in.c \
## netinet6
-include_netinet6dir = $(includedir)/netinet6
-
## nfs
-include_nfsdir = $(includedir)/nfs
-
-include_nfs_HEADERS = nfs/nfsproto.h
-include_nfs_HEADERS += nfs/rpcv2.h
-include_nfs_HEADERS += nfs/xdr_subs.h
-
libnetworking_a_SOURCES += nfs/bootp_subr.c
## nfsclient
-include_nfsclientdir = $(includedir)/nfsclient
-
-include_nfsclient_HEADERS = nfsclient/nfsargs.h
-include_nfsclient_HEADERS += nfsclient/nfsdiskless.h
-
## rtems
-include_rtemsdir = $(includedir)/rtems
-
-include_rtems_HEADERS = rtems/rtems_bsdnet.h
-include_rtems_HEADERS += rtems/rtems_bsdnet_internal.h
-include_rtems_HEADERS += rtems/dhcp.h
-include_rtems_HEADERS += rtems/rtems_dhcp_failsafe.h
-include_rtems_HEADERS += rtems/tftp.h
-include_rtems_HEADERS += rtems/ftpfs.h
-include_rtems_HEADERS += rtems/mkrootfs.h
-include_rtems_HEADERS += rtems/rtems_mii_ioctl.h
-include_rtems_HEADERS += rtems/rtems_netdb.h
-include_rtems_HEADERS += rtems/rtems_netinet_in.h
-
libnetworking_a_SOURCES += rtems/sghostname.c \
rtems/rtems_glue.c rtems/rtems_malloc_mbuf.c rtems/rtems_syscall.c \
rtems/rtems_bootp.c rtems/rtems_dhcp.c rtems/rtems_dhcp_failsafe.c \
@@ -165,41 +77,9 @@ libnetworking_a_SOURCES += rtems/sghostname.c \
## sys
-include_sysdir = $(includedir)/sys
-
-include_sys_HEADERS = sys/callout.h
-include_sys_HEADERS += sys/conf.h
-include_sys_HEADERS += sys/domain.h
-include_sys_HEADERS += sys/kernel.h
-include_sys_HEADERS += sys/libkern.h
-include_sys_HEADERS += sys/linker_set.h
-include_sys_HEADERS += sys/malloc.h
-include_sys_HEADERS += sys/mbuf.h
-include_sys_HEADERS += sys/mount.h
-include_sys_HEADERS += sys/proc.h
-include_sys_HEADERS += sys/protosw.h
-include_sys_HEADERS += sys/reboot.h
-include_sys_HEADERS += sys/resourcevar.h
-include_sys_HEADERS += sys/selinfo.h
-include_sys_HEADERS += sys/signalvar.h
-include_sys_HEADERS += sys/socketvar.h
-include_sys_HEADERS += sys/sysctl.h
-include_sys_HEADERS += sys/systm.h
-include_sys_HEADERS += sys/ucred.h
-
# vm
-include_vmdir = $(includedir)/vm
-
-include_vm_HEADERS = vm/vm.h
-include_vm_HEADERS += vm/vm_extern.h
-include_vm_HEADERS += vm/vm_kern.h
-include_vm_HEADERS += vm/vm_param.h
-
# dev
-include_dev_miidir = $(includedir)/dev/mii
-include_dev_mii_HEADERS = dev/mii/mii.h
-
## libc
libc_CPPFLAGS = -DNOPOLL -DNOSELECT -D__BSD_VISIBLE -D_THREAD_SAFE
@@ -207,8 +87,6 @@ libc_CPPFLAGS = -DNOPOLL -DNOSELECT -D__BSD_VISIBLE -D_THREAD_SAFE
noinst_LIBRARIES += libc.a
libc_a_CPPFLAGS = $(AM_CPPFLAGS) $(libc_CPPFLAGS)
-include_HEADERS += ifaddrs.h
-
libc_a_SOURCES = libc/base64.c \
libc/gethostbydns.c libc/gethostbyht.c libc/gethostbynis.c \
libc/gethostnamadr.c libc/getnetbydns.c libc/getnetbyht.c \
@@ -259,5 +137,5 @@ endif
EXTRA_DIST += $(UNUSED_FILES)
-include $(srcdir)/preinstall.am
include $(top_srcdir)/automake/local.am
+include $(srcdir)/headers.am
diff --git a/cpukit/libnetworking/headers.am b/cpukit/libnetworking/headers.am
new file mode 100644
index 0000000000..62e9e27a8b
--- /dev/null
+++ b/cpukit/libnetworking/headers.am
@@ -0,0 +1,131 @@
+## In contrast to the other headers.am files, this file must be maintained by
+## hand.
+
+include_HEADERS =
+include_HEADERS += ifaddrs.h
+include_HEADERS += loop.h
+include_HEADERS += poll.h
+include_HEADERS += resolv.h
+
+include_arpadir = $(includedir)/arpa
+include_arpa_HEADERS =
+include_arpa_HEADERS += arpa/ftp.h
+include_arpa_HEADERS += arpa/nameser.h
+include_arpa_HEADERS += arpa/nameser_compat.h
+
+include_dev_miidir = $(includedir)/dev/mii
+include_dev_mii_HEADERS =
+include_dev_mii_HEADERS += dev/mii/mii.h
+
+include_machinedir = $(includedir)/machine
+include_machine_HEADERS =
+include_machine_HEADERS += machine/_align.h
+include_machine_HEADERS += machine/_kernel_lock.h
+include_machine_HEADERS += machine/cpu.h
+include_machine_HEADERS += machine/cpufunc.h
+include_machine_HEADERS += machine/in_cksum.h
+include_machine_HEADERS += machine/limits.h
+include_machine_HEADERS += machine/vmparam.h
+
+include_netdir = $(includedir)/net
+include_net_HEADERS =
+include_net_HEADERS += net/bpf.h
+include_net_HEADERS += net/ethernet.h
+include_net_HEADERS += net/if_arp.h
+include_net_HEADERS += net/if_dl.h
+include_net_HEADERS += net/if_llc.h
+include_net_HEADERS += net/if_media.h
+include_net_HEADERS += net/if_ppp.h
+include_net_HEADERS += net/if_pppvar.h
+include_net_HEADERS += net/if_types.h
+include_net_HEADERS += net/if_var.h
+include_net_HEADERS += net/netisr.h
+include_net_HEADERS += net/ppp_comp.h
+include_net_HEADERS += net/ppp_defs.h
+include_net_HEADERS += net/radix.h
+include_net_HEADERS += net/raw_cb.h
+include_net_HEADERS += net/route.h
+include_net_HEADERS += net/slcompress.h
+
+include_netinetdir = $(includedir)/netinet
+include_netinet_HEADERS =
+include_netinet_HEADERS += netinet/icmp_var.h
+include_netinet_HEADERS += netinet/if_ether.h
+include_netinet_HEADERS += netinet/igmp.h
+include_netinet_HEADERS += netinet/igmp_var.h
+include_netinet_HEADERS += netinet/in_pcb.h
+include_netinet_HEADERS += netinet/in_systm.h
+include_netinet_HEADERS += netinet/in_var.h
+include_netinet_HEADERS += netinet/ip.h
+include_netinet_HEADERS += netinet/ip_fw.h
+include_netinet_HEADERS += netinet/ip_icmp.h
+include_netinet_HEADERS += netinet/ip_mroute.h
+include_netinet_HEADERS += netinet/ip_var.h
+include_netinet_HEADERS += netinet/tcp_debug.h
+include_netinet_HEADERS += netinet/tcp_fsm.h
+include_netinet_HEADERS += netinet/tcp_seq.h
+include_netinet_HEADERS += netinet/tcp_timer.h
+include_netinet_HEADERS += netinet/tcp_var.h
+include_netinet_HEADERS += netinet/tcpip.h
+include_netinet_HEADERS += netinet/udp.h
+include_netinet_HEADERS += netinet/udp_var.h
+
+include_nfsdir = $(includedir)/nfs
+include_nfs_HEADERS =
+include_nfs_HEADERS += nfs/nfsproto.h
+include_nfs_HEADERS += nfs/rpcv2.h
+include_nfs_HEADERS += nfs/xdr_subs.h
+
+include_nfsclientdir = $(includedir)/nfsclient
+include_nfsclient_HEADERS =
+include_nfsclient_HEADERS += nfsclient/nfsargs.h
+include_nfsclient_HEADERS += nfsclient/nfsdiskless.h
+
+include_rtemsdir = $(includedir)/rtems
+include_rtems_HEADERS =
+include_rtems_HEADERS += rtems/bootp.h
+include_rtems_HEADERS += rtems/dhcp.h
+include_rtems_HEADERS += rtems/ftpfs.h
+include_rtems_HEADERS += rtems/mkrootfs.h
+include_rtems_HEADERS += rtems/rtems_bsdnet.h
+include_rtems_HEADERS += rtems/rtems_bsdnet_internal.h
+include_rtems_HEADERS += rtems/rtems_dhcp_failsafe.h
+include_rtems_HEADERS += rtems/rtems_mii_ioctl.h
+include_rtems_HEADERS += rtems/rtems_netdb.h
+include_rtems_HEADERS += rtems/rtems_netinet_in.h
+include_rtems_HEADERS += rtems/rtems_syscall.h
+include_rtems_HEADERS += rtems/tftp.h
+
+include_rtems_bsdnetdir = $(includedir)/rtems/bsdnet
+include_rtems_bsdnet_HEADERS =
+include_rtems_bsdnet_HEADERS += rtems/bsdnet/_types.h
+include_rtems_bsdnet_HEADERS += rtems/bsdnet/servers.h
+
+include_sysdir = $(includedir)/sys
+include_sys_HEADERS =
+include_sys_HEADERS += sys/callout.h
+include_sys_HEADERS += sys/conf.h
+include_sys_HEADERS += sys/domain.h
+include_sys_HEADERS += sys/kernel.h
+include_sys_HEADERS += sys/libkern.h
+include_sys_HEADERS += sys/linker_set.h
+include_sys_HEADERS += sys/malloc.h
+include_sys_HEADERS += sys/mbuf.h
+include_sys_HEADERS += sys/mount.h
+include_sys_HEADERS += sys/proc.h
+include_sys_HEADERS += sys/protosw.h
+include_sys_HEADERS += sys/reboot.h
+include_sys_HEADERS += sys/resourcevar.h
+include_sys_HEADERS += sys/selinfo.h
+include_sys_HEADERS += sys/signalvar.h
+include_sys_HEADERS += sys/socketvar.h
+include_sys_HEADERS += sys/sysctl.h
+include_sys_HEADERS += sys/systm.h
+include_sys_HEADERS += sys/ucred.h
+
+include_vmdir = $(includedir)/vm
+include_vm_HEADERS =
+include_vm_HEADERS += vm/vm.h
+include_vm_HEADERS += vm/vm_extern.h
+include_vm_HEADERS += vm/vm_kern.h
+include_vm_HEADERS += vm/vm_param.h
diff --git a/cpukit/libnetworking/preinstall.am b/cpukit/libnetworking/preinstall.am
deleted file mode 100644
index 66d018304c..0000000000
--- a/cpukit/libnetworking/preinstall.am
+++ /dev/null
@@ -1,424 +0,0 @@
-## Automatically generated by ampolish3 - Do not edit
-
-if AMPOLISH3
-$(srcdir)/preinstall.am: Makefile.am
- $(AMPOLISH3) $(srcdir)/Makefile.am > $(srcdir)/preinstall.am
-endif
-
-PREINSTALL_DIRS =
-DISTCLEANFILES = $(PREINSTALL_DIRS)
-
-all-am: $(PREINSTALL_FILES)
-
-PREINSTALL_FILES =
-CLEANFILES = $(PREINSTALL_FILES)
-
-$(PROJECT_INCLUDE)/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)
- @: > $(PROJECT_INCLUDE)/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
-
-if LIBNETWORKING
-$(PROJECT_INCLUDE)/resolv.h: resolv.h $(PROJECT_INCLUDE)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/resolv.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/resolv.h
-
-$(PROJECT_INCLUDE)/arpa/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/arpa
- @: > $(PROJECT_INCLUDE)/arpa/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/arpa/$(dirstamp)
-
-$(PROJECT_INCLUDE)/arpa/ftp.h: arpa/ftp.h $(PROJECT_INCLUDE)/arpa/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/arpa/ftp.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/arpa/ftp.h
-
-$(PROJECT_INCLUDE)/arpa/nameser.h: arpa/nameser.h $(PROJECT_INCLUDE)/arpa/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/arpa/nameser.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/arpa/nameser.h
-
-$(PROJECT_INCLUDE)/arpa/nameser_compat.h: arpa/nameser_compat.h $(PROJECT_INCLUDE)/arpa/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/arpa/nameser_compat.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/arpa/nameser_compat.h
-
-$(PROJECT_INCLUDE)/machine/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/machine
- @: > $(PROJECT_INCLUDE)/machine/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/machine/$(dirstamp)
-
-$(PROJECT_INCLUDE)/machine/_align.h: machine/_align.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/_align.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/_align.h
-
-$(PROJECT_INCLUDE)/machine/cpu.h: machine/cpu.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/cpu.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/cpu.h
-
-$(PROJECT_INCLUDE)/machine/cpufunc.h: machine/cpufunc.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/cpufunc.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/cpufunc.h
-
-$(PROJECT_INCLUDE)/machine/in_cksum.h: machine/in_cksum.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/in_cksum.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/in_cksum.h
-
-$(PROJECT_INCLUDE)/machine/_kernel_lock.h: machine/_kernel_lock.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/_kernel_lock.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/_kernel_lock.h
-
-$(PROJECT_INCLUDE)/machine/vmparam.h: machine/vmparam.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/vmparam.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/vmparam.h
-
-$(PROJECT_INCLUDE)/net/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/net
- @: > $(PROJECT_INCLUDE)/net/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/net/$(dirstamp)
-
-$(PROJECT_INCLUDE)/net/bpf.h: net/bpf.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/bpf.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/bpf.h
-
-$(PROJECT_INCLUDE)/net/ethernet.h: net/ethernet.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/ethernet.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/ethernet.h
-
-$(PROJECT_INCLUDE)/net/if_arp.h: net/if_arp.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_arp.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_arp.h
-
-$(PROJECT_INCLUDE)/net/if_dl.h: net/if_dl.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_dl.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_dl.h
-
-$(PROJECT_INCLUDE)/net/if_llc.h: net/if_llc.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_llc.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_llc.h
-
-$(PROJECT_INCLUDE)/net/if_ppp.h: net/if_ppp.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_ppp.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_ppp.h
-
-$(PROJECT_INCLUDE)/net/if_types.h: net/if_types.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_types.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_types.h
-
-$(PROJECT_INCLUDE)/net/if_var.h: net/if_var.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_var.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_var.h
-
-$(PROJECT_INCLUDE)/net/netisr.h: net/netisr.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/netisr.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/netisr.h
-
-$(PROJECT_INCLUDE)/net/ppp_defs.h: net/ppp_defs.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/ppp_defs.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/ppp_defs.h
-
-$(PROJECT_INCLUDE)/net/radix.h: net/radix.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/radix.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/radix.h
-
-$(PROJECT_INCLUDE)/net/raw_cb.h: net/raw_cb.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/raw_cb.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/raw_cb.h
-
-$(PROJECT_INCLUDE)/net/route.h: net/route.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/route.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/route.h
-
-$(PROJECT_INCLUDE)/net/if_pppvar.h: net/if_pppvar.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_pppvar.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_pppvar.h
-
-$(PROJECT_INCLUDE)/net/slcompress.h: net/slcompress.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/slcompress.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/slcompress.h
-
-$(PROJECT_INCLUDE)/net/if_media.h: net/if_media.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_media.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_media.h
-
-$(PROJECT_INCLUDE)/net/ppp_comp.h: net/ppp_comp.h $(PROJECT_INCLUDE)/net/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/ppp_comp.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/ppp_comp.h
-
-$(PROJECT_INCLUDE)/netinet/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/netinet
- @: > $(PROJECT_INCLUDE)/netinet/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/netinet/$(dirstamp)
-
-$(PROJECT_INCLUDE)/netinet/icmp_var.h: netinet/icmp_var.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/icmp_var.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/icmp_var.h
-
-$(PROJECT_INCLUDE)/netinet/if_ether.h: netinet/if_ether.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/if_ether.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/if_ether.h
-
-$(PROJECT_INCLUDE)/netinet/igmp.h: netinet/igmp.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/igmp.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/igmp.h
-
-$(PROJECT_INCLUDE)/netinet/igmp_var.h: netinet/igmp_var.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/igmp_var.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/igmp_var.h
-
-$(PROJECT_INCLUDE)/netinet/in_pcb.h: netinet/in_pcb.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/in_pcb.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/in_pcb.h
-
-$(PROJECT_INCLUDE)/netinet/in_systm.h: netinet/in_systm.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/in_systm.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/in_systm.h
-
-$(PROJECT_INCLUDE)/netinet/in_var.h: netinet/in_var.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/in_var.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/in_var.h
-
-$(PROJECT_INCLUDE)/netinet/ip.h: netinet/ip.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/ip.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/ip.h
-
-$(PROJECT_INCLUDE)/netinet/ip_fw.h: netinet/ip_fw.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/ip_fw.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/ip_fw.h
-
-$(PROJECT_INCLUDE)/netinet/ip_icmp.h: netinet/ip_icmp.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/ip_icmp.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/ip_icmp.h
-
-$(PROJECT_INCLUDE)/netinet/ip_mroute.h: netinet/ip_mroute.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/ip_mroute.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/ip_mroute.h
-
-$(PROJECT_INCLUDE)/netinet/ip_var.h: netinet/ip_var.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/ip_var.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/ip_var.h
-
-$(PROJECT_INCLUDE)/netinet/tcp_debug.h: netinet/tcp_debug.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/tcp_debug.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/tcp_debug.h
-
-$(PROJECT_INCLUDE)/netinet/tcp_fsm.h: netinet/tcp_fsm.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/tcp_fsm.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/tcp_fsm.h
-
-$(PROJECT_INCLUDE)/netinet/tcp_seq.h: netinet/tcp_seq.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/tcp_seq.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/tcp_seq.h
-
-$(PROJECT_INCLUDE)/netinet/tcp_timer.h: netinet/tcp_timer.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/tcp_timer.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/tcp_timer.h
-
-$(PROJECT_INCLUDE)/netinet/tcp_var.h: netinet/tcp_var.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/tcp_var.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/tcp_var.h
-
-$(PROJECT_INCLUDE)/netinet/tcpip.h: netinet/tcpip.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/tcpip.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/tcpip.h
-
-$(PROJECT_INCLUDE)/netinet/udp.h: netinet/udp.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/udp.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/udp.h
-
-$(PROJECT_INCLUDE)/netinet/udp_var.h: netinet/udp_var.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/udp_var.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/udp_var.h
-
-$(PROJECT_INCLUDE)/netinet6/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/netinet6
- @: > $(PROJECT_INCLUDE)/netinet6/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/netinet6/$(dirstamp)
-
-$(PROJECT_INCLUDE)/nfs/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/nfs
- @: > $(PROJECT_INCLUDE)/nfs/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/nfs/$(dirstamp)
-
-$(PROJECT_INCLUDE)/nfs/nfsproto.h: nfs/nfsproto.h $(PROJECT_INCLUDE)/nfs/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/nfs/nfsproto.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs/nfsproto.h
-
-$(PROJECT_INCLUDE)/nfs/rpcv2.h: nfs/rpcv2.h $(PROJECT_INCLUDE)/nfs/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/nfs/rpcv2.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs/rpcv2.h
-
-$(PROJECT_INCLUDE)/nfs/xdr_subs.h: nfs/xdr_subs.h $(PROJECT_INCLUDE)/nfs/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/nfs/xdr_subs.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs/xdr_subs.h
-
-$(PROJECT_INCLUDE)/nfsclient/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/nfsclient
- @: > $(PROJECT_INCLUDE)/nfsclient/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/nfsclient/$(dirstamp)
-
-$(PROJECT_INCLUDE)/nfsclient/nfsargs.h: nfsclient/nfsargs.h $(PROJECT_INCLUDE)/nfsclient/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/nfsclient/nfsargs.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfsclient/nfsargs.h
-
-$(PROJECT_INCLUDE)/nfsclient/nfsdiskless.h: nfsclient/nfsdiskless.h $(PROJECT_INCLUDE)/nfsclient/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/nfsclient/nfsdiskless.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfsclient/nfsdiskless.h
-
-$(PROJECT_INCLUDE)/rtems/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/rtems
- @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
-
-$(PROJECT_INCLUDE)/rtems/rtems_bsdnet.h: rtems/rtems_bsdnet.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems_bsdnet.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems_bsdnet.h
-
-$(PROJECT_INCLUDE)/rtems/rtems_bsdnet_internal.h: rtems/rtems_bsdnet_internal.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems_bsdnet_internal.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems_bsdnet_internal.h
-
-$(PROJECT_INCLUDE)/rtems/dhcp.h: rtems/dhcp.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/dhcp.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/dhcp.h
-
-$(PROJECT_INCLUDE)/rtems/rtems_dhcp_failsafe.h: rtems/rtems_dhcp_failsafe.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems_dhcp_failsafe.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems_dhcp_failsafe.h
-
-$(PROJECT_INCLUDE)/rtems/tftp.h: rtems/tftp.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/tftp.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/tftp.h
-
-$(PROJECT_INCLUDE)/rtems/ftpfs.h: rtems/ftpfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ftpfs.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ftpfs.h
-
-$(PROJECT_INCLUDE)/rtems/mkrootfs.h: rtems/mkrootfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mkrootfs.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mkrootfs.h
-
-$(PROJECT_INCLUDE)/rtems/rtems_mii_ioctl.h: rtems/rtems_mii_ioctl.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems_mii_ioctl.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems_mii_ioctl.h
-
-$(PROJECT_INCLUDE)/rtems/rtems_netdb.h: rtems/rtems_netdb.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems_netdb.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems_netdb.h
-
-$(PROJECT_INCLUDE)/rtems/rtems_netinet_in.h: rtems/rtems_netinet_in.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems_netinet_in.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems_netinet_in.h
-
-$(PROJECT_INCLUDE)/sys/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/sys
- @: > $(PROJECT_INCLUDE)/sys/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/sys/$(dirstamp)
-
-$(PROJECT_INCLUDE)/sys/callout.h: sys/callout.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/callout.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/callout.h
-
-$(PROJECT_INCLUDE)/sys/conf.h: sys/conf.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/conf.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/conf.h
-
-$(PROJECT_INCLUDE)/sys/domain.h: sys/domain.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/domain.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/domain.h
-
-$(PROJECT_INCLUDE)/sys/kernel.h: sys/kernel.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/kernel.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/kernel.h
-
-$(PROJECT_INCLUDE)/sys/libkern.h: sys/libkern.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/libkern.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/libkern.h
-
-$(PROJECT_INCLUDE)/sys/linker_set.h: sys/linker_set.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/linker_set.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/linker_set.h
-
-$(PROJECT_INCLUDE)/sys/malloc.h: sys/malloc.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/malloc.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/malloc.h
-
-$(PROJECT_INCLUDE)/sys/mbuf.h: sys/mbuf.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/mbuf.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/mbuf.h
-
-$(PROJECT_INCLUDE)/sys/mount.h: sys/mount.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/mount.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/mount.h
-
-$(PROJECT_INCLUDE)/sys/proc.h: sys/proc.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/proc.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/proc.h
-
-$(PROJECT_INCLUDE)/sys/protosw.h: sys/protosw.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/protosw.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/protosw.h
-
-$(PROJECT_INCLUDE)/sys/reboot.h: sys/reboot.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/reboot.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/reboot.h
-
-$(PROJECT_INCLUDE)/sys/resourcevar.h: sys/resourcevar.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/resourcevar.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/resourcevar.h
-
-$(PROJECT_INCLUDE)/sys/selinfo.h: sys/selinfo.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/selinfo.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/selinfo.h
-
-$(PROJECT_INCLUDE)/sys/signalvar.h: sys/signalvar.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/signalvar.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/signalvar.h
-
-$(PROJECT_INCLUDE)/sys/socketvar.h: sys/socketvar.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/socketvar.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/socketvar.h
-
-$(PROJECT_INCLUDE)/sys/sysctl.h: sys/sysctl.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/sysctl.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/sysctl.h
-
-$(PROJECT_INCLUDE)/sys/systm.h: sys/systm.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/systm.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/systm.h
-
-$(PROJECT_INCLUDE)/sys/ucred.h: sys/ucred.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/ucred.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/ucred.h
-
-$(PROJECT_INCLUDE)/vm/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/vm
- @: > $(PROJECT_INCLUDE)/vm/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/vm/$(dirstamp)
-
-$(PROJECT_INCLUDE)/vm/vm.h: vm/vm.h $(PROJECT_INCLUDE)/vm/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vm/vm.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/vm/vm.h
-
-$(PROJECT_INCLUDE)/vm/vm_extern.h: vm/vm_extern.h $(PROJECT_INCLUDE)/vm/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vm/vm_extern.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/vm/vm_extern.h
-
-$(PROJECT_INCLUDE)/vm/vm_kern.h: vm/vm_kern.h $(PROJECT_INCLUDE)/vm/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vm/vm_kern.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/vm/vm_kern.h
-
-$(PROJECT_INCLUDE)/vm/vm_param.h: vm/vm_param.h $(PROJECT_INCLUDE)/vm/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vm/vm_param.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/vm/vm_param.h
-
-$(PROJECT_INCLUDE)/dev/mii/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/dev/mii
- @: > $(PROJECT_INCLUDE)/dev/mii/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/dev/mii/$(dirstamp)
-
-$(PROJECT_INCLUDE)/dev/mii/mii.h: dev/mii/mii.h $(PROJECT_INCLUDE)/dev/mii/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/dev/mii/mii.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/dev/mii/mii.h
-
-$(PROJECT_INCLUDE)/ifaddrs.h: ifaddrs.h $(PROJECT_INCLUDE)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ifaddrs.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/ifaddrs.h
-endif
diff --git a/cpukit/libnetworking/sys/poll.h b/cpukit/libnetworking/sys/poll.h
deleted file mode 100644
index 9ea42b9ddf..0000000000
--- a/cpukit/libnetworking/sys/poll.h
+++ /dev/null
@@ -1,104 +0,0 @@
-/*-
- * Copyright (c) 1997 Peter Wemm <peter@freebsd.org>
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * $FreeBSD: src/sys/sys/poll.h,v 1.13 2002/07/10 04:47:25 mike Exp $
- */
-
-#ifndef _SYS_POLL_H_
-#define _SYS_POLL_H_
-
-#include <sys/cdefs.h>
-
-/*
- * This file is intended to be compatible with the traditional poll.h.
- */
-
-typedef unsigned int nfds_t;
-
-/*
- * This structure is passed as an array to poll(2).
- */
-struct pollfd {
- int fd; /* which file descriptor to poll */
- short events; /* events we are interested in */
- short revents; /* events found on return */
-};
-
-/*
- * Requestable events. If poll(2) finds any of these set, they are
- * copied to revents on return.
- * XXX Note that FreeBSD doesn't make much distinction between POLLPRI
- * and POLLRDBAND since none of the file types have distinct priority
- * bands - and only some have an urgent "mode".
- * XXX Note POLLIN isn't really supported in true SVSV terms. Under SYSV
- * POLLIN includes all of normal, band and urgent data. Most poll handlers
- * on FreeBSD only treat it as "normal" data.
- */
-#define POLLIN 0x0001 /* any readable data available */
-#define POLLPRI 0x0002 /* OOB/Urgent readable data */
-#define POLLOUT 0x0004 /* file descriptor is writeable */
-#define POLLRDNORM 0x0040 /* non-OOB/URG data available */
-#define POLLWRNORM POLLOUT /* no write type differentiation */
-#define POLLRDBAND 0x0080 /* OOB/Urgent readable data */
-#define POLLWRBAND 0x0100 /* OOB/Urgent data can be written */
-
-#if __BSD_VISIBLE
-/* General FreeBSD extension (currently only supported for sockets): */
-#define POLLINIGNEOF 0x2000 /* like POLLIN, except ignore EOF */
-#endif
-
-/*
- * These events are set if they occur regardless of whether they were
- * requested.
- */
-#define POLLERR 0x0008 /* some poll error occurred */
-#define POLLHUP 0x0010 /* file descriptor was "hung up" */
-#define POLLNVAL 0x0020 /* requested events "invalid" */
-
-#if __BSD_VISIBLE
-
-#define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
- POLLWRBAND|POLLERR|POLLHUP|POLLNVAL)
-
-/*
- * Request that poll() wait forever.
- * XXX in SYSV, this is defined in stropts.h, which is not included
- * by poll.h.
- */
-#define INFTIM (-1)
-
-#endif
-
-#ifndef _KERNEL
-
-__BEGIN_DECLS
-int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout);
-__END_DECLS
-
-#endif /* !_KERNEL */
-
-#endif /* !_SYS_POLL_H_ */