[SCM] libav/experimental: Makefile cosmetics

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:53:48 UTC 2013


The following commit has been merged in the experimental branch:
commit 785d3c97b26f4bc0f44b1996d744289be31e3561
Author: Måns Rullgård <mans at mansr.com>
Date:   Wed Oct 28 19:49:19 2009 +0000

    Makefile cosmetics
    
    Originally committed as revision 20406 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 40c1681..0938dd0 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -702,11 +702,12 @@ $(SUBDIR)cos_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF)
 $(SUBDIR)sin_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF)
 	./$< sin > $@
 
-ifeq ($(CONFIG_MPEGAUDIO_HP),yes)
+ifdef CONFIG_MPEGAUDIO_HP
 $(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=23
 else
 $(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=15
 endif
+
 $(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)tableprint.c
 	$(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^ $(HOSTLIBS)
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list