-#
+# $Id$
top_srcdir = @top_srcdir@/..
top_builddir = ../../..
+libsrc_dir = contrib/src/ogl
-LIBTARGET=libogl
+TARGET_LIBNAME=libogl
-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
+LIBVERSION_CURRENT=1
+LIBVERSION_REVISION=0
+LIBVERSION_AGE=0
-# 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
+HEADER_PATH=$(top_srcdir)/contrib/include/wx
+HEADER_SUBDIR=ogl
+
+HEADERS=basic.h basicp.h bmpshape.h canvas.h composit.h constrnt.h \
+ divided.h drawn.h drawnp.h lines.h linesp.h mfutils.h misc.h \
+ ogl.h ogldiag.h
+
+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
+DEPFILES=$(OBJECTS:.o=.d)
APPEXTRADEFS=-I$(top_srcdir)/contrib/include
include $(top_builddir)/src/makelib.env
+
+-include $(DEPFILES)