summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-09-26 17:48:09 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-09-26 17:48:09 +0000
commit082091495289101dd4da424fef283c311b1b39d3 (patch)
tree512cc9ef499b88a59ef0bd943f0d97e96b86927c /hurd
parent5686557215c7b4dd5f69a286f6b5aad98ebd28b1 (diff)
downloadglibc-082091495289101dd4da424fef283c311b1b39d3.tar.gz
glibc-082091495289101dd4da424fef283c311b1b39d3.tar.xz
glibc-082091495289101dd4da424fef283c311b1b39d3.zip
Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
	* hurd/Makefile (installed-sunrpc-headers): New variable.
	(sunrpc-headers): New variable.
	(install-headers-nosubir): Depend on $(installed-sunrpc-headers),
	not just <rpc/netdb.h>.
	($(installed-sunrpc-headers)): Provide rule for all of these.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/hurd/Makefile b/hurd/Makefile
index bb63065383..e046a7db26 100644
--- a/hurd/Makefile
+++ b/hurd/Makefile
@@ -68,12 +68,15 @@ distribute += hurdmalloc.h
 include ../mach/Machrules
 include ../Rules
 
-# XXX sunrpc doesn't build yet for Hurd, but one of its headers is
+# XXX sunrpc doesn't build yet for Hurd, but its headers are
 # crucial nontheless.  So sysdeps/mach/hurd/Makefile elides sunrpc
-# from $(subdirs), and this rule arranges for the header in question
+# from $(subdirs), and this rule arranges for the headers in question
 # to get installed.
-install-headers-nosubdir: $(includedir)/rpc/netdb.h
-$(includedir)/rpc/netdb.h: $(..)sunrpc/rpc/netdb.h
+sunrpc-headers = netdb.h pmap_prot.h xdr.h types.h auth.h \
+	rpc_msg.h auth_unix.h
+installed-sunrpc-headers = $(addprefix $(includedir)/rpc/,$(sunrpc-headers))
+install-headers-nosubdir: $(installed-sunrpc-headers)
+$(installed-sunrpc-headers): $(includedir)/%: $(..)sunrpc/%
 	$(do-install)