-#
+# $Id$
top_srcdir = @top_srcdir@/..
top_builddir = ../../..
+libsrc_dir = contrib/src/mmedia
-LIBTARGET=libmmedia
+TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_mmedia-@WX_RELEASE@
-OBJECTS=cdbase.o cdwin.o g711.o g721.o g723_24.o \
- g723_40.o g72x.o sndaiff.o sndbase.o sndcodec.o \
- sndcpcm.o sndfile.o sndg72x.o sndpcm.o sndulaw.o \
- sndwav.o sndwin.o vidbase.o vidwin.o
+LIBVERSION_CURRENT=@WX_CURRENT@
+LIBVERSION_REVISION=@WX_REVISION@
+LIBVERSION_AGE=@WX_AGE@
+
+
+HEADER_PATH=$(top_srcdir)/contrib/include/wx
+HEADER_SUBDIR=mmedia
-# 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/mmedia # ':' for autoconf
+HEADERS=cdbase.h cdunix.h cdwin.h sndaiff.h sndbase.h sndcodec.h \
+ sndcpcm.h sndesd.h sndfile.h sndg72x.h sndmsad.h sndoss.h \
+ sndpcm.h sndulaw.h sndwav.h sndwin.h vidbase.h vidwin.h \
+ vidxanm.h
+
+OBJECTS=cdbase.o cdunix.o cdwin.o g711.o g721.o g723_24.o \
+ g723_40.o g72x.o sndaiff.o sndbase.o sndcodec.o \
+ sndcpcm.o sndesd.o sndfile.o sndg72x.o sndmsad.o sndoss.o \
+ sndpcm.o sndulaw.o sndwav.o sndwin.o vidbase.o vidwin.o vidxanm.o
+DEPFILES=$(OBJECTS:.o=.d)
APPEXTRADEFS=-I$(top_srcdir)/contrib/include
include $(top_builddir)/src/makelib.env
+-include $(DEPFILES)