diff options
author | Jason Ekstrand <[email protected]> | 2016-08-22 14:10:46 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-08-25 15:29:48 -0700 |
commit | bebc1a1d995e33f173ea207848bcddd81f6dd19a (patch) | |
tree | cae7542194008f8f78845a2a495bb39d3add3b39 /src/intel/Makefile.am | |
parent | c19fc5e0198cbc1eead3db9672d51c56c1aa3f1d (diff) |
intel: Flatten the makefile structure
This pulls isl and genxml into a single make file so that they can properly
build in parallel. This isn't terribly important now as genxml just
generates sources which happens serially first anyway but it will be more
important as we add more stuff to src/intel.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/intel/Makefile.am')
-rw-r--r-- | src/intel/Makefile.am | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/src/intel/Makefile.am b/src/intel/Makefile.am index 520602dd290..3b7d2f3a85b 100644 --- a/src/intel/Makefile.am +++ b/src/intel/Makefile.am @@ -19,4 +19,39 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. -SUBDIRS = genxml isl +include Makefile.sources + +# The gallium includes are for the util/u_math.h include from main/macros.h +AM_CPPFLAGS = \ + -I$(top_srcdir)/include \ + -I$(top_builddir)/src \ + -I$(top_srcdir)/src \ + -I$(top_builddir)/src/intel \ + -I$(top_srcdir)/src/intel \ + -I$(top_srcdir)/src/mapi \ + -I$(top_srcdir)/src/mesa \ + -I$(top_srcdir)/src/mesa/drivers/dri/i965 \ + -I$(top_srcdir)/src/gallium/auxiliary \ + -I$(top_srcdir)/src/gallium/include \ + $(INTEL_CFLAGS) \ + $(VALGRIND_CFLAGS) \ + $(DEFINES) + +AM_CFLAGS = \ + $(VISIBILITY_CFLAGS) \ + -Wno-override-init + +MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D) +PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) + +noinst_LTLIBRARIES = +check_PROGRAMS = +TESTS = +BUILT_SOURCES = +CLEANFILES = +EXTRA_DIST = + +include Makefile.genxml.am +include Makefile.isl.am + +CLEANFILES += $(BUILT_SOURCES) |