There are still some distributions trying to support unfortunate people with old or exotic CPUs that don't have 64bit atomic operations. When compiling for such a machine, gcc conveniently inserts a library call to a helper, but it's implementation is missing and we get a linker error. This allows us to provide our own implementation, which is marked weak to prefer a better implementation, should one exist. v2: changed copyright, some style adjustments v3: [mattst88] Print results with AC_MSG_CHECKING/AC_MSG_RESULT Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93089 Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
60 lines
863 B
Makefile
60 lines
863 B
Makefile
MESA_UTIL_FILES := \
|
|
bitscan.c \
|
|
bitscan.h \
|
|
bitset.h \
|
|
build_id.c \
|
|
build_id.h \
|
|
crc32.c \
|
|
crc32.h \
|
|
debug.c \
|
|
debug.h \
|
|
disk_cache.c \
|
|
disk_cache.h \
|
|
format_r11g11b10f.h \
|
|
format_rgb9e5.h \
|
|
format_srgb.h \
|
|
half_float.c \
|
|
half_float.h \
|
|
hash_table.c \
|
|
hash_table.h \
|
|
list.h \
|
|
macros.h \
|
|
mesa-sha1.c \
|
|
mesa-sha1.h \
|
|
sha1/sha1.c \
|
|
sha1/sha1.h \
|
|
ralloc.c \
|
|
ralloc.h \
|
|
rand_xor.c \
|
|
rand_xor.h \
|
|
register_allocate.c \
|
|
register_allocate.h \
|
|
rgtc.c \
|
|
rgtc.h \
|
|
rounding.h \
|
|
set.c \
|
|
set.h \
|
|
simple_list.h \
|
|
slab.c \
|
|
slab.h \
|
|
string_to_uint_map.cpp \
|
|
string_to_uint_map.h \
|
|
strndup.h \
|
|
strtod.c \
|
|
strtod.h \
|
|
texcompress_rgtc_tmp.h \
|
|
u_atomic.c \
|
|
u_atomic.h \
|
|
u_endian.h \
|
|
u_queue.c \
|
|
u_queue.h \
|
|
u_string.h \
|
|
u_thread.h \
|
|
u_vector.c \
|
|
u_vector.h \
|
|
vk_alloc.h \
|
|
vk_util.h
|
|
|
|
MESA_UTIL_GENERATED_FILES = \
|
|
format_srgb.c
|