xenocara/lib/mesa/mk/libradeonsi/Makefile

105 lines
2.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2024/04/02 10:42:13 jsg Exp $
LIB= radeonsi
NOPROFILE=
SRCS= gfx10_shader_ngg.c \
gfx11_query.c \
si_blit.c \
si_buffer.c \
si_clear.c \
si_compute.c \
si_compute_blit.c \
si_cp_dma.c \
si_cp_reg_shadowing.c \
si_debug.c \
si_descriptors.c \
si_fence.c \
si_get.c \
si_gfx_cs.c \
si_gpu_load.c \
si_perfcounter.c \
si_pipe.c \
si_pm4.c \
si_query.c \
si_nir_lower_abi.c \
si_nir_lower_resource.c \
si_nir_lower_vs_inputs.c \
si_nir_optim.c \
si_sdma_copy_image.c \
si_shader.c \
si_shader_aco.c \
si_shader_info.c \
si_shader_llvm.c \
si_shader_llvm_gs.c \
si_shader_llvm_ps.c \
si_shader_llvm_tess.c \
si_shader_llvm_vs.c \
si_shader_nir.c \
si_shaderlib_nir.c \
si_shaderlib_tgsi.c \
si_sqtt.c \
si_state.c \
si_state_binning.c \
si_state_msaa.c \
si_state_shaders.cpp \
si_state_streamout.c \
si_state_viewport.c \
si_test_image_copy_region.c \
si_test_dma_perf.c \
si_texture.c \
si_utrace.c \
si_uvd.c \
radeon_uvd.c \
radeon_uvd_enc.c \
radeon_uvd_enc_1_1.c \
radeon_vce.c \
radeon_vce_40_2_2.c \
radeon_vce_50.c \
radeon_vce_52.c \
radeon_vcn.c \
radeon_vcn_dec.c \
radeon_vcn_dec_jpeg.c \
radeon_vcn_enc.c \
radeon_vcn_enc_1_2.c \
radeon_vcn_enc_2_0.c \
radeon_vcn_enc_3_0.c \
radeon_vcn_enc_4_0.c \
radeon_video.c
SRCS+= si_perfetto.cpp \
si_tracepoints.c
.include "../Makefile.inc"
CFLAGS+= ${C_VIS_ARGS}
CXXFLAGS+= ${CXX_VIS_ARGS}
CPPFLAGS+= -DGALLIUM_RADEONSI \
-I${MESA_SRC}/src/gallium/drivers/radeonsi \
-I${MESA_SRC}/src/gallium/include \
-I${MESA_SRC}/src/gallium/auxiliary \
-I${MESA_SRC}/src/gallium/drivers \
-I${MESA_SRC}/src/mesa \
-I${MESA_SRC}/src/util \
-I${MESA_SRC}/src/amd/common \
-I${MESA_SRC}/src/amd/compiler \
-I${MESA_SRC}/src/amd/llvm \
-I${MESA_SRC}/src/compiler \
-I${MESA_SRC}/src/compiler/nir \
-I${MESA_SRC}/generated/src \
-I${MESA_SRC}/generated/src/compiler \
-I${MESA_SRC}/generated/src/compiler/nir \
-I${MESA_SRC}/generated/src/amd/common \
-I${MESA_SRC}/generated/src/gallium/drivers/radeonsi
install:
obj: _xenocara_obj
.include <bsd.lib.mk>
.include <bsd.xorg.mk>
.PATH: ${MESA_SRC}/src/gallium/drivers/radeonsi
.PATH: ${MESA_SRC}/src/gallium/drivers/radeon
.PATH: ${MESA_SRC}/generated/src/gallium/drivers/radeonsi