Browse code

build: Move all arch OBJS declarations into arch subdirectory Makefiles.

Diego Biurrun authored on 2012/02/07 03:16:44
Showing 8 changed files
... ...
@@ -72,9 +72,6 @@ OBJS = adler32.o                                                        \
72 72
        tree.o                                                           \
73 73
        utils.o                                                          \
74 74
 
75
-OBJS-$(ARCH_PPC) += ppc/cpu.o
76
-OBJS-$(ARCH_X86) += x86/cpu.o
77
-
78 75
 TESTPROGS = adler32 aes avstring base64 cpu crc des eval fifo lfg lls \
79 76
             md5 opt parseutils sha tree
80 77
 
81 78
new file mode 100644
... ...
@@ -0,0 +1 @@
0
+OBJS += ppc/cpu.o                                                       \
0 1
new file mode 100644
... ...
@@ -0,0 +1 @@
0
+OBJS += x86/cpu.o                                                       \
... ...
@@ -12,20 +12,4 @@ OBJS = input.o                                          \
12 12
        utils.o                                          \
13 13
        yuv2rgb.o                                        \
14 14
 
15
-OBJS-$(ARCH_BFIN)          +=  bfin/internal_bfin.o     \
16
-                               bfin/swscale_bfin.o      \
17
-                               bfin/yuv2rgb_bfin.o
18
-ALTIVEC-OBJS               +=  ppc/swscale_altivec.o    \
19
-                               ppc/yuv2rgb_altivec.o    \
20
-                               ppc/yuv2yuv_altivec.o
21
-MMX-OBJS                   +=  x86/rgb2rgb.o            \
22
-                               x86/swscale_mmx.o        \
23
-                               x86/yuv2rgb_mmx.o
24
-VIS-OBJS                   +=  sparc/yuv2rgb_vis.o
25
-YASM-OBJS                  +=  x86/input.o              \
26
-                               x86/output.o             \
27
-                               x86/scale.o
28
-
29
-OBJS-$(CONFIG_XMM_CLOBBER_TEST) += x86/w64xmmtest.o
30
-
31 15
 TESTPROGS = colorspace swscale
32 16
new file mode 100644
... ...
@@ -0,0 +1,3 @@
0
+OBJS +=  bfin/internal_bfin.o                                           \
1
+         bfin/swscale_bfin.o                                            \
2
+         bfin/yuv2rgb_bfin.o                                            \
0 3
new file mode 100644
... ...
@@ -0,0 +1,3 @@
0
+ALTIVEC-OBJS +=  ppc/swscale_altivec.o                                  \
1
+                 ppc/yuv2rgb_altivec.o                                  \
2
+                 ppc/yuv2yuv_altivec.o                                  \
0 3
new file mode 100644
... ...
@@ -0,0 +1 @@
0
+VIS-OBJS += sparc/yuv2rgb_vis.o                                         \
0 1
new file mode 100644
... ...
@@ -0,0 +1,9 @@
0
+OBJS-$(CONFIG_XMM_CLOBBER_TEST) += x86/w64xmmtest.o
1
+
2
+MMX-OBJS                        += x86/rgb2rgb.o                        \
3
+                                   x86/swscale_mmx.o                    \
4
+                                   x86/yuv2rgb_mmx.o                    \
5
+
6
+YASM-OBJS                       += x86/input.o                          \
7
+                                   x86/output.o                         \
8
+                                   x86/scale.o                          \