@ -1,5 +1,5 @@
# -*-makefile-*-
# -*-makefile-*-
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.220 2005/09/27 17:39:32 tgl Exp $
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.221 2006/02/12 07:29:36 momjian Exp $
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
# All PostgreSQL makefiles include this file and use the variables it sets,
@ -536,7 +536,7 @@ df = $(DEPDIR)/$(*F)
# This converts a .d file in the current directory to a .P file in the .deps
# This converts a .d file in the current directory to a .P file in the .deps
# subdirectory, with the dummy targets as explained above.
# subdirectory, with the dummy targets as explained above.
d e f i n e p o s t p r o c e s s - d e p e n d
d e f i n e p o s t p r o c e s s - d e p e n d
@ i f t e s t ! - d $( DEPDIR ) ; t h e n m k d i r $( DEPDIR ) ; f i
@ i f t e s t ! - d $( DEPDIR ) ; t h e n m k d i r - p $( DEPDIR ) ; f i
@ c p $* . d $( df ) . P
@ c p $* . d $( df ) . P
@sed -e 's/#.*//' -e 's/^[^ : ]*: *//' -e 's / *\\$$//' \
@sed -e 's/#.*//' -e 's/^[^ : ]*: *//' -e 's / *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $* .d >> $( df) .P
-e '/^$$/ d' -e 's/$$/ :/' < $* .d >> $( df) .P