summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2015-08-22automake: build all drivers but vc4 during distcheckEmil Velikov1-1/+3
vc4 conflicts with ilo, when build on x86 as it's build for emulation purposes. In that mode a i965-like symbol is exported by vc4, which conflicts with the ilo one in the gallium-dri megadriver. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-03-24makefile: add all headers to the tarballEmil Velikov1-6/+9
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2015-02-18automake: Use AM_DISTCHECK_CONFIGURE_FLAGSEmil Velikov1-1/+1
Currently we use DISTCHECK_CONFIGURE_FLAGS, which is reserved for the user. As with other variables, one should use the AM_ variable within the makefile. Cc: "10.5" <mesa-stable@lists.freedesktop.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2014-12-17mesa: Remove tarballs/checksum rules.Matt Turner1-75/+0
2014-12-17mesa: Set DISTCHECK_CONFIGURE_FLAGS.Matt Turner1-0/+13
Enable some non-default options that distros are likely to use.
2014-12-12mesa: Add autogen.sh to distribution.Matt Turner1-0/+1
2014-12-12mesa: Add scons files to distribution.Matt Turner1-1/+4
2014-12-12docs: Add to distribution.Matt Turner1-5/+4
2014-12-12mesa: Add a dist hook to remove .gitignore files from distribution.Matt Turner1-0/+5
2014-12-12include: Add remaining headers to distribution.Matt Turner1-0/+7
2014-09-03build: Rename md5 to checksums as part of .PHONY targetCarl Worth1-1/+1
In commit 46d03d37bf3a75e86f9f8ab56c6a939d04f23383 I renamed a Makefile target from md5 to checksums, (as we switched from MD5 checksums to SHA-256 checksums, so the more general name is more future proof). But that commit missed one mention of "md5" as a dependency of the .PHONY target. Rename that here as well.
2014-09-02Revert "mesa: fix make tarballs"Emil Velikov1-1/+0
This reverts commit 0fbb9a599df898d4e1166d6d6f00cb34a0524bea. Rather than adding hacks around the issue drop the sources from the final tarball, and re-add them back with 'make dist'. This fixes a problem when running parallel 'make install' fails as it recreates sources and triggers partial recompilation. Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83355 Reported-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Tested-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Tested-by: Kai Wasserbäch <kai@dev.carbon-project.org>
2014-09-01mesa: fix make tarballsEmil Velikov1-1/+1
Current method of generating distribution tar-balls involves manually invoking make + target name in the appropriate places. This temporary solution is used until we get 'make dist' working. Currently it does not work, as in order to have the target (which is also a filename) available in the final Makefile we need to add a PHONY target + use the correct target name. Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2014-08-21Makefile: Switch from md5sums to sha256sumsCarl Worth1-5/+5
We switched to these several stable releases ago, (since the MD5 algorithm has been broken for some time), but only now did I get around to fixing this in the Makefile rather than just performing this step manually. CC: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
2013-12-13Makefile: Add bin/test-driver to EXTRA_FILESCarl Worth1-0/+1
I'm not sure why this change is necessary. When I've built previous tar files (such as 9.2.4) with the "make tarballs" target, they include the bin/test-driver file. But at my first attempt to build the tar files for the 10.0.1 release this file was not being included and the build failed. (cherry picked from commit d573899b932435b0b37a7a33ebcbdc3c8cedd3e1) [The cherry pick is because I original applied this on the 10.0 branch while working on the 10.0.1 release. But if we don't have this on master as well, this issue will trip us up again the next time we make a new major-release branch off of master.]
2013-12-03automake: include only one copy VERSION in tarballEmil Velikov1-1/+0
The VERSION file is tracked by git (git ls-files), thus adding it to EXTRA_FILES will result in a duplicate copy within the final tarball. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72230 Cc: "10.0" <mesa-stable@lists.freedesktop.org> Reported-by: Patrick Steinhardt <ps@pks.im> Tested-by: Patrick Steinhardt <ps@pks.im> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2013-11-06mesa: Build program as part of libmesa.Matt Turner1-1/+1
2013-08-02Makefile.am: Remove api_exec_es* from EXTRA_FILES.Matt Turner1-6/+0
These files were removed in commits a0102154 and a8ab7e33. Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
2013-07-29build: unify mesa version by using a VERSION fileEmil Velikov1-0/+1
Rather than having to keep track of all the build systems and their respecitve definition of the mesa version, use a single top file VERSION. Every build system is responsible for reading/parsing the file and using it v2: * remove useless bulletpoint from the documentation, suggested by Matt * "Androing is Linux. Use '/' in stead of '\'", spotted by Chad V * use cleaner code to get the version in scons, suggested by Chad V v3: * ensure leading and trailing whitespace characters are stripped while parsing * android: handle GNU shell commands approapriately Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2013-07-22build: Add tests directories to SUBDIRSMatt Turner1-6/+0
Fixes a problem with distcheck.
2013-06-06build: Use PACKAGE_VERSION from autoconfAndreas Boll1-1/+0
Both variables had the same value. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-06build: Unify PACKAGE_VERSION on autotools, scons and AndroidAndreas Boll1-1/+1
This patch unifies mesa's PACKAGE_VERSION on autotools, scons and Android build systems. Current behaviour is: - Autotools uses 9.2.0 as PACKAGE_VERSION - Scons and Android use 9.2-devel as PACKAGE_VERSION With this patch all three build systems use 9.2.0-devel as PACKAGE_VERSION. Reviewed-by: Brian Paul <brianp@vmware.com>
2013-01-31mesa: bump version to 9.2 (devel)Andreas Boll1-1/+1
Now that branch 9.1 is created, bump the minor version in master. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-01-22glsl/build: Build tests via the glsl MakefileMatt Turner1-1/+0
Tested-by: Andreas Boll <andreas.boll.dev@gmail.com>
2013-01-22glsl/build: Build glcpp via the glsl MakefileMatt Turner1-4/+3
Removing the subdirectory recursion provides a small speed up. Tested-by: Andreas Boll <andreas.boll.dev@gmail.com>
2013-01-10Remove configs/{current,default}Matt Turner1-18/+0
2012-11-26build: use git ls-files for adding all Makefile.in into the release tarballAndreas Boll1-51/+1
Until we have proper 'make dist' this is an improvement of the current situation, because each time some old Makefiles got converted to automake we had to update the tarballs target. NOTE: This is a candidate for the 9.0 branch. Cc: Eric Anholt <eric@anholt.net> Acked-by: Matt Turner <mattst88@gmail.com>
2012-11-16build: add missing Makefile.in files to tarballs targetAndreas Boll1-0/+3
Those are recently introduced on master. Reviewed-by: Matt Turner <mattst88@gmail.com>
2012-11-16build: fix make tarballs targetAndreas Boll1-1/+1
fixes regression introduced in 907844107252260c646aca361191ef7f121f3d23 Targets for making lex.yy.c program_parse.tab.c and program_parse.tab.h got moved into its own Makefile Reviewed-by: Matt Turner <mattst88@gmail.com>
2012-11-14build: add missing files to tarballs targetAndreas Boll1-0/+6
fixes errors ./configure and make was complaining about NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Matt Turner <mattst88@gmail.com>
2012-11-14build: add missing Makefile.in files to tarballs targetAndreas Boll1-1/+50
fixes errors ./configure was complaining about NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Matt Turner <mattst88@gmail.com>
2012-11-14build: add config.sub and config.guess to tarballs targetAndreas Boll1-0/+2
fixes errors ./configure was complaining about NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Matt Turner <mattst88@gmail.com>
2012-10-25build: Ship install-sh in the tarballMatt Turner1-0/+1
Fixes the problem where configure from the tarball would report missing files: $ ./configure configure: error: cannot find install-sh, install.sh, or shtool in bin NOTE: This is a candidate for the 9.0 branch.
2012-09-27build: Use AX_PTHREAD to detect pthreadsMatt Turner1-0/+2
NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Adam Jackson <ajax@redhat.com>
2012-09-09mesa: bump version to 9.1 (devel)Andreas Boll1-1/+1
Now that branch 9.0 is created, bump the minor version in master. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2012-08-31mesa: also bump version in Makefile.am and configure.ac to 9.0Andreas Boll1-1/+1
Signed-off-by: Brian Paul <brianp@vmware.com>
2012-08-08mesa/tests: Add tests for the generated shared-glapi dispatch tableIan Romanick1-0/+1
These are largely based on the src/mapi/glapi/tests. However, shared-glapi provides less external visibility into the dispatch table, so there is less to test. Also, shared-glapi does not implement _glapi_get_proc_name, so that test was removed. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2012-07-13automake: convert libglslJon TURNEY1-3/+3
v2: Use AM_V_GEN to silence generated code rules. Add BUILT_SOURCES to CLEANFILES v3: - Fix an accidental // in a path - Use automake make rules for lex/yacc rather than writing our own - Update .gitignore appropriately - Build a libglcpp convenience library rather than awkwardly including the files in libglsl and delegating the generation - Remove libglsl.a compatibility link on clean v4: - Automake's rules for lex/yacc make .cc if source is .ll or .yy, and apparently we must use those extensions "because of scons", so update everywhere glsl_parser.cpp -> glsl_parser.cc and glsl_lexer.cpp -> glsl_lexer.cc. This fixes 'make tarballs' and building with dricore enabled. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Matt Turner <mattst88@gmail.com>
2012-06-21automake: Directly generate configs/current instead of symlinking from it.Eric Anholt1-1/+0
2012-06-13mesa/tests: Add tests for the generated dispatch tableIan Romanick1-0/+1
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2012-06-13mesa/tests: Add tests for _mesa_lookup_enum_by_{name,nr} functionsIan Romanick1-0/+1
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2012-06-13glx: Move tests from tests/glx to src/glx/testsIan Romanick1-3/+2
This matches the organization of other unit tests in Mesa. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2012-06-11automake: Move top-level makefile to automake.Eric Anholt1-0/+124
This is part of a series to fix our build issues in the automake case by hooking up the automatic Makefile regeneration support. The extract_git_sha1 is moved into src/mesa/Makefile so that we get correct dependency generation. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>