changeset 7859:72671e2510fd

added libmpdemux depends to test.c
author arpi
date Wed, 23 Oct 2002 13:59:05 +0000
parents 6ccc14497807
children 0432eeab8f1e
files libmpdemux/Makefile libmpdemux/test.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/Makefile	Wed Oct 23 11:20:07 2002 +0000
+++ b/libmpdemux/Makefile	Wed Oct 23 13:59:05 2002 +0000
@@ -39,7 +39,7 @@
 	$(AR) r $(LIBNAME) $(OBJS)
 
 test:	$(LIBNAME) test.c
-	$(CC) $(CFLAGS) test.c ../mp_msg.c ../linux/shmem.c -o test ./libmpdemux.a -ldvdread -lz -lpthread
+	$(CC) $(CFLAGS) test.c ../mp_msg.c ../linux/shmem.c -o test ./libmpdemux.a ../libmpdvdkit2/libmpdvdkit.a ../libvo/aclib.o ../libmpcodecs/img_format.o ../libao2/afmt.o $(ALSA_LIB) $(VORBIS_LIB) $(CDPARANOIA_LIB) -lz -lpthread
 
 clean:
 	rm -f *.o *.a *~
--- a/libmpdemux/test.c	Wed Oct 23 11:20:07 2002 +0000
+++ b/libmpdemux/test.c	Wed Oct 23 13:59:05 2002 +0000
@@ -19,6 +19,9 @@
 void resync_audio_stream(sh_audio_t *sh_audio){
 }
 
+// for libmpdvdkit2:
+#include "../get_path.c"
+
 int verbose=5; // must be global!
 
 //---------------