Commit graph

22 commits

Author SHA1 Message Date
Dave Airlie
81fe19843a llvmpipe: add initial autoconf support.
allows the swrastg_dri.so to be built with llvmpipe, also links llvm
to all dri drivers

use --enable-gallium-llvm to use it.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-24 18:55:50 +10:00
Chris Li
8260e9a821 gallium/llvmpipe: add PROGS target/rule to Makefile.template
So other directory can share it.
Also remove the libllvmpipe.a dependency from test
programs. It is not needed any more.

Signed-Off-By: Christopher Li <chrisl@vmware.com>
2010-03-26 15:56:02 -07:00
George Sapountzis
59629b413a Revert "Makefile.template: respect LIBRARY_DEFINES in mkdep"
This reverts commit 9ec29e3191.
2010-03-21 15:32:50 +02:00
George Sapountzis
9ec29e3191 Makefile.template: respect LIBRARY_DEFINES in mkdep 2010-03-21 13:21:45 +02:00
Brian Paul
f89c237c2c gallium: added GENERATED_SOURCES var to Makefile.template
For use in dependency checking and make clean.
2010-02-26 12:32:04 -07:00
Brian Paul
ac56a44d5e Revert "gallium: remove unneeded -I path from Makefile.templast"
This reverts commit d9c65ddd52.

Looks like the nouveau drivers need this.  Perhaps the drivers
could be fixed to add the extra -I path where needed.  I'll leave
that up to others.
2010-02-26 10:54:20 -07:00
Brian Paul
d9c65ddd52 gallium: remove unneeded -I path from Makefile.templast 2010-02-26 10:44:41 -07:00
Brian Paul
1332ee5487 gallium: remove extra -I paths from Makefile.template 2010-02-24 15:09:57 -07:00
Brian Paul
ccd78fed88 gallium: remove $(DEFINES) from cc/c++ command lines
The $(DEFINES) is already in $(CFLAG)S and (CXXFLAGS).
This prevents all the -D args appearing twice in the compilation commands.
2010-02-24 12:03:59 -07:00
Chris Li
a8f4904fb3 gallium: Adding the %.s rule to generate asm code
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-09 17:19:30 +00:00
Chris Li
62d1e40e0d gallium: Using the proper pattern rules for Makefile template.
The .o.c rule is consider obsolete.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-09 17:19:30 +00:00
José Fonseca
c847a13d38 gallium: Generate a single library for auxiliaries with Make too. 2010-01-01 12:16:19 +00:00
Brian Paul
4522cdbfdd gallium: fix tags target in Makefile.template 2009-08-19 13:17:58 -06:00
Nicolai Hähnle
188f8c6792 r300g: Use r300compiler for vertex shaders 2009-07-30 23:45:18 +02:00
Jakob Bornecrantz
d9602e5144 gallium: Improve makefiles for libraries
The template makefile that most libraries in
	gallium included was based on dri and had a bunch
	unrelevant junk in it.

	Update it and improve the depending makefiles.
2009-02-20 10:22:10 +00:00
Jakob Bornecrantz
be0a6c3598 gallium: Stop relinking drivers and aux libraries 2009-02-02 14:18:50 +01:00
José Fonseca
b9da3791c9 Remove src/mesa and src/mesa/main from gallium source include paths. 2008-02-19 15:07:53 +09:00
José Fonseca
687a8b96ef Standardize on using the pipe/ include prefix. 2008-02-18 20:02:42 +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
José Fonseca
66f22aa3bf Code reorganization: s/aux/auxiliary/ -- update build. 2008-02-15 20:11:40 +09: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
José Fonseca
b642730be9 Code reorganization: move files into their places.
This is in a separate commit to ensure renames are properly preserved.
2008-02-15 17:45:40 +09:00
Renamed from src/mesa/pipe/Makefile.template (Browse further)