2007-07-29 02:32:45 -06:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2007/07/29 08:32:45 matthieu Exp $
|
2006-11-26 04:21:13 -07:00
|
|
|
|
2007-04-07 09:37:50 -06:00
|
|
|
DEBUG?=
|
|
|
|
|
2006-11-26 04:21:13 -07:00
|
|
|
LIB= GLw
|
|
|
|
|
2007-07-28 07:50:48 -06:00
|
|
|
CPPFLAGS += -I${X11BASE}/include \
|
2007-07-29 02:32:45 -06:00
|
|
|
-I${.CURDIR}
|
2006-11-26 04:21:13 -07:00
|
|
|
|
|
|
|
SRCS= \
|
2007-07-28 07:50:48 -06:00
|
|
|
GLwDrawA.c \
|
|
|
|
GLwDAUtil.c \
|
|
|
|
GLwM1DrawA.c \
|
|
|
|
GLwM2DrawA.c
|
2006-11-26 04:21:13 -07:00
|
|
|
|
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:
|
2007-07-28 07:50:48 -06:00
|
|
|
cd ${.CURDIR}; for i in ${INCS}; do \
|
2006-11-29 07:45:19 -07:00
|
|
|
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>
|
|
|
|
|