Merge branch 'nouveau-gallium-0.1' into darktama-gallium-0.1
[mesa.git] / configs / linux-cell
1 # linux-cell
2
3 include $(TOP)/configs/default
4
5 CONFIG_NAME = linux-cell
6
7
8 # Compiler and flags
9 CC = /usr/bin/ppu32-gcc
10 CXX = /usr/bin/ppu32-g++
11
12 # Cell SDK location
13 SDK = /opt/ibm/cell-sdk/prototype/sysroot/usr
14
15
16 CFLAGS = -g -W -Wall -Winline -fPIC -m32 -mabi=altivec -maltivec -I. -I/usr/include -I$(SDK)/include -include altivec.h
17
18 CXXFLAGS = $(CFLAGS)
19
20 # Omitting glw here:
21 SRC_DIRS = mesa glu glut/glx
22
23
24 MKDEP_OPTIONS = -fdepend -Y
25
26
27 GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread \
28 -L$(SDK)/lib -m32 -Wl,-m,elf32ppc -R$(SDK)/lib -lspe
29
30
31
32 ### SPU stuff
33
34 SPU_CC = /usr/bin/spu-gcc
35
36 SPU_CFLAGS = -g -W -Wall -Winline -Wno-main -I. -I $(SDK)/spu/include -include spu_intrinsics.h -I $(TOP)/src/mesa/
37
38 SPU_LFLAGS = -L$(SDK)/spu/lib -Wl,-N -lmisc
39
40 SPU_AR = /usr/bin/ar
41 SPU_AR_FLAGS = -qcs
42
43 SPU_EMBED = /usr/bin/embedspu
44 SPU_EMBED_FLAGS = -m32