aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-11 22:48:07 +0000
committerDiego Biurrun <diego@biurrun.de>2009-01-11 22:48:07 +0000
commit7b5e8a274a69c7d826e0fb7efcceeb136d119ba8 (patch)
tree0be2a8a269643095199aaef15fede6e53abf9a15
parent62045d486041ddb925f5055b6edb602eef6f99a0 (diff)
downloadffmpeg-7b5e8a274a69c7d826e0fb7efcceeb136d119ba8.tar.gz
Extend 'checkheaders' target to architecture-specific subdirectories.
Originally committed as revision 16559 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--common.mak2
-rwxr-xr-xconfigure2
-rw-r--r--libavutil/Makefile2
3 files changed, 5 insertions, 1 deletions
diff --git a/common.mak b/common.mak
index 8ac6ee07ad..6d007ccef0 100644
--- a/common.mak
+++ b/common.mak
@@ -71,7 +71,7 @@ TESTS := $(addprefix $(SUBDIR),$(TESTS))
DEP_LIBS:=$(foreach NAME,$(FFLIBS),lib$(NAME)/$($(BUILD_SHARED:yes=S)LIBNAME))
-ALLHEADERS := $(subst $(SRC_DIR)/,$(SUBDIR),$(wildcard $(SRC_DIR)/*.h))
+ALLHEADERS := $(subst $(SRC_DIR)/,$(SUBDIR),$(wildcard $(SRC_DIR)/*.h $(SRC_DIR)/$(ARCH)/*.h))
checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho))
DEPS := $(OBJS:.o=.d)
diff --git a/configure b/configure
index 16d5710774..132c3cf84f 100755
--- a/configure
+++ b/configure
@@ -2325,6 +2325,8 @@ fi
echo "LIB_INSTALL_EXTRA_CMD=${LIB_INSTALL_EXTRA_CMD}" >> config.mak
echo "EXTRALIBS=$extralibs" >> config.mak
+echo "ARCH=$arch" >> config.mak
+
print_config ARCH_ $TMPH config.mak $ARCH_LIST
print_config HAVE_ $TMPH config.mak $HAVE_LIST
print_config CONFIG_ $TMPH config.mak $CONFIG_LIST \
diff --git a/libavutil/Makefile b/libavutil/Makefile
index be2f3e1e09..284f874c4f 100644
--- a/libavutil/Makefile
+++ b/libavutil/Makefile
@@ -43,6 +43,8 @@ OBJS = adler32.o \
TESTS = $(addsuffix -test$(EXESUF), adler32 aes crc des lls md5 pca random sha1 softfloat tree)
+DIRS = arm bfin sh4 x86
+
include $(SUBDIR)../subdir.mak
$(SUBDIR)lzo-test$(EXESUF): EXTRALIBS += -llzo2