José Fonseca
57d00016ca
glew: Initial import.
From glew 1.5.1 release.
pirms 16 gadiem
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.
pirms 17 gadiem
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.
pirms 17 gadiem
Dan Nicholson
013dbcd611
Add -fno-strict-aliasing workaround for Linux GCC targets
Most Linux distros work around aliasing problems in Mesa by compiling
with the GCC option -fno-strict-aliasing. Two examples:
https://bugs.freedesktop.org/show_bug.cgi?id=6046
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394311
This makes -fno-strict-aliasing the default with a comment that
developers should consider commenting it out. There is a already a note
about these bugs in docs/helpwanted.html.
pirms 18 gadiem
José Fonseca
1d2ff452d4
Expand pkg-config flags before invoking the compiler.
This allows IDEs such as Eclipse to get the correct c-preprocessor flags used
from the build output.
pirms 18 gadiem
Dave Airlie
b2dde0a783
miniglx: update defines in linux-solo config
pirms 18 gadiem
Brian
ae5f67575d
Makefile clean-ups for miniglx.
pirms 18 gadiem
Ian Romanick
a7d0256745
When available, which is most of the time, use posix_memalign to implement
_mesa_align_malloc and friends.
pirms 19 gadiem
Brian Paul
883f9891cb
LIB_DIR is now just 'lib' or 'lib64'
Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets.
Patch by Hanno Böck.
pirms 19 gadiem
Alan Hourihane
fbcb37cac5
remove i830
pirms 19 gadiem
Jon Smirl
33f5e47faf
Remove EGL from linux-solo makefile
pirms 20 gadiem
Jon Smirl
4ce390b933
Commit Ian's fixes from Bug 3877
I have tested these on miniglx and they seem to be working.
I'm sure Dave will give them a better test.
pirms 20 gadiem
Ian Romanick
5c6fd3dd4c
No, really, get rid of all the remaining references to DRI_USE_NEW_INTERFACE.
A couple other remnants of the old interfaces hit the dust too. Thanks
Jon. :)
pirms 20 gadiem
Dave Airlie
69509641a8
make egl build first so we don't get wierd drivers linking to libs not available
yet
pirms 20 gadiem
Dave Airlie
978d2fda3c
make linux-solo and linux-solo-x86 config files hierarchical
pirms 20 gadiem
Jon Smirl
7012d01d88
First attempt at getting egl support up on dumb framebuffer.
Seems to be mostly working. Not all of egl API is implemented.
pirms 20 gadiem
Jon Smirl
8af7ff1ded
Improve the DRI fb driver, now it compiles.
Added code to support NEW_INTERFACE.
It still doesn't work. Made it build from make linux-solo.
pirms 20 gadiem
Jon Smirl
576caad33e
Minor changes to make linux-solo build again
pirms 20 gadiem
Keith Whitwell
de4fe1e3c5
Add DRM_USE_MALLOC flag
pirms 20 gadiem
Dave Airlie
f11d6d4cb4
add -DUSE_EXTERNAL_DXTN_LIB=1 so compressed textures are enabled for solo
pirms 20 gadiem
Keith Whitwell
da3e15c2fd
Get linux-solo dependencies building correctly,
Make sure symlinks are built in driver directories before running makedepend.
pirms 21 gadiem
Adam Jackson
61702d4afe
Add glx/x11 to the DRI configs, and change the Solo configs to build glx/mini.
pirms 21 gadiem
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.
pirms 21 gadiem
Brian Paul
d84f09306c
Replace -lGL with -l$(GL_LIB), etc.
Remove GLU_LIB_DEPS, OSMESA_LIB_DEPS lines if identical to 'default' file.
pirms 21 gadiem
Jon Smirl
368f3c551b
Fix mesa-solo config to define _GNU_SOURCE so that program_invocation_short_name
will be correctly defined.
pirms 21 gadiem
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.
pirms 21 gadiem
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.
pirms 21 gadiem
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.
pirms 21 gadiem
Brian Paul
adcb228fed
linux-solo-ia64 config (Stephane Marchesin)
pirms 21 gadiem
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.
pirms 21 gadiem
Dave Airlie
ec5f71d0f3
make solo work like before new makefile merge
pirms 21 gadiem
Brian Paul
a70ad91209
new system configurations
pirms 21 gadiem