xenocara/lib/libGLw/Makefile
matthieu 99503146e2 Bring in GLw from XF4, to replace the Mesa version. This version
has Motif support enabled using a couple of hacks that Mesa didn't
pick up. ok mbalmer@
2007-07-28 13:50:48 +00:00

40 lines
636 B
Makefile

# $OpenBSD: Makefile,v 1.6 2007/07/28 13:50:48 matthieu Exp $
DEBUG?=
LIB= GLw
CPPFLAGS += -I${X11BASE}/include \
-I${.CURDIR} -DUSE_XM_STUBS
SRCS= \
GLwDrawA.c \
GLwDAUtil.c \
GLwM1DrawA.c \
GLwM2DrawA.c
INCS= \
GLwDrawA.h \
GLwDrawAP.h \
GLwMDrawA.h \
GLwMDrawAP.h
obj: _xenocara_obj
includes:
cd ${.CURDIR}; 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
beforeinstall: includes
NOPROFILE=
.include <bsd.lib.mk>
.include <bsd.xorg.mk>