2009-05-17 14:20:23 -06:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2009/05/17 20:20:23 matthieu Exp $
|
2009-01-28 09:10:44 -07:00
|
|
|
|
2008-11-02 08:01:32 -07:00
|
|
|
SUBDIR= swrast
|
|
|
|
|
|
|
|
.if ${MACHINE} == i386 || ${MACHINE} == amd64
|
|
|
|
SUBDIR+= i810 i915 i965 mach64 mga r128 \
|
2009-01-10 09:01:10 -07:00
|
|
|
r200 r300 radeon s3v savage sis tdfx trident
|
2008-11-02 08:01:32 -07:00
|
|
|
.endif
|
|
|
|
.if ${MACHINE} == sparc64
|
|
|
|
SUBDIR+= mach64 r128 r200 r300 radeon
|
|
|
|
.endif
|
2007-12-04 15:00:27 -07:00
|
|
|
|
2008-02-02 10:24:30 -07:00
|
|
|
build depend all install clean cleandir: _SUBDIRUSE
|
2008-01-06 11:34:38 -07:00
|
|
|
|
2008-11-02 08:01:32 -07:00
|
|
|
MESA_INCLUDE= ${.CURDIR}/../../../dist/Mesa/include
|
|
|
|
|
|
|
|
INCS = \
|
2009-05-17 14:20:23 -06:00
|
|
|
dri_interface.h
|
2008-11-02 08:01:32 -07:00
|
|
|
|
|
|
|
includes:
|
|
|
|
cd ${MESA_INCLUDE}/GL/internal; for i in ${INCS}; do \
|
|
|
|
j="cmp -s $$i ${DESTDIR}${INCSDIR}/GL/internal/$$i || \
|
|
|
|
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
|
|
$$i ${DESTDIR}${INCSDIR}/GL/internal"; \
|
|
|
|
echo "\tinstalling $$i"; \
|
|
|
|
eval "$$j"; \
|
|
|
|
done
|
|
|
|
|
2008-01-06 11:34:38 -07:00
|
|
|
.include <bsd.xorg.mk>
|
|
|
|
|
2007-12-04 15:00:27 -07:00
|
|
|
|