$OpenBSD: gcc-filter_yuvdenoise_Makefile_in,v 1.1.1.1 2004/06/18 18:56:42 sturm Exp $
--- filter/yuvdenoise/Makefile.in.orig	2004-06-15 16:49:52.000000000 +0200
+++ filter/yuvdenoise/Makefile.in	2004-06-15 16:50:25.000000000 +0200
@@ -453,6 +453,13 @@ distclean-compile:
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
 
+denoise.lo: denoise.c
+	if $(LTCOMPILE) -O0 -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
+	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
+	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
+	fi
+
 mostlyclean-libtool:
 	-rm -f *.lo
 
