Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / lib / dri7 / r300 / Makefile
blob12226dd231d6ba3ff8f388649d379113627cff0e
1 # $NetBSD: Makefile,v 1.1 2015/01/05 03:45:31 mrg Exp $
3 MODULE= r300
5 CPPFLAGS+= -DCOMPILE_R300 -DR200_MERGED=0 \
6 -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R300 \
7 -DRADEON_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
21 SRCS= \
22 radeon_bo_legacy.c \
23 radeon_buffer_objects.c \
24 radeon_common_context.c \
25 radeon_common.c \
26 radeon_cs_legacy.c \
27 radeon_dma.c \
28 radeon_debug.c \
29 radeon_fbo.c \
30 radeon_lock.c \
31 radeon_mipmap_tree.c \
32 radeon_pixel_read.c \
33 radeon_queryobj.c \
34 radeon_span.c \
35 radeon_texture.c \
36 radeon_tex_copy.c \
37 radeon_tex_getimage.c \
38 radeon_tile.c
40 SRCS+= \
41 radeon_screen.c \
42 r300_blit.c \
43 r300_context.c \
44 r300_draw.c \
45 r300_cmdbuf.c \
46 r300_state.c \
47 r300_render.c \
48 r300_tex.c \
49 r300_texstate.c \
50 r300_vertprog.c \
51 r300_fragprog_common.c \
52 r300_shader.c \
53 radeon_mesa_to_rc.c \
54 r300_emit.c \
55 r300_swtcl.c
57 SRCS+= \
58 radeon_cs_space_drm.c \
59 radeon_bo.c \
60 radeon_cs.c
62 # r300/compiler
63 SRCS+= \
64 radeon_code.c \
65 radeon_compiler.c \
66 radeon_compiler_util.c \
67 radeon_emulate_branches.c \
68 radeon_emulate_loops.c \
69 radeon_program.c \
70 radeon_program_print.c \
71 radeon_opcodes.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 \
79 radeon_dataflow.c \
80 radeon_dataflow_deadcode.c \
81 radeon_dataflow_swizzles.c \
82 radeon_list.c \
83 radeon_optimize.c \
84 radeon_remove_constants.c \
85 radeon_rename_regs.c \
86 radeon_variable.c \
87 r3xx_fragprog.c \
88 r300_fragprog.c \
89 r300_fragprog_swizzle.c \
90 r300_fragprog_emit.c \
91 r500_fragprog.c \
92 r500_fragprog_emit.c \
93 r3xx_vertprog.c \
94 r3xx_vertprog_dump.c \
95 memory_pool.c
97 # glsl
98 SRCS+= ralloc.c
100 # mesa/program
101 SRCS+= register_allocate.c
103 LIBDPLIBS+= drm_radeon ${.CURDIR}/../../libdrm_radeon
105 # uses C99 variable decl scoping
106 CFLAGS+= -std=c99
108 CWARNFLAGS.clang+= -Wno-empty-body -Wno-format -Wno-constant-conversion \
109 -Wno-constant-logical-operand
111 .include "${.CURDIR}/../dri.mk"