blob: 67b6563fbb294d0b6a9d7306779b6638805ee5f6 [file] [log] [blame]
Eric Anholt8c641832009-03-26 17:15:11 -07001# Copyright © 2005 Adam Jackson.
2# Copyright © 2009 Intel Corporation
3#
4# Permission is hereby granted, free of charge, to any person obtaining a
5# copy of this software and associated documentation files (the "Software"),
6# to deal in the Software without restriction, including without limitation
7# on the rights to use, copy, modify, merge, publish, distribute, sub
8# license, and/or sell copies of the Software, and to permit persons to whom
9# the Software is furnished to do so, subject to the following conditions:
10#
11# The above copyright notice and this permission notice (including the next
12# paragraph) shall be included in all copies or substantial portions of the
13# Software.
14#
15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
18# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
Matt Turnerc73eab92013-02-08 19:36:53 +000022ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
Damien Lespiau3b0f8032012-07-25 16:04:32 +010023
Damien Lespiau54357082013-01-21 23:02:36 +000024SUBDIRS = lib man tools scripts benchmarks demos
25
26if BUILD_ASSEMBLER
27SUBDIRS += assembler
28endif
Ben Widawsky62873792011-06-24 11:42:03 -070029
Gaetan Nadon4768adf2012-01-10 17:25:24 -050030if BUILD_SHADER_DEBUGGER
31SUBDIRS += debugger
32endif
Daniel Vetter20ff3832011-10-30 22:27:19 +010033
Rodrigo Vivi7c170722013-02-05 16:17:54 -020034if BUILD_TESTS
35SUBDIRS += tests
36endif
37
Daniel Vetter20ff3832011-10-30 22:27:19 +010038test:
39 ${MAKE} -C tests test
Gaetan Nadon27e12942012-01-03 21:12:20 -050040
41MAINTAINERCLEANFILES = ChangeLog INSTALL
42
43.PHONY: ChangeLog INSTALL
44
45INSTALL:
46 $(INSTALL_CMD)
47
48ChangeLog:
49 $(CHANGELOG_CMD)
50
51dist-hook: ChangeLog INSTALL