From 1cd2b9177e7092aafc9223949c484aee1d249524 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 6 Dec 2014 20:21:20 -0800 Subject: [PATCH] util: Add headers and python scripts for distribution. --- src/gallium/auxiliary/Makefile.sources | 1 - src/util/Makefile.am | 1 + src/util/Makefile.sources | 10 +++++++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/Makefile.sources b/src/gallium/auxiliary/Makefile.sources index ab794e16441..3460482c1ae 100644 --- a/src/gallium/auxiliary/Makefile.sources +++ b/src/gallium/auxiliary/Makefile.sources @@ -165,7 +165,6 @@ C_SOURCES := \ translate/translate_generic.c \ translate/translate_sse.c \ util/dbghelp.h \ - util/u_atomic.h \ util/u_bitmask.c \ util/u_bitmask.h \ util/u_blend.h \ diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 8d5f90e9798..53a273e4cd4 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -39,6 +39,7 @@ libmesautil_la_SOURCES = \ BUILT_SOURCES = $(MESA_UTIL_GENERATED_FILES) CLEANFILES = $(BUILT_SOURCES) +EXTRA_DIST = format_srgb.py format_srgb.c: $(srcdir)/format_srgb.py $(AM_V_GEN) $(PYTHON2) $< > $@ diff --git a/src/util/Makefile.sources b/src/util/Makefile.sources index 9e274241d27..5f87fc32a82 100644 --- a/src/util/Makefile.sources +++ b/src/util/Makefile.sources @@ -1,10 +1,18 @@ MESA_UTIL_FILES := \ + format_srgb.h \ hash_table.c \ + hash_table.h \ + macros.h \ ralloc.c \ + ralloc.h \ register_allocate.c \ register_allocate.h \ rgtc.c \ - strtod.cpp + rgtc.h \ + strtod.cpp \ + strtod.h \ + texcompress_rgtc_tmp.h \ + u_atomic.h MESA_UTIL_GENERATED_FILES = \ format_srgb.c -- 2.30.2