Commit Graph

256 Commits

Author SHA1 Message Date
Brian Paul fafc36920e cell: add -DDEBUG flag, fixes to Cell Makefiles 2008-09-03 09:31:36 -06:00
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.
2008-09-03 09:08:46 -06:00
Brian Paul b5ab3b7dfc cell: use SDK 3.0 by default 2008-08-26 14:10:29 -06:00
Alan Hourihane ccf1910dd4 consolidate intel directories.
we now have

src/gallium/winsys/drm/intel/{common,dri,egl}
2008-08-17 20:17:18 +01:00
Alan Hourihane 3eeafb7179 choose sane default for dri driver location 2008-08-17 19:12:54 +01:00
Jakob Bornecrantz e59086ab91 EGL: Only build EGL dri based drivers under linux-dri based configs 2008-07-13 18:05:20 +02:00
Brian Paul 7986baf7cf build egl subdirs 2008-07-11 15:45:03 -06:00
Jakob Bornecrantz 5de823c00b gallium: Re-order the GALLIUM_AUXILIARY_DIRS to satisfy dependencies on util 2008-07-10 22:41:34 +02:00
Brian Paul a452e0cbde gallium: re-order the GALLIUM_AUXILIARY_DIRS to satisfy .a interdependencies
libutil.a and libtranslate.a depend on libcso_cache.a so put them in that order.
2008-07-10 13:28:22 -06:00
Jakob Bornecrantz 80ab4c3f8c mesa: Do not compile the dri drivers in mesa 2008-06-08 17:29:56 +02:00
Jakob Bornecrantz 3d514a9070 gallium: Only build intel_drm for linux-dri targets 2008-06-06 16:50:52 +02:00
Jakob Bornecrantz adbdabb85a i915: Moved pipe_buffer and i915_winsys functions to a common folder 2008-06-06 14:49:02 +02:00
Brian Paul b11aad2abe build egl_xlib/ too (softpipe_egl.so library) 2008-06-05 14:41:28 -06:00
Brian Paul e7725e136f egl: build libEGL and softpipe_egl.so by default 2008-06-05 14:12:27 -06:00
Alan Hourihane c218b8c6c6 Build with -O2 2008-06-04 09:56:00 +01:00
Jakob Bornecrantz a3dbd412df Merge branch 'gallium-i915-current' into gallium-0.1 2008-05-23 16:26:14 +02:00
Jakob Bornecrantz a22462f6ef egl: Don't build EGL programs either 2008-05-23 16:25:51 +02:00
Jakob Bornecrantz 2064826bda egl: Stoped compiling EGL completely 2008-05-23 16:18:42 +02:00
Jakob Bornecrantz 9395fb6e8d mesa: Added linux-egl target, that only builds the i915simple driver and egl drivers 2008-05-23 11:02:14 +02:00
Jakob Bornecrantz 3972961e62 mesa: On second thought lets not build the driver 2008-05-23 11:02:14 +02:00
Zack Rusin 6f25d6d48d disable egl by default 2008-05-22 22:13:38 -04:00
Jakob Bornecrantz 6c78b8e97b mesa: Made linux-dri targets build EGL 2008-05-14 17:20:56 +02:00
Keith Whitwell 59ba8ea00b gallium: reorder libs so that translate can see rtasm 2008-04-18 18:32:37 +01:00
Keith Whitwell 08861688d3 gallium: add translate directory 2008-04-15 15:07:50 +01:00
Ian Romanick 542e3464a4 cell: Enable MIT-SHM on Cell. 2008-03-25 18:15:58 -07:00
Brian d5692cb349 gallium: new surface/context tracker (sct) module
Will be used for tracking the surfaces and textures which are bound/used by
contexts.
2008-03-10 17:22:18 -06:00
José Fonseca 2d38d1b300 Remove files of unsupported build systems. 2008-02-25 17:11:28 +09:00
Ian Romanick d119931002 Cell: Add missing "gallium/winsys" to SRC_DIRS to fix build. 2008-02-19 09:43:47 -08:00
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.
2008-02-19 14:06:11 +09:00
José Fonseca df8ab3140c Bring rtasm from mesa to gallium. 2008-02-19 14:01:49 +09:00
José Fonseca 0448dbd64a Update for llvm -> gallivm rename. 2008-02-18 12:33:34 +00:00
José Fonseca 1f2d011786 Build glx/x11. 2008-02-18 15:45:29 +09:00
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.
2008-02-18 14:25:04 +09:00
Ian Romanick 71071b7a9e Cell: Add missing back-slash in linux-cell config file 2008-02-15 10:36:48 -08:00
Ian Romanick eb3f7aa6f8 Cell: Add INCLUDE_DIRS to SPU_CFLAGS to fix build. 2008-02-15 10:33:12 -08:00
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.
2008-02-15 17:50:12 +09:00
Brian 59e7bfd5ac Cell: add OPT_FLAGS var 2008-01-28 18:18:46 -07:00
Brian 7d0421d6cd Cell: s/-W/-Wall/ in linux-cell 2008-01-24 17:04:54 -07:00
Ian Romanick b3492a2052 Use HOST_CC for programs that will run on the build host 2008-01-23 15:25:52 -08:00
Ian Romanick ffcb4d8498 Use EXTRA_LIB_PATH with *_LIB_DEPS
Make sure EXTRA_LIB_PATH is used with all the LIB_DEPS.  Re-order some
of the options and tweak the whitespace to make the various LIB_DEPS
more readable.  This makes building for Cell on x86 a bit easier and
doesn't seem to effect other builds.
2008-01-23 15:25:52 -08:00
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.
2008-01-23 15:25:52 -08:00
Zack Rusin 9789c301b4 llvm: we need custom rules so had to redo the build a little bit
also don't use sse when llvm is enabled
2008-01-04 09:27:42 -05:00
Brian 1613c49c98 Cell: added -Wmissing-prototypes to SPU_CFLAGS 2008-01-03 09:57:12 -07:00
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.
2007-12-11 12:43:50 -08:00
Ian Romanick bfb43e8e79 Remove '-include altivec.h'.
Including altivec.h caused problems in some places that use "pixel" as a
variable name.
2007-12-11 12:41:12 -08:00
Zack Rusin 63a9d835ce Redo the fragment program examples to match vp's
we just load text files instead of compiling tons of small
binaries
2007-12-11 09:49:34 -05:00
Brian 36ef54deae remove -Wall, add -DGALLIUM_CELL 2007-12-10 14:10:29 -07:00
Brian 5935626818 Add dependency checking for Cell driver sources. 2007-12-05 14:57:19 -07:00
Brian 91692fce20 added -fPIC 2007-12-02 15:34:27 -07:00
Brian c27082995d don't build libglw 2007-12-02 15:34:14 -07:00