2007-04-07 09:37:50 -06:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2007/04/07 15:37:50 matthieu Exp $
|
2006-11-26 04:21:13 -07:00
|
|
|
|
|
|
|
DIST= ${.CURDIR}/../../dist/Mesa
|
|
|
|
GLW= ${DIST}/src/glw
|
|
|
|
|
2007-04-07 09:37:50 -06:00
|
|
|
DEBUG?=
|
|
|
|
|
2006-11-26 04:21:13 -07:00
|
|
|
LIB= GLw
|
|
|
|
|
|
|
|
CPPFLAGS += -I${DIST}/include \
|
|
|
|
-I${X11BASE}/include
|
|
|
|
|
|
|
|
SRCS= \
|
|
|
|
GLwDrawA.c
|
|
|
|
|
2006-11-29 07:45:19 -07:00
|
|
|
INCS= \
|
|
|
|
GLwDrawA.h \
|
|
|
|
GLwDrawAP.h \
|
|
|
|
GLwMDrawA.h \
|
|
|
|
GLwMDrawAP.h
|
|
|
|
|
2006-12-02 09:28:48 -07:00
|
|
|
obj: _xenocara_obj
|
|
|
|
|
2006-11-29 07:45:19 -07:00
|
|
|
includes:
|
|
|
|
cd ${GLW}; for i in ${INCS}; do \
|
|
|
|
j="cmp -s $$i ${DESTDIR}${INCSDIR}/GL/$$i || \
|
|
|
|
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
|
|
$$i ${DESTDIR}${INCSDIR}/GL"; \
|
|
|
|
echo "\tinstalling $$i"; \
|
|
|
|
eval "$$j"; \
|
|
|
|
done
|
|
|
|
|
2006-11-29 11:03:09 -07:00
|
|
|
beforeinstall: includes
|
|
|
|
|
|
|
|
NOPROFILE=
|
|
|
|
|
2006-11-26 04:21:13 -07:00
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.include <bsd.xorg.mk>
|
|
|
|
|
|
|
|
.PATH: ${GLW}
|