OSDN Git Service

build: move inclusion of subdir.mak to main subdir loop
authorMans Rullgard <mans@mansr.com>
Tue, 13 Dec 2011 13:28:01 +0000 (13:28 +0000)
committerMans Rullgard <mans@mansr.com>
Tue, 13 Dec 2011 14:26:49 +0000 (14:26 +0000)
Signed-off-by: Mans Rullgard <mans@mansr.com>
Makefile
libavcodec/Makefile
libavdevice/Makefile
libavfilter/Makefile
libavformat/Makefile
libavutil/Makefile
libpostproc/Makefile
libswscale/Makefile

index 04af278..3809ece 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -113,6 +113,7 @@ define DOSUBDIR
 $(foreach V,$(SUBDIR_VARS),$(eval $(call RESET,$(V))))
 SUBDIR := $(1)/
 include $(SRC_PATH)/$(1)/Makefile
+include $(SRC_PATH)/subdir.mak
 endef
 
 $(foreach D,$(FFLIBS),$(eval $(call DOSUBDIR,lib$(D))))
index 383039a..07a3048 100644 (file)
@@ -694,8 +694,6 @@ DIRS = alpha arm bfin mlib ppc ps2 sh4 sparc x86
 
 CLEANFILES = *_tables.c *_tables.h *_tablegen$(HOSTEXESUF)
 
-include $(SRC_PATH)/subdir.mak
-
 $(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o
 
 TRIG_TABLES  = cos cos_fixed sin
index 78de08a..1a1e2f1 100644 (file)
@@ -32,5 +32,3 @@ SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H)     += alsa-audio.h
 SKIPHEADERS-$(HAVE_SNDIO_H)              += sndio_common.h
 
 TESTPROGS = timefilter
-
-include $(SRC_PATH)/subdir.mak
index bc05f1d..63974d0 100644 (file)
@@ -74,5 +74,3 @@ OBJS-$(CONFIG_NULLSINK_FILTER)               += vsink_nullsink.o
 DIRS = x86
 
 TOOLS = graph2dot lavfi-showfiltfmts
-
-include $(SRC_PATH)/subdir.mak
index 9d2e946..ea28290 100644 (file)
@@ -348,6 +348,4 @@ EXAMPLES  = metadata output
 TESTPROGS = seek
 TOOLS     = pktdumper probetest
 
-include $(SRC_PATH)/subdir.mak
-
 $(SUBDIR)output-example$(EXESUF): ELIBS = -lswscale
index bded2c6..6896846 100644 (file)
@@ -83,6 +83,4 @@ DIRS = arm bfin sh4 x86
 
 ARCH_HEADERS = bswap.h intmath.h intreadwrite.h timer.h
 
-include $(SRC_PATH)/subdir.mak
-
 $(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2
index 11de3d3..86c9b5f 100644 (file)
@@ -4,5 +4,3 @@ FFLIBS = avutil
 HEADERS = postprocess.h
 
 OBJS = postprocess.o
-
-include $(SRC_PATH)/subdir.mak
index 5671b2e..bb9b7d3 100644 (file)
@@ -22,5 +22,3 @@ OBJS-$(HAVE_YASM)          +=  x86/scale.o
 TESTPROGS = colorspace swscale
 
 DIRS = bfin mlib ppc sparc x86
-
-include $(SRC_PATH)/subdir.mak