OSDN Git Service

build: Include HEADERS-yes in the HEADERS variable
authorMartin Storsjö <martin@martin.st>
Thu, 25 Oct 2012 14:13:06 +0000 (17:13 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 25 Oct 2012 15:36:11 +0000 (18:36 +0300)
This makes sure the previously always installed public header
lzo.h is installed if the LZO functionality is enabled.

Signed-off-by: Martin Storsjö <martin@martin.st>
Makefile
common.mak

index 07df538..1f73a0a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -102,7 +102,7 @@ config.h: .config
        @-tput sgr0 2>/dev/null
 
 SUBDIR_VARS := CLEANFILES EXAMPLES FFLIBS HOSTPROGS TESTPROGS TOOLS      \
-               ARCH_HEADERS BUILT_HEADERS SKIPHEADERS                    \
+               HEADERS ARCH_HEADERS BUILT_HEADERS SKIPHEADERS            \
                ARMV5TE-OBJS ARMV6-OBJS ARMVFP-OBJS NEON-OBJS             \
                ALTIVEC-OBJS VIS-OBJS                                     \
                MMX-OBJS YASM-OBJS                                        \
index dd9f4cb..c4d2999 100644 (file)
@@ -23,6 +23,7 @@ HOSTPROGS := $(HOSTPROGS:%=$(SUBDIR)%$(HOSTEXESUF))
 TOOLS     += $(TOOLS-yes)
 TOOLOBJS  := $(TOOLS:%=tools/%.o)
 TOOLS     := $(TOOLS:%=tools/%$(EXESUF))
+HEADERS   += $(HEADERS-yes)
 
 DEP_LIBS := $(foreach NAME,$(FFLIBS),lib$(NAME)/$($(CONFIG_SHARED:yes=S)LIBNAME))