summaryrefslogtreecommitdiffstats
path: root/src/util/Makefile.sources
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2014-12-12 13:55:30 -0800
committerCarl Worth <[email protected]>2015-01-16 13:47:40 -0800
commita24bdce46f95cbe9efd3b26f157d1eb36584861f (patch)
treef5e328a4556593bec7b2a8f0c13bd723c19be7df /src/util/Makefile.sources
parent670826b431202fa7cceab9ca86fa21747a1be16c (diff)
mesa: Add mesa SHA-1 functions
The upcoming shader cache uses the SHA-1 algorithm for cryptographic naming. These new mesa_sha1 functions are implemented with any one of several differeny cryptographics libraries. This code was copied from the xserver repository, (where it has apparently been functioning well on a variety of operating systems), and comes licensed with a license identical to that of Mesa. Bug fixes by José Fonseca <[email protected]>: Fix to put conditional assignment in Makefile.am, not Makefile.sources to avoid breaking scons build. Fix include file for CryptoAPI section. Fix missing cast in openssl section. Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/util/Makefile.sources')
-rw-r--r--src/util/Makefile.sources4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/Makefile.sources b/src/util/Makefile.sources
index 154677aa47d..4e54c74600c 100644
--- a/src/util/Makefile.sources
+++ b/src/util/Makefile.sources
@@ -1,3 +1,7 @@
+MESA_UTIL_SHA1_FILES := \
+ sha1.c \
+ sha1.h
+
MESA_UTIL_FILES := \
format_srgb.h \
hash_table.c \