aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/Makefile15
2 files changed, 11 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index cec3056631..e356d2795b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1999-12-01 Ulrich Drepper <drepper@cygnus.com>
+ * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
+ itself.
+
* sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
_UTSNAME_H.
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 $@