Brian Paul
cb504a026c
cell: add glsl to SRC_DIRS
15 lat temu
Jakob Bornecrantz
d67bd60ecf
gallium: s/GALLIUM_DRIVER_DIRS/GALLIUM_DRIVERS_DIRS/
16 lat temu
Brian Paul
0996a23e3d
cell: asst build fixes in linux-cell config
Add -D_SVID_SOURCE to silence warnings when building glx files.
Don't build the non-gallium drivers.
16 lat temu
Jakob Bornecrantz
7fad277bbb
Revert "cell: update linux-cell config"
This reverts commit 22c6c1eaad
.
Need to revert this since we reverted commited this depended on.
16 lat temu
Brian Paul
22c6c1eaad
cell: update linux-cell config
16 lat temu
José Fonseca
57d00016ca
glew: Initial import.
From glew 1.5.1 release.
16 lat temu
Brian Paul
a129c7268a
cell: fix breakage from xlib re-org
Some of these fixes are quick band-aids for now.
16 lat temu
Brian Paul
4356d349ad
cell: only build Cell and softpipe drivers
17 lat temu
Brian Paul
a35210b516
cell: added -Wmissing-prototypes
17 lat temu
Brian Paul
2b9b42befa
cell: added -D_BSD_SOURCE flag
Needed to get MAP_ANONYMOUS in execmem.c and to define timezone type in glxgears.c
Adding -std=c99 earlier caused this regression.
17 lat temu
Brian Paul
82477e485d
cell: add -std=c99 flag to solve some warning/prototype issues
17 lat temu
Brian Paul
a4e477433f
cell: implement more built-in shader functions, link spu code with -lm
17 lat temu
Brian Paul
90c93bbeee
define new APP_CC configuration variable for building apps/demos/tests
For Cell, need to use different compilers for the libraries vs. the demos/tests
to avoid strange link error regarding "_Unwind_GetIPInfo@GCC_4.2.0"
17 lat temu
Brian Paul
ab93aa774e
Cell: added linux-cell-debug config
linux-cell is now the optimized configuration.
Remove some Cell-specific stuff from winsys/xlib/Makefile.
17 lat temu
Brian Paul
b5ab3b7dfc
cell: use SDK 3.0 by default
17 lat temu
Ian Romanick
542e3464a4
cell: Enable MIT-SHM on Cell.
17 lat temu
Ian Romanick
d119931002
Cell: Add missing "gallium/winsys" to SRC_DIRS to fix build.
17 lat temu
José Fonseca
bfd5916eaf
Code reorganization: split gallium and mesa makefiles.
In other words, don't build src/gallium source code from within src/mesa/Makefile.
Also, allow to customize which gallium auxiliary dirs, driver driver, winsys
dirs get built from the config/* files.
17 lat temu
Ian Romanick
71071b7a9e
Cell: Add missing back-slash in linux-cell config file
17 lat temu
Ian Romanick
eb3f7aa6f8
Cell: Add INCLUDE_DIRS to SPU_CFLAGS to fix build.
17 lat temu
José Fonseca
6acd63a498
Code reorganization: update build.
Update the Makefiles and includes for the new paths.
Note that there hasn't been no separation of the Makefiles yet, and make is
jumping all over the place. That will be taken care shortly. But for now, make
should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm
might require some minor tweaks.
17 lat temu
Brian
1c65928d84
Cell: add OPT_FLAGS var
17 lat temu
Brian
59e7bfd5ac
Cell: add OPT_FLAGS var
17 lat temu
Brian
7d0421d6cd
Cell: s/-W/-Wall/ in linux-cell
17 lat temu
Ian Romanick
b3492a2052
Use HOST_CC for programs that will run on the build host
17 lat temu
Ian Romanick
eb4a7382dc
Remove unnecessary paths
Removing the paths on certain commands (e.g., ppu32-gcc) and removing
-I/usr/include makes it possible to build for Cell on both PowerPC and
x86 hosts.
17 lat temu
Brian
1613c49c98
Cell: added -Wmissing-prototypes to SPU_CFLAGS
17 lat temu
Ian Romanick
9a0fe23d49
Port to libspe2
libspe is deprecated in Cell SDK 2.1, and it is removed in Cell SDK 3.0.
This patch ports the existing libspe-based code to libspe2. Some error
checking (eh-hem) would be nice.
17 lat temu
Ian Romanick
bfb43e8e79
Remove '-include altivec.h'.
Including altivec.h caused problems in some places that use "pixel" as a
variable name.
17 lat temu
Brian
36ef54deae
remove -Wall, add -DGALLIUM_CELL
17 lat temu
Brian
6f44a21348
Add dependency checking for Cell driver sources.
17 lat temu
Brian
264f64fd89
added -fPIC
18 lat temu
Brian
0d2ba87b54
don't build libglw
18 lat temu
Brian
1698cbde30
Initial Cell driver infrastructure.
No real code yet. Just stand-ins and make/build infrastructure.
18 lat temu
Brian
5935626818
Add dependency checking for Cell driver sources.
17 lat temu
Brian
91692fce20
added -fPIC
18 lat temu
Brian
c27082995d
don't build libglw
18 lat temu
Brian
88b715b049
Initial Cell driver infrastructure.
No real code yet. Just stand-ins and make/build infrastructure.
18 lat temu