#
-top_builddir = ../..
+top_srcdir = @top_srcdir@/..
+top_builddir = ../../..
VPATH= $(top_srcdir)/ogl
OBJECTS=basic.o bmpshape.o composit.o divided.o lines.o misc.o \
basic2.o canvas.o constrnt.o drawn.o mfutils.o ogldiag.o
+# the comment at the end of the next line is needed because otherwise autoconf
+# would remove this line completely - it contains a built-in hack to remove
+# any VPATH assignment not containing ':'
+VPATH = :$(top_srcdir)/contrib/src/ogl # ':' for autoconf
include $(top_builddir)/src/makelib.env