[FFmpeg-cvslog] r19685 - in trunk: Makefile common.mak libavcodec/Makefile libavdevice/Makefile

mru subversion
Sun Aug 23 13:02:38 CEST 2009


Author: mru
Date: Sun Aug 23 13:02:37 2009
New Revision: 19685

Log:
Skip headers requiring external libs not present in checkheaders

Modified:
   trunk/Makefile
   trunk/common.mak
   trunk/libavcodec/Makefile
   trunk/libavdevice/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Sun Aug 23 13:02:35 2009	(r19684)
+++ trunk/Makefile	Sun Aug 23 13:02:37 2009	(r19685)
@@ -45,7 +45,7 @@ $(PROGS): %$(EXESUF): %_g$(EXESUF)
 	cp -p $< $@
 	$(STRIP) $@
 
-SUBDIR_VARS := OBJS FFLIBS CLEANFILES DIRS TESTPROGS EXAMPLES \
+SUBDIR_VARS := OBJS FFLIBS CLEANFILES DIRS TESTPROGS EXAMPLES SKIPHEADERS \
                ALTIVEC-OBJS MMX-OBJS NEON-OBJS X86-OBJS YASM-OBJS-FFT YASM-OBJS
 
 define RESET

Modified: trunk/common.mak
==============================================================================
--- trunk/common.mak	Sun Aug 23 13:02:35 2009	(r19684)
+++ trunk/common.mak	Sun Aug 23 13:02:37 2009	(r19685)
@@ -65,7 +65,8 @@ TESTPROGS := $(addprefix $(SUBDIR),$(add
 DEP_LIBS := $(foreach NAME,$(FFLIBS),$(BUILD_ROOT_REL)/lib$(NAME)/$($(CONFIG_SHARED:yes=S)LIBNAME))
 
 ALLHEADERS := $(subst $(SRC_DIR)/,$(SUBDIR),$(wildcard $(SRC_DIR)/*.h $(SRC_DIR)/$(ARCH)/*.h))
-checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho))
+SKIPHEADERS = $(addprefix $(SUBDIR),$(SKIPHEADERS-))
+checkheaders: $(filter-out $(SKIPHEADERS:.h=.ho),$(ALLHEADERS:.h=.ho))
 
 DEPS := $(OBJS:.o=.d)
 depend dep: $(DEPS)

Modified: trunk/libavcodec/Makefile
==============================================================================
--- trunk/libavcodec/Makefile	Sun Aug 23 13:02:35 2009	(r19684)
+++ trunk/libavcodec/Makefile	Sun Aug 23 13:02:37 2009	(r19685)
@@ -543,6 +543,11 @@ OBJS-$(HAVE_MMI)                       +
 OBJS-$(HAVE_VIS)                       += sparc/dsputil_vis.o           \
                                           sparc/simple_idct_vis.o       \
 
+SKIPHEADERS-$(CONFIG_LIBDIRAC)         += libdirac.h
+SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER)  += libschroedinger.h
+SKIPHEADERS-$(CONFIG_VAAPI)            += vaapi_internal.h
+SKIPHEADERS-$(CONFIG_VDPAU)            += vdpau.h
+SKIPHEADERS-$(CONFIG_XVMC)             += xvmc.h
 
 EXAMPLES = api
 

Modified: trunk/libavdevice/Makefile
==============================================================================
--- trunk/libavdevice/Makefile	Sun Aug 23 13:02:35 2009	(r19684)
+++ trunk/libavdevice/Makefile	Sun Aug 23 13:02:37 2009	(r19685)
@@ -26,4 +26,6 @@ OBJS-$(CONFIG_LIBDC1394_INDEV)          
 OBJS-$(CONFIG_AUDIO_BEOS_INDEV)          += beosaudio.o
 OBJS-$(CONFIG_AUDIO_BEOS_OUTDEV)         += beosaudio.o
 
+SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H)     += alsa-audio.h
+
 include $(SUBDIR)../subdir.mak



More information about the ffmpeg-cvslog mailing list