fixed multidir compile
authorFabrice Bellard <fabrice@bellard.org>
Fri, 29 Nov 2002 14:56:03 +0000 (14:56 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Fri, 29 Nov 2002 14:56:03 +0000 (14:56 +0000)
Originally committed as revision 1289 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure
libavformat/Makefile
vhook/Makefile

index c28eec2..85631c9 100755 (executable)
--- a/configure
+++ b/configure
@@ -678,9 +678,9 @@ echo "#define restrict $_restrict" >> $TMPH
 
 # build tree in object directory if source path is different from current one
 if test "$source_path_used" = "yes" ; then
-    DIRS="libav libavcodec libavcodec/alpha libavcodec/armv4l libavcodec/i386 \
-          libavcodec/ppc libavcodec/liba52 libavcodec/mlib tests"
-    FILES="Makefile libav/Makefile libavcodec/Makefile tests/Makefile"
+    DIRS="libavformat libavcodec libavcodec/alpha libavcodec/armv4l libavcodec/i386 \
+          libavcodec/ppc libavcodec/liba52 libavcodec/mlib tests vhook"
+    FILES="Makefile libavformat/Makefile libavcodec/Makefile tests/Makefile vhook/Makefile"
     for dir in $DIRS ; do
             mkdir -p $dir
     done
index 0ee4f09..3bcddeb 100644 (file)
@@ -4,7 +4,7 @@
 #
 include ../config.mak
 
-VPATH=$(SRC_PATH)/libav
+VPATH=$(SRC_PATH)/libavformat
 
 CFLAGS= $(OPTFLAGS) -Wall -g -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
 
index 98280e2..e6755cc 100644 (file)
@@ -2,7 +2,7 @@ include ../config.mak
 
 VPATH=$(SRC_PATH)/vhook
 
-CFLAGS=-fPIC $(OPTFLAGS) -g -Wall -I$(SRC_PATH) -I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H
+CFLAGS=-fPIC $(OPTFLAGS) -g -Wall -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H
 
 ifeq ($(CONFIG_DARWIN),yes)
 SHFLAGS+=-bundle -flat_namespace -undefined suppress