Eric Anholt | 8c64183 | 2009-03-26 17:15:11 -0700 | [diff] [blame] | 1 | # 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 Turner | c73eab9 | 2013-02-08 19:36:53 +0000 | [diff] [blame] | 22 | ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4 |
Damien Lespiau | 3b0f803 | 2012-07-25 16:04:32 +0100 | [diff] [blame] | 23 | |
Damien Lespiau | 5435708 | 2013-01-21 23:02:36 +0000 | [diff] [blame^] | 24 | SUBDIRS = lib man tools scripts benchmarks demos |
| 25 | |
| 26 | if BUILD_ASSEMBLER |
| 27 | SUBDIRS += assembler |
| 28 | endif |
Ben Widawsky | 6287379 | 2011-06-24 11:42:03 -0700 | [diff] [blame] | 29 | |
Gaetan Nadon | 4768adf | 2012-01-10 17:25:24 -0500 | [diff] [blame] | 30 | if BUILD_SHADER_DEBUGGER |
| 31 | SUBDIRS += debugger |
| 32 | endif |
Daniel Vetter | 20ff383 | 2011-10-30 22:27:19 +0100 | [diff] [blame] | 33 | |
Rodrigo Vivi | 7c17072 | 2013-02-05 16:17:54 -0200 | [diff] [blame] | 34 | if BUILD_TESTS |
| 35 | SUBDIRS += tests |
| 36 | endif |
| 37 | |
Daniel Vetter | 20ff383 | 2011-10-30 22:27:19 +0100 | [diff] [blame] | 38 | test: |
| 39 | ${MAKE} -C tests test |
Gaetan Nadon | 27e1294 | 2012-01-03 21:12:20 -0500 | [diff] [blame] | 40 | |
| 41 | MAINTAINERCLEANFILES = ChangeLog INSTALL |
| 42 | |
| 43 | .PHONY: ChangeLog INSTALL |
| 44 | |
| 45 | INSTALL: |
| 46 | $(INSTALL_CMD) |
| 47 | |
| 48 | ChangeLog: |
| 49 | $(CHANGELOG_CMD) |
| 50 | |
| 51 | dist-hook: ChangeLog INSTALL |