$OpenBSD: patch-Makefile_in,v 1.2 2001/11/27 23:07:02 todd Exp $
--- Makefile.in.orig	Tue Nov 27 03:04:35 2001
+++ Makefile.in	Tue Nov 27 21:19:43 2001
@@ -558,13 +558,13 @@ dist-hook:
 release:
 	$(MAKE) dist distdir=$(PACKAGE)-$(VERSION)
 
- include macros/macros.dep
-macros/macros.dep: macros/Makefile.am
-	cd macros && $(MAKE) macros.dep
+# include macros/macros.dep
+#macros/macros.dep: macros/Makefile.am
+#	cd macros && $(MAKE) macros.dep
 
 $(top_srcdir)/aclocal.m4: libgtop-sysdeps.m4 LIBGTOP-VERSION
 
-libgtopConf.sh: libgtopConf.sh.in Makefile
+$(top_builddir)/libgtopConf.sh: libgtopConf.sh.in Makefile
 	sed -e 's#\@LIBGTOP_LIBDIR\@#$(libdir)#g' \
 	  -e 's#\@LIBGTOP_INCLUDEDIR\@#$(includedir)/libgtop-1.0#g' \
 	  -e 's#\@LIBGTOP_DATADIR\@#$(datadir)#g' \
@@ -593,14 +593,14 @@ libgtopConf.sh: libgtopConf.sh.in Makefi
 	      < $(srcdir)/libgtopConf.sh.in > libgtopConf.tmp \
 	  && mv libgtopConf.tmp libgtopConf.sh
 
-libgtop-config: libgtop-config.in Makefile
+$(top_builddir)/libgtop-config: libgtop-config.in Makefile
 	sed -e 's#\@LIBGTOP_LIBDIR\@#$(libdir)#g' \
 	      < $(srcdir)/libgtop-config.in > libgtop-config.tmp \
 	  && mv libgtop-config.tmp libgtop-config && \
 		chmod 755 libgtop-config
 
-libgtop-features.def: features.def
-	@LN_S@ $< $@
+$(top_builddir)/libgtop-features.def: features.def
+	@LN_S@ $? $@
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
