xenocara/lib/libGL/dri/Makefile

27 lines
571 B
Makefile

# $OpenBSD: Makefile,v 1.10 2010/05/27 06:25:45 matthieu Exp $
SUBDIR= swrast
.if ${MACHINE} == i386 || ${MACHINE} == amd64
SUBDIR+= i810 i915 i965 radeon r200 r300
.endif
build depend all install clean cleandir: _SUBDIRUSE
MESA_INCLUDE= ${.CURDIR}/../../../dist/Mesa/include
INCS = \
dri_interface.h
includes:
cd ${MESA_INCLUDE}/GL/internal; for i in ${INCS}; do \
j="cmp -s $$i ${DESTDIR}${INCSDIR}/GL/internal/$$i || \
${INSTALL_DATA} $$i ${DESTDIR}${INCSDIR}/GL/internal"; \
echo "\tinstalling $$i"; \
eval "$$j"; \
done
.include <bsd.xorg.mk>