-#
+# $Id$
-top_srcdir = @top_srcdir@
+top_srcdir = @top_srcdir@/..
top_builddir = ../../..
+libsrc_dir = contrib/src/mmedia
TARGET_LIBNAME=libmmedia
LIBVERSION_REVISION=0
LIBVERSION_AGE=0
-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 vidxanm.o sndoss.o sndesd.o
+HEADER_PATH=$(top_srcdir)/contrib/include/wx
+HEADER_SUBDIR=mmedia
+
+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
-# 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)/src/mmedia # ':' for autoconf
+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)/include
+APPEXTRADEFS=-I$(top_srcdir)/contrib/include
include $(top_builddir)/src/makelib.env
+-include $(DEPFILES)