-#
+# $Id$
-top_builddir = ../..
+top_srcdir = @top_srcdir@/..
+top_builddir = ../../..
+libsrc_dir = contrib/src/ogl
-VPATH= $(top_srcdir)/ogl
+TARGET_LIBNAME=libogl
-LIBTARGET=$(top_builddir)/lib/libogl
+LIBVERSION_CURRENT=1
+LIBVERSION_REVISION=0
+LIBVERSION_AGE=0
-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
+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)