From a6213f3dce4006e0d47bd938e15832987d95efef Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 25 Jun 2011 00:19:39 +0200 Subject: build: Remove redundant config.mak includes from subdirectory Makefiles. Calling Make from subdirectories is not supported and config.mak has multiple inclusion guards anyway, so the top-level include is enough. --- libavcodec/Makefile | 2 -- libavdevice/Makefile | 2 -- libavfilter/Makefile | 2 -- libavformat/Makefile | 2 -- libavutil/Makefile | 2 -- libpostproc/Makefile | 2 -- libswscale/Makefile | 2 -- 7 files changed, 14 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 0cfa08c1c3..64a286289d 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -1,5 +1,3 @@ -include $(SUBDIR)../config.mak - NAME = avcodec FFLIBS = avutil diff --git a/libavdevice/Makefile b/libavdevice/Makefile index 5cfc5e8ecc..cbe20d6d57 100644 --- a/libavdevice/Makefile +++ b/libavdevice/Makefile @@ -1,5 +1,3 @@ -include $(SUBDIR)../config.mak - NAME = avdevice FFLIBS = avformat avcodec avutil diff --git a/libavfilter/Makefile b/libavfilter/Makefile index 2ed1f937a3..e22527ae49 100644 --- a/libavfilter/Makefile +++ b/libavfilter/Makefile @@ -1,5 +1,3 @@ -include $(SUBDIR)../config.mak - NAME = avfilter FFLIBS = avutil FFLIBS-$(CONFIG_MOVIE_FILTER) += avformat avcodec diff --git a/libavformat/Makefile b/libavformat/Makefile index c2fa8af466..5041fe0dc9 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -1,5 +1,3 @@ -include $(SUBDIR)../config.mak - NAME = avformat FFLIBS = avcodec avutil diff --git a/libavutil/Makefile b/libavutil/Makefile index 0d8f01dd8d..304b288851 100644 --- a/libavutil/Makefile +++ b/libavutil/Makefile @@ -1,5 +1,3 @@ -include $(SUBDIR)../config.mak - NAME = avutil HEADERS = adler32.h \ diff --git a/libpostproc/Makefile b/libpostproc/Makefile index bd0b71e3d4..7b359709dc 100644 --- a/libpostproc/Makefile +++ b/libpostproc/Makefile @@ -1,5 +1,3 @@ -include $(SUBDIR)../config.mak - NAME = postproc FFLIBS = avutil diff --git a/libswscale/Makefile b/libswscale/Makefile index 8bb06baae2..b2914113c0 100644 --- a/libswscale/Makefile +++ b/libswscale/Makefile @@ -1,5 +1,3 @@ -include $(SUBDIR)../config.mak - NAME = swscale FFLIBS = avutil -- cgit v1.2.3