2016-10-10 07:27:14 -06:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2016/10/10 13:27:14 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
|
|
|
|
|
2008-02-12 14:09:25 -07:00
|
|
|
MESA_MAJOR= 7
|
2012-08-17 09:16:44 -06:00
|
|
|
MESA_MINOR= 11
|
|
|
|
MESA_TINY= 2
|
2008-02-12 14:09:25 -07:00
|
|
|
|
2007-07-28 07:50:48 -06:00
|
|
|
CPPFLAGS += -I${X11BASE}/include \
|
2016-10-10 07:27:14 -06:00
|
|
|
-I${.CURDIR} -I${.CURDIR}/GL
|
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:
|
2016-10-10 07:27:14 -06:00
|
|
|
cd ${.CURDIR}/GL; for i in ${INCS}; do \
|
2006-11-29 07:45:19 -07:00
|
|
|
j="cmp -s $$i ${DESTDIR}${INCSDIR}/GL/$$i || \
|
2010-05-08 08:15:29 -06:00
|
|
|
${INSTALL_DATA} $$i ${DESTDIR}${INCSDIR}/GL"; \
|
2006-11-29 07:45:19 -07:00
|
|
|
echo "\tinstalling $$i"; \
|
|
|
|
eval "$$j"; \
|
|
|
|
done
|
|
|
|
|
2006-11-29 11:03:09 -07:00
|
|
|
beforeinstall: includes
|
|
|
|
|
2016-10-08 13:29:18 -06:00
|
|
|
NOPROFILE=
|
|
|
|
|
2016-10-08 13:09:34 -06:00
|
|
|
PKGCONFIG= glw.pc
|
|
|
|
PACKAGE_VERSION=$(MESA_MAJOR).$(MESA_MINOR).$(MESA_TINY)
|
|
|
|
EXTRA_PKGCONFIG_SUBST= \
|
|
|
|
-e 's,@INSTALL_DIR@,$(X11BASE),' \
|
|
|
|
-e 's,@LIB_DIR@,lib,' \
|
|
|
|
-e 's,@VERSION@,$(PACKAGE_VERSION),' \
|
2006-11-29 11:03:09 -07:00
|
|
|
|
2006-11-26 04:21:13 -07:00
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.include <bsd.xorg.mk>
|
|
|
|
|