José Fonseca
90b2beb661
Simplify makefile boilerplate code.
Don't define ASM_SOURCES variable globally -- reserve that variable to be defined
locally by makefiles, together with C_SOURCES and CPP_SOURCES.
17 vuotta sitten
Dan Nicholson
c3b5adaa9a
configs: Always use -fPIC for shared libraries, never for static
Mesa currently disables -fPIC for DRI on x86, but most Linux distros are
re-enabling -fPIC for all DRI arches. Let's just do that here since
that's normally what's wanted for shared libraries. Some justification:
http://bugs.gentoo.org/show_bug.cgi?id=110840#c9
On the other hand, position-independent code is only necessary when
building shared libraries, so disable it for the static cases.
18 vuotta sitten
Brian Paul
28569c25f6
use ASM_API variable, bug 4415
20 vuotta sitten
Dave Airlie
978d2fda3c
make linux-solo and linux-solo-x86 config files hierarchical
20 vuotta sitten
Keith Whitwell
de4fe1e3c5
Add DRM_USE_MALLOC flag
20 vuotta sitten
Dave Airlie
f11d6d4cb4
add -DUSE_EXTERNAL_DXTN_LIB=1 so compressed textures are enabled for solo
20 vuotta sitten
Keith Whitwell
da3e15c2fd
Get linux-solo dependencies building correctly,
Make sure symlinks are built in driver directories before running makedepend.
21 vuotta sitten
Adam Jackson
61702d4afe
Add glx/x11 to the DRI configs, and change the Solo configs to build glx/mini.
21 vuotta sitten
Adam Jackson
312c68fab3
Add DRI_LIB_DEPS for the DRI drivers to link against. Remove expat from the
link list for libGL itself under DRI configurations, since the XML parsing
code is in the drivers themselves.
21 vuotta sitten
Brian Paul
d84f09306c
Replace -lGL with -l$(GL_LIB), etc.
Remove GLU_LIB_DEPS, OSMESA_LIB_DEPS lines if identical to 'default' file.
21 vuotta sitten
Dave Airlie
e520b72e89
Add a solo-x86 config, and make solo use the x86 glapi
21 vuotta sitten
Jon Smirl
368f3c551b
Fix mesa-solo config to define _GNU_SOURCE so that program_invocation_short_name
will be correctly defined.
21 vuotta sitten
Jon Smirl
5500094413
Convert miniglx to use Ian's fancy new driver config code.
This removes the miniglx driver function InitContextModes().
All of the server directories were edited to remove the implementations.
21 vuotta sitten
Jon Smirl
aaebfc88c0
Patch removes _SOLO definition needed for mesa-solo. mesa-solo
uses the NEW_INTERFACE now so _SOLO isn't necessary anymore.
Tested with the hardware that I own.
21 vuotta sitten
Jon Smirl
c2bffec91a
Mesa-solo builds with these changes. There are still more fixups needed to
get individual drivers working again. This converts miniglx to the new
dri interface. Thanks to Erdi Chen for the new interface code.
21 vuotta sitten
Brian Paul
adcb228fed
linux-solo-ia64 config (Stephane Marchesin)
21 vuotta sitten
Keith Whitwell
e61df58729
First attempt at building a dri module in this tree
-- make target is linux-dri
-- will attempt to build i830_dri.so
The object builds but hasn't been tested.
21 vuotta sitten
Dave Airlie
ec5f71d0f3
make solo work like before new makefile merge
21 vuotta sitten
Brian Paul
a70ad91209
new system configurations
21 vuotta sitten