# $NetBSD: Makefile.defines,v 1.4 2019/01/10 09:10:31 mrg Exp $ # common defiles for libdrm components CPPFLAGS+= \ -DHAVE_INTTYPES_H \ -DHAVE_OPEN_MEMSTREAM \ -DHAVE_VISIBILITY \ -DHAVE_SETENV \ -DHAVE_STDINT_H \ -DHAVE_STRINGS_H \ -DHAVE_STRING_H \ -DHAVE_SYS_STAT_H \ -DHAVE_SYS_SYSCTL_H \ -DHAVE_SYS_TYPES_H \ -DHAVE_UNISTD_H # NetBSD has __sync_*(). CPPFLAGS+= -DHAVE_LIBDRM_ATOMIC_PRIMITIVES \ CPPFLAGS+= -DHAVE_NOUVEAU \ -DHAVE_AMDGPU \ -DHAVE_RADEON COPTS+= -fvisibility=hidden |