build: Move all arch OBJS declarations into arch subdirectory Makefiles.
authorDiego Biurrun <diego@biurrun.de>
Mon, 6 Feb 2012 18:16:44 +0000 (19:16 +0100)
committerDiego Biurrun <diego@biurrun.de>
Thu, 12 Apr 2012 19:30:13 +0000 (21:30 +0200)
libavutil/Makefile
libavutil/ppc/Makefile [new file with mode: 0644]
libavutil/x86/Makefile [new file with mode: 0644]
libswscale/Makefile
libswscale/bfin/Makefile [new file with mode: 0644]
libswscale/ppc/Makefile [new file with mode: 0644]
libswscale/sparc/Makefile [new file with mode: 0644]
libswscale/x86/Makefile [new file with mode: 0644]

index a73fb79..820abb1 100644 (file)
@@ -72,9 +72,6 @@ OBJS = adler32.o                                                        \
        tree.o                                                           \
        utils.o                                                          \
 
-OBJS-$(ARCH_PPC) += ppc/cpu.o
-OBJS-$(ARCH_X86) += x86/cpu.o
-
 TESTPROGS = adler32 aes avstring base64 cpu crc des eval fifo lfg lls \
             md5 opt parseutils sha tree
 
diff --git a/libavutil/ppc/Makefile b/libavutil/ppc/Makefile
new file mode 100644 (file)
index 0000000..5b18b08
--- /dev/null
@@ -0,0 +1 @@
+OBJS += ppc/cpu.o                                                       \
diff --git a/libavutil/x86/Makefile b/libavutil/x86/Makefile
new file mode 100644 (file)
index 0000000..de8a341
--- /dev/null
@@ -0,0 +1 @@
+OBJS += x86/cpu.o                                                       \
index 94c6efb..29f3f12 100644 (file)
@@ -12,20 +12,4 @@ OBJS = input.o                                          \
        utils.o                                          \
        yuv2rgb.o                                        \
 
-OBJS-$(ARCH_BFIN)          +=  bfin/internal_bfin.o     \
-                               bfin/swscale_bfin.o      \
-                               bfin/yuv2rgb_bfin.o
-ALTIVEC-OBJS               +=  ppc/swscale_altivec.o    \
-                               ppc/yuv2rgb_altivec.o    \
-                               ppc/yuv2yuv_altivec.o
-MMX-OBJS                   +=  x86/rgb2rgb.o            \
-                               x86/swscale_mmx.o        \
-                               x86/yuv2rgb_mmx.o
-VIS-OBJS                   +=  sparc/yuv2rgb_vis.o
-YASM-OBJS                  +=  x86/input.o              \
-                               x86/output.o             \
-                               x86/scale.o
-
-OBJS-$(CONFIG_XMM_CLOBBER_TEST) += x86/w64xmmtest.o
-
 TESTPROGS = colorspace swscale
diff --git a/libswscale/bfin/Makefile b/libswscale/bfin/Makefile
new file mode 100644 (file)
index 0000000..5f34550
--- /dev/null
@@ -0,0 +1,3 @@
+OBJS +=  bfin/internal_bfin.o                                           \
+         bfin/swscale_bfin.o                                            \
+         bfin/yuv2rgb_bfin.o                                            \
diff --git a/libswscale/ppc/Makefile b/libswscale/ppc/Makefile
new file mode 100644 (file)
index 0000000..018955b
--- /dev/null
@@ -0,0 +1,3 @@
+ALTIVEC-OBJS +=  ppc/swscale_altivec.o                                  \
+                 ppc/yuv2rgb_altivec.o                                  \
+                 ppc/yuv2yuv_altivec.o                                  \
diff --git a/libswscale/sparc/Makefile b/libswscale/sparc/Makefile
new file mode 100644 (file)
index 0000000..2351ba4
--- /dev/null
@@ -0,0 +1 @@
+VIS-OBJS += sparc/yuv2rgb_vis.o                                         \
diff --git a/libswscale/x86/Makefile b/libswscale/x86/Makefile
new file mode 100644 (file)
index 0000000..7f37799
--- /dev/null
@@ -0,0 +1,9 @@
+OBJS-$(CONFIG_XMM_CLOBBER_TEST) += x86/w64xmmtest.o
+
+MMX-OBJS                        += x86/rgb2rgb.o                        \
+                                   x86/swscale_mmx.o                    \
+                                   x86/yuv2rgb_mmx.o                    \
+
+YASM-OBJS                       += x86/input.o                          \
+                                   x86/output.o                         \
+                                   x86/scale.o                          \