56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.5 2024/04/02 10:42:13 jsg Exp $
|
|
|
|
LIB= intel_common
|
|
|
|
NOPROFILE=
|
|
|
|
SRCS= i915_intel_engine.c \
|
|
i915_intel_gem.c \
|
|
xe_intel_engine.c \
|
|
xe_intel_gem.c \
|
|
intel_aux_map.c \
|
|
intel_batch_decoder.c \
|
|
intel_decoder.c \
|
|
intel_disasm.c \
|
|
intel_engine.c \
|
|
intel_gem.c \
|
|
intel_l3_config.c \
|
|
intel_measure.c \
|
|
intel_mem.c \
|
|
intel_sample_positions.c \
|
|
intel_urb_config.c \
|
|
intel_uuid.c
|
|
|
|
SRCS+= intel_clflushopt.c
|
|
CFLAGS+= -mclflushopt
|
|
|
|
i915_intel_engine.c:
|
|
ln -s ${MESA_SRC}/src/intel/common/i915/intel_engine.c $@
|
|
i915_intel_gem.c:
|
|
ln -s ${MESA_SRC}/src/intel/common/i915/intel_gem.c $@
|
|
xe_intel_engine.c:
|
|
ln -s ${MESA_SRC}/src/intel/common/xe/intel_engine.c $@
|
|
xe_intel_gem.c:
|
|
ln -s ${MESA_SRC}/src/intel/common/xe/intel_gem.c $@
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
CFLAGS+= ${C_VIS_ARGS} ${NO_OVERRIDE_INIT_ARGS} ${C_SSE2_ARGS}
|
|
CPPFLAGS+= -I${MESA_SRC}/src/intel \
|
|
-I${MESA_SRC}/src/intel/common \
|
|
-I${MESA_SRC}/generated/src \
|
|
-I${MESA_SRC}/generated/src/intel
|
|
|
|
install:
|
|
|
|
obj: _xenocara_obj
|
|
|
|
.include <bsd.lib.mk>
|
|
.include <bsd.xorg.mk>
|
|
|
|
.PATH: ${MESA_SRC}/src/intel/common
|
|
|
|
CLEANFILES+= i915_intel_engine.c \
|
|
i915_intel_gem.c \
|
|
xe_intel_engine.c \
|
|
xe_intel_gem.c
|