[FFmpeg-cvslog] r16559 - in trunk: common.mak configure libavutil/Makefile

diego subversion
Sun Jan 11 23:48:07 CET 2009


Author: diego
Date: Sun Jan 11 23:48:07 2009
New Revision: 16559

Log:
Extend 'checkheaders' target to architecture-specific subdirectories.

Modified:
   trunk/common.mak
   trunk/configure
   trunk/libavutil/Makefile

Modified: trunk/common.mak
==============================================================================
--- trunk/common.mak	Sun Jan 11 23:45:19 2009	(r16558)
+++ trunk/common.mak	Sun Jan 11 23:48:07 2009	(r16559)
@@ -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)

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Jan 11 23:45:19 2009	(r16558)
+++ trunk/configure	Sun Jan 11 23:48:07 2009	(r16559)
@@ -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       \

Modified: trunk/libavutil/Makefile
==============================================================================
--- trunk/libavutil/Makefile	Sun Jan 11 23:45:19 2009	(r16558)
+++ trunk/libavutil/Makefile	Sun Jan 11 23:48:07 2009	(r16559)
@@ -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




More information about the ffmpeg-cvslog mailing list