aboutsummaryrefslogtreecommitdiffstats
path: root/arch.mak
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-03-27 23:10:02 +0200
committerDiego Biurrun <diego@biurrun.de>2012-04-12 09:00:49 +0200
commit7bb3a302feeff37d14a2abb7c7316efa43f8dd5c (patch)
tree6d7a6e40c54b8ed2c48f3f93e19a0be038429b6d /arch.mak
parent2ef15b46e42647f6688d05abe2400fe008de5e0a (diff)
downloadffmpeg-7bb3a302feeff37d14a2abb7c7316efa43f8dd5c.tar.gz
build: Consistently handle conditional compilation for all optimization OBJS.
Diffstat (limited to 'arch.mak')
-rw-r--r--arch.mak13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch.mak b/arch.mak
new file mode 100644
index 0000000000..33018f37f7
--- /dev/null
+++ b/arch.mak
@@ -0,0 +1,13 @@
+OBJS-$(HAVE_ARMV5TE) += $(ARMV5TE-OBJS) $(ARMV5TE-OBJS-yes)
+OBJS-$(HAVE_ARMV6) += $(ARMV6-OBJS) $(ARMV6-OBJS-yes)
+OBJS-$(HAVE_ARMVFP) += $(ARMVFP-OBJS) $(ARMVFP-OBJS-yes)
+OBJS-$(HAVE_NEON) += $(NEON-OBJS) $(NEON-OBJS-yes)
+
+OBJS-$(HAVE_MMI) += $(MMI-OBJS) $(MMI-OBJS-yes)
+
+OBJS-$(HAVE_ALTIVEC) += $(ALTIVEC-OBJS) $(ALTIVEC-OBJS-yes)
+
+OBJS-$(HAVE_VIS) += $(VIS-OBJS) $(VIS-OBJS-yes)
+
+OBJS-$(HAVE_MMX) += $(MMX-OBJS) $(MMX-OBJS-yes)
+OBJS-$(HAVE_YASM) += $(YASM-OBJS) $(YASM-OBJS-yes)