José Fonseca
7bbf7f94ea
scons: Build progs together with everything else.
This is a substantial reorganization, This particular commit enables:
- building the progs for unices platforms
- glew is now built as a shared library (it is the default, and it is
inconvenient and pointless to shift away from that default)
- all progs get built by default
vor 15 Jahren
José Fonseca
97e2c5ac0b
scons: Expose convienience libraries to the host environment.
This fixes MinGW cross compilation build, recently broken due to the use
of convenience libraries in the GLSL preprocessor.
vor 15 Jahren
José Fonseca
491f384c39
scons: Get GLSL code building correctly when cross compiling.
This is quite messy. GLSL code has to be built twice: one for the
host OS, another for the target OS.
vor 15 Jahren
Jakob Bornecrantz
60769b232c
svga: Build svga driver
vor 15 Jahren
Jakob Bornecrantz
47cbbb7253
i965g: Builds with scons
But there are some missing symbols, "nm -u i965_dri.so"
[SNIP]
U brw_surface_bo
U brw_surface_pitch
U brw_texture_blanket_winsys_buffer
U brw_texture_get_winsys_buffer
U brw_update_dirty_counts
[SNIP]
vor 15 Jahren
Jakob Bornecrantz
f00da2a3ff
i915g: Drop the simple sufix
None of the other driver have a silly sufix,
so just drop it. Nothing new added in this commit
or any other commit but this is better marketing.
vor 16 Jahren
Jakob Bornecrantz
c4b821a4c6
i965g: Drop i965simple
The driver never work with real hardware and has
bitrotted for quite some time now, might as well
drop it. If somebody wants to look at it just use git.
vor 16 Jahren
José Fonseca
946f432a08
llvmpipe: Fork softpipe for experimentation with llvm.
vor 16 Jahren
Michel Dänzer
d22bd1421c
Add support for building the Xorg state tracker with scons.
scons ... statetrackers=xorg
vor 16 Jahren
Jakob Bornecrantz
d60b2c6855
identity: Add new identity driver
This driver does no transformation of the gallium calls
going to the real driver, like the identity matrix. It is
intended to be the basis for transforming and/or debug
drivers like trace and rbug.
Authors of this patch are:
Michal Krol, orignal heavy lifting.
José Fonesca, object wrapping code stolen from trace.
Jakob Bornecrantz, put it all toghether and renamed a stuff.
vor 16 Jahren
José Fonseca
0d0417cc75
scons: Don't use deprecated Options.
vor 16 Jahren
José Fonseca
e9fb90ab88
scons: Don't use deprecated Options.
vor 16 Jahren
Corbin Simpson
b7ffe1e876
Add scons build support for radeon/r300.
vor 16 Jahren
Michel Dänzer
2b6235c9f7
scons: Also link in additional LLVM components.
They don't seem necessary here, but they shouldn't hurt either...
vor 16 Jahren
Jakob Bornecrantz
056f847e96
gallium: Also disable i965simple for scons
Please read previous commit for more info.
vor 16 Jahren
Corbin Simpson
e9b08e7373
Make r300 and amd build in scons.
vor 16 Jahren
José Fonseca
9bf83fb016
scons: Build the progs into seperate dirs as well.
vor 16 Jahren
Michel Dänzer
359bbe7432
gallivm: Explicitly specify the LLVM components we need.
vor 16 Jahren
Michel Dänzer
6b69e3c717
scons: ppc support.
vor 17 Jahren
Jonathan White
3c81992676
Added command line option for Scons to select which version of MSVS to use. Versions 7.1, 8.0 and 9.0 are allowed. Usage is scons MSVS_VERSION=8.0.
vor 17 Jahren
José Fonseca
f52db6cd44
scons: Build the trace pipe driver by default.
vor 17 Jahren
José Fonseca
35355f7610
trace: New pipe driver to trace incoming calls.
Only pipe_screen calls traced, and only linux supported, for now.
vor 17 Jahren
José Fonseca
2c4349aa3a
python: Move the python scons code to a separate tool module.
vor 17 Jahren
José Fonseca
6410e94b96
python: New state tracker which exposes the pipe driver to python scripts.
Still under development. Just barely works.
vor 17 Jahren
José Fonseca
fb4361a93d
scons: Fix typo.
vor 17 Jahren
José Fonseca
18953a8771
scons: Don't force MSVS 2003.
vor 17 Jahren
José Fonseca
b04aa714af
scons: Put the tool logic in a frontend tool.
More logic can be shared between public and private branches this way.
vor 17 Jahren
Jonathan White
fe1a2d1fff
egl: assorted fixes for Windows
Note that int32_t is typedef'd both in p_compiler.h and eglplatform.h
vor 17 Jahren
José Fonseca
5a67df6d7c
scons: Integrate gdi winsys.
Conditional build of the winsys based on the platform.
vor 17 Jahren
José Fonseca
ffc6afcdbf
scons: Enable mesa state tracker in all platforms by default.
But only actually build it on some. This results in a better default
scons experience.
vor 17 Jahren
José Fonseca
b215d7d10c
scons: Play nice with MS Embedded Visual C++.
vor 17 Jahren
José Fonseca
658f5e7213
scons: A few fixes for building mesa on windows.
vor 17 Jahren
José Fonseca
a7ce6d3992
scons: More windows userspace fixes.
vor 17 Jahren
José Fonseca
35460fc91c
scons: Teach scons about user-land windows.
Actually, more like get rid of all our hacks when compiling for
user-land windows.
Only MSVC is supported atm though.
vor 17 Jahren
José Fonseca
4f17bd270e
scons: Faithfully mimic every WINDDK builtin compiler/linker option.
vor 17 Jahren
José Fonseca
5aa108214a
scons: Preliminary code for quieting command lines.
vor 17 Jahren
Michel Dänzer
72c9d4a660
gallium: Only use C++ compiler for linking when using LLVM.
Otherwise, the shared objects needlessly link against the C++ runtime
environment.
vor 17 Jahren
José Fonseca
9a76798112
scons: Force C++ linkage.
We have some C++ code (LLVM), which must be linked with g++ on certain
platforms. SCons tries to guess when to use g++ by looking to the source files,
but this fails, if the C++ code is not list in the command line, but inside in
the library.
vor 17 Jahren
José Fonseca
13174c195e
scons: Make command line arguments effective again.
vor 17 Jahren
José Fonseca
9409043c58
scons: Move common code to a separate file.
vor 17 Jahren
José Fonseca
67099cd7b9
scons: Autodetect the default machine.
vor 17 Jahren
José Fonseca
a6044bdf74
Revert "scons: Prefer MSVS 2003 (patch by Mark Mueller)."
This reverts commit 19f6e1a975
.
vor 17 Jahren
José Fonseca
19f6e1a975
scons: Prefer MSVS 2003 (patch by Mark Mueller).
vor 17 Jahren
José Fonseca
6d336588ed
scons: Properly generate PDB files on MSVC.
vor 17 Jahren
José Fonseca
c8b069cc1e
Get more debugging info out of MSVC.
vor 17 Jahren
José Fonseca
efd336887f
Cleanup scons files.
vor 17 Jahren
José Fonseca
e70a431c3d
A few more tweaks to get correct WINDDK compilation.
vor 17 Jahren
José Fonseca
58a3d7dfd9
Revamp scons usage.
vor 17 Jahren
José Fonseca
26c57d1630
Avoid building problematic module/drivers on windows.
vor 17 Jahren
José Fonseca
d710a7cfb2
Windows (DDK) compilation support.
It also works when cross compiling with Wine.
vor 17 Jahren