* sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
	itself.
This commit is contained in:
Ulrich Drepper 1999-12-01 23:16:28 +00:00
parent 7adad62587
commit 0e3e14083a
2 changed files with 11 additions and 7 deletions

View File

@ -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.

View File

@ -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 $@