Commit 7b5e8a27 authored by Diego Biurrun's avatar Diego Biurrun

Extend 'checkheaders' target to architecture-specific subdirectories.

Originally committed as revision 16559 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 62045d48
...@@ -71,7 +71,7 @@ TESTS := $(addprefix $(SUBDIR),$(TESTS)) ...@@ -71,7 +71,7 @@ TESTS := $(addprefix $(SUBDIR),$(TESTS))
DEP_LIBS:=$(foreach NAME,$(FFLIBS),lib$(NAME)/$($(BUILD_SHARED:yes=S)LIBNAME)) 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)) checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho))
DEPS := $(OBJS:.o=.d) DEPS := $(OBJS:.o=.d)
......
...@@ -2325,6 +2325,8 @@ fi ...@@ -2325,6 +2325,8 @@ fi
echo "LIB_INSTALL_EXTRA_CMD=${LIB_INSTALL_EXTRA_CMD}" >> config.mak echo "LIB_INSTALL_EXTRA_CMD=${LIB_INSTALL_EXTRA_CMD}" >> config.mak
echo "EXTRALIBS=$extralibs" >> config.mak echo "EXTRALIBS=$extralibs" >> config.mak
echo "ARCH=$arch" >> config.mak
print_config ARCH_ $TMPH config.mak $ARCH_LIST print_config ARCH_ $TMPH config.mak $ARCH_LIST
print_config HAVE_ $TMPH config.mak $HAVE_LIST print_config HAVE_ $TMPH config.mak $HAVE_LIST
print_config CONFIG_ $TMPH config.mak $CONFIG_LIST \ print_config CONFIG_ $TMPH config.mak $CONFIG_LIST \
......
...@@ -43,6 +43,8 @@ OBJS = adler32.o \ ...@@ -43,6 +43,8 @@ OBJS = adler32.o \
TESTS = $(addsuffix -test$(EXESUF), adler32 aes crc des lls md5 pca random sha1 softfloat tree) TESTS = $(addsuffix -test$(EXESUF), adler32 aes crc des lls md5 pca random sha1 softfloat tree)
DIRS = arm bfin sh4 x86
include $(SUBDIR)../subdir.mak include $(SUBDIR)../subdir.mak
$(SUBDIR)lzo-test$(EXESUF): EXTRALIBS += -llzo2 $(SUBDIR)lzo-test$(EXESUF): EXTRALIBS += -llzo2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment