blob: 74557bf026313cabdfa99a433d7b48dd95800d65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $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
|