about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-01 23:16:28 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-01 23:16:28 +0000
commit0e3e14083af22d876420e707e573093b062681aa (patch)
treeb54481d1830595a8355dd816e506305661b640cc /sysdeps
parent7adad62587224c931468e49ed414d3c809a82515 (diff)
downloadglibc-0e3e14083af22d876420e707e573093b062681aa.tar.gz
glibc-0e3e14083af22d876420e707e573093b062681aa.tar.xz
glibc-0e3e14083af22d876420e707e573093b062681aa.zip
Update.
	* sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
	itself.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/sysdeps/unix/Makefile b/sysdeps/unix/Makefile
index ffa207db52..b2b5415fb3 100644
--- a/sysdeps/unix/Makefile
+++ b/sysdeps/unix/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
+# Copyright (C) 1991,92,93,94,95,96,97,98,99 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
@@ -72,12 +72,13 @@ $(common-objpfx)param.h.c: $(sysincludedir)/sys/param.h
 	cp $< $@
 $(common-objpfx)param.h.dep: $(common-objpfx)param.h.c \
 			     $(sysdep_dir)/unix/Makefile
-	$(+mkdep) -I$(sysincludedir) $<		\
-	| sed > $@-t				\
-	      -e 's@^.*:@@'			\
-	      -e 's@$<@@g'			\
-	      -e 's@$(sysincludedir)/*@@g'	\
-	      -e 's@\\$$@@'			\
+	$(+mkdep) -I$(sysincludedir) $<			\
+	| sed > $@-t					\
+	      -e 's@$(sysincludedir)/sys/param.h@@'	\
+	      -e 's@^.*:@@'				\
+	      -e 's@$<@@g'				\
+	      -e 's@$(sysincludedir)/*@@g'		\
+	      -e 's@\\$$@@'				\
 	      -e 's@^@sys/param.h-includes := $$(sys/param.h-includes) @'
 	mv $@-t $@