2015-01-25 08:09:12 -07:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2015/01/25 15:09:12 jsg Exp $
|
2007-12-04 15:00:27 -07:00
|
|
|
|
2015-01-25 08:09:12 -07:00
|
|
|
MESA=${.CURDIR}/../../../../dist/Mesa/src/mesa
|
|
|
|
.include "${MESA}/drivers/dri/r200/Makefile.sources"
|
2010-05-22 14:14:14 -06:00
|
|
|
|
2015-01-25 08:09:12 -07:00
|
|
|
LIB= r200_dri.so
|
2007-12-04 15:00:27 -07:00
|
|
|
|
2015-01-25 08:09:12 -07:00
|
|
|
SRCS = \
|
|
|
|
$(COMMON_SOURCES) \
|
|
|
|
$(R200_C_FILES)
|
2007-12-04 15:00:27 -07:00
|
|
|
|
2010-05-22 14:14:14 -06:00
|
|
|
DRIVER_DEFINES = -DRADEON_R200 \
|
2013-06-27 08:53:50 -06:00
|
|
|
-DHAVE_LIBDRM_RADEON \
|
2010-05-22 14:14:14 -06:00
|
|
|
-DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R200 \
|
2007-12-04 15:00:27 -07:00
|
|
|
-I$(MESA)/drivers/dri/r200 \
|
|
|
|
-I$(MESA)/drivers/dri/r200/server \
|
|
|
|
-I$(MESA)/drivers/dri/radeon \
|
|
|
|
-I$(MESA)/drivers/dri/radeon/server
|
|
|
|
|
|
|
|
.include <bsd.xorg.mk>
|
|
|
|
|
2011-11-23 14:07:12 -07:00
|
|
|
LDADD+= -ldrm_radeon
|
|
|
|
|
2007-12-04 15:00:27 -07:00
|
|
|
.PATH: $(MESA)/drivers/dri/r200
|
|
|
|
.PATH: $(MESA)/drivers/dri/radeon
|