$NetBSD: patch-ai,v 1.2 2002/03/21 08:47:07 seb Exp $

--- tcldgl/Makefile.in.orig	Fri Mar  8 23:12:20 2002
+++ tcldgl/Makefile.in
@@ -200,8 +200,7 @@
 	-I$(top_srcdir)/cdt \
 	-I$(top_srcdir)/tclhandle \
 	-I$(top_srcdir)/incr \
-	-I$(top_srcdir)/shape \
-	-I@TCLSH_EXEC_PREFIX@/include
+	-I$(top_srcdir)/shape
 
 
 LIBS = 
@@ -226,7 +225,7 @@
 	../agutil/libagutil.la \
 	../shape/libshape.la \
 	../ns/libns.la \
-        ../tclstubs/libtclstubs.la \
+        ${TCL_STUB_LIB_SPEC} \
 	-lc -lm
 
 
@@ -244,8 +243,7 @@
 	../agraph/libagraph.la ../cdt/libcdt.la ../fdp/libfdp.la \
 	../dag/libdag.la ../geo/libgeo.la ../grid/libgrid.la \
 	../incr/libincr.la ../pathplan/libpathplan.la \
-	../agutil/libagutil.la ../shape/libshape.la ../ns/libns.la \
-	../tclstubs/libtclstubs.la
+	../agutil/libagutil.la ../shape/libshape.la ../ns/libns.la
 am_libtcldgl_la_OBJECTS = dgl.lo dglayout.lo dglshape.lo dglutil.lo
 libtcldgl_la_OBJECTS = $(am_libtcldgl_la_OBJECTS)
 
@@ -253,9 +251,7 @@
 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/dgl.Plo $(DEPDIR)/dglayout.Plo \
-@AMDEP_TRUE@	$(DEPDIR)/dglshape.Plo $(DEPDIR)/dglutil.Plo
+depcomp =
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
@@ -294,7 +290,7 @@
 	-rm -f libtool
 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
 	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --gnu  tcldgl/Makefile
+	  $(AUTOMAKE) --gnu  --ignore-deps tcldgl/Makefile
 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
 	cd $(top_builddir) && \
 	  CONFIG_HEADERS= CONFIG_LINKS= \
@@ -327,32 +323,14 @@
 distclean-compile:
 	-rm -f *.tab.c
 
-@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/dgl.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/dglayout.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/dglshape.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/dglutil.Plo@am__quote@
-
-distclean-depend:
-	-rm -rf $(DEPDIR)
-
 .c.o:
-@AMDEP_TRUE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
 
 .c.obj:
-@AMDEP_TRUE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 	$(COMPILE) -c `cygpath -w $<`
 
 .c.lo:
-@AMDEP_TRUE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
-CCDEPMODE = @CCDEPMODE@
 uninstall-info-am:
 
 manndir = $(mandir)/mann
@@ -558,8 +536,8 @@
 
 distclean: distclean-recursive
 
-distclean-am: clean-am distclean-compile distclean-depend \
-	distclean-generic distclean-libtool distclean-tags
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
 
 dvi: dvi-recursive
 
@@ -597,21 +575,21 @@
 
 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
 	clean clean-generic clean-libtool clean-pkglibLTLIBRARIES \
-	clean-recursive distclean distclean-compile distclean-depend \
-	distclean-generic distclean-libtool distclean-recursive \
-	distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
-	info-recursive install install-am install-data install-data-am \
-	install-data-recursive install-exec install-exec-am \
-	install-exec-recursive install-info install-info-am \
-	install-info-recursive install-man install-mann \
-	install-pkglibLTLIBRARIES install-recursive install-strip \
-	installcheck installcheck-am installdirs installdirs-am \
-	installdirs-recursive maintainer-clean maintainer-clean-generic \
-	maintainer-clean-recursive mostlyclean mostlyclean-compile \
-	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
-	tags tags-recursive uninstall uninstall-am uninstall-info-am \
-	uninstall-info-recursive uninstall-man uninstall-mann \
-	uninstall-pkglibLTLIBRARIES uninstall-recursive
+	clean-recursive distclean distclean-compile distclean-generic \
+	distclean-libtool distclean-recursive distclean-tags distdir \
+	dvi dvi-am dvi-recursive info info-am info-recursive install \
+	install-am install-data install-data-am install-data-recursive \
+	install-exec install-exec-am install-exec-recursive \
+	install-info install-info-am install-info-recursive install-man \
+	install-mann install-pkglibLTLIBRARIES install-recursive \
+	install-strip installcheck installcheck-am installdirs \
+	installdirs-am installdirs-recursive maintainer-clean \
+	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
+	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+	mostlyclean-recursive tags tags-recursive uninstall \
+	uninstall-am uninstall-info-am uninstall-info-recursive \
+	uninstall-man uninstall-mann uninstall-pkglibLTLIBRARIES \
+	uninstall-recursive
 
 
 all-local: pkgIndex.tcl
