[xiph-commits] r14080 - trunk/theora/lib

giles at svn.xiph.org giles at svn.xiph.org
Wed Oct 31 14:59:55 PDT 2007


Author: giles
Date: 2007-10-31 14:59:55 -0700 (Wed, 31 Oct 2007)
New Revision: 14080

Modified:
   trunk/theora/lib/Makefile.am
Log:
Slight makefile cleanup.


Modified: trunk/theora/lib/Makefile.am
===================================================================
--- trunk/theora/lib/Makefile.am	2007-10-31 21:38:43 UTC (rev 14079)
+++ trunk/theora/lib/Makefile.am	2007-10-31 21:59:55 UTC (rev 14080)
@@ -83,30 +83,21 @@
 	dec/quant.c \
 	dec/state.c
 
-if CPU_x86_64
 decoder_x86_sources = \
 	dec/x86/mmxidct.c \
 	dec/x86/mmxfrag.c \
 	dec/x86/mmxstate.c \
 	dec/x86/x86state.c
+if CPU_x86_64
+decoder_arch_sources = $(decoder_x86_sources)
 else
 if CPU_x86_32
-decoder_x86_sources = \
-	dec/x86/mmxidct.c \
-	dec/x86/mmxfrag.c \
-	dec/x86/mmxstate.c \
-	dec/x86/x86state.c
+decoder_arch_sources = $(decoder_x86_sources)
+else
+decoder_arch_sources =
 endif
 endif
 
-libtheora_la_SOURCES = \
-  cpu.c \
-	$(decoder_x86_sources) \
-	$(decoder_sources) \
-	$(encoder_arch_sources) \
-	$(encoder_sources) \
-  Version_script
-
 noinst_HEADERS = \
 	cpu.h \
 	internal.h \
@@ -131,6 +122,14 @@
 	dec/quant.h \
 	dec/x86/x86int.h
 
+libtheora_la_SOURCES = \
+  cpu.c \
+	$(decoder_arch_sources) \
+	$(decoder_sources) \
+	$(encoder_arch_sources) \
+	$(encoder_sources) \
+  Version_script
+
 libtheora_la_CFLAGS = $(OGG_CFLAGS)
 libtheora_la_LDFLAGS = -version-info @TH_LIB_CURRENT@:@TH_LIB_REVISION@:@TH_LIB_AGE@ @THEORA_LDFLAGS@
 libtheora_la_LIBADD = $(OGG_LIBS)



More information about the commits mailing list