1 # $NetBSD: Makefile,v 1.1 2015/01/05 03:45:31 mrg Exp $
5 CPPFLAGS
+= -DCOMPILE_R300
-DR200_MERGED
=0 \
6 -DRADEON_COMMON
=1 -DRADEON_COMMON_FOR_R300 \
8 CPPFLAGS
+= -DHAVE_LIBDRM_RADEON
10 CPPFLAGS
+= -I
${X11SRCDIR.MesaLib7
}/src
/mesa
/drivers
/dri
/r300 \
11 -I
${X11SRCDIR.MesaLib7
}/src
/mesa
/drivers
/dri
/r300
/compiler \
12 -I
${X11SRCDIR.MesaLib7
}/src
/mesa
/drivers
/dri
/radeon \
13 -I
${X11SRCDIR.MesaLib7
}/src
/mesa
/drivers
/dri
/radeon
/server \
14 -I
${X11SRCDIR.MesaLib7
}/src
/glsl
16 DRI_EXTRA_PATHS
= ${X11SRCDIR.MesaLib7
}/src
/mesa
/drivers
/dri
/radeon \
17 ${X11SRCDIR.MesaLib7
}/src
/mesa
/drivers
/dri
/r300
/compiler \
18 ${X11SRCDIR.MesaLib7
}/src
/glsl \
19 ${X11SRCDIR.MesaLib7
}/src
/mesa
/program
23 radeon_buffer_objects.c \
24 radeon_common_context.c \
31 radeon_mipmap_tree.c \
37 radeon_tex_getimage.c \
51 r300_fragprog_common.c \
58 radeon_cs_space_drm.c \
66 radeon_compiler_util.c \
67 radeon_emulate_branches.c \
68 radeon_emulate_loops.c \
70 radeon_program_print.c \
72 radeon_program_alu.c \
73 radeon_program_pair.c \
74 radeon_program_tex.c \
75 radeon_pair_translate.c \
76 radeon_pair_schedule.c \
77 radeon_pair_regalloc.c \
78 radeon_pair_dead_sources.c \
80 radeon_dataflow_deadcode.c \
81 radeon_dataflow_swizzles.c \
84 radeon_remove_constants.c \
85 radeon_rename_regs.c \
89 r300_fragprog_swizzle.c \
90 r300_fragprog_emit.c \
92 r500_fragprog_emit.c \
94 r3xx_vertprog_dump.c \
101 SRCS
+= register_allocate.c
103 LIBDPLIBS
+= drm_radeon
${.CURDIR
}/..
/..
/libdrm_radeon
105 # uses C99 variable decl scoping
108 CWARNFLAGS.clang
+= -Wno-empty-body
-Wno-format
-Wno-constant-conversion \
109 -Wno-constant-logical-operand
111 .
include "${.CURDIR}/../dri.mk"