blob: e20af30c414b206e0e0daba1cf2ce2e3d67d76aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.1.1.1 2006/06/13 23:44:09 reed Exp $
PKGNAME= glx-utils-${MESA_VERSION}
CATEGORIES= x11 graphics
COMMENT= OpenGL glxgears and glxinfo
PATCHDIR= ${.CURDIR}/patches
DISTINFO_FILE= ${.CURDIR}/distinfo
.include "../../graphics/Mesa/Makefile.common"
DISTNAME= MesaDemos-${MESA_VERSION}
WRKSRC= ${WRKDIR}/Mesa-${MESA_VERSION}
USE_LANGUAGES= c c++
INSTALLATION_DIRS= bin
do-build:
cd ${WRKSRC}/progs/xdemos && \
${SETENV} ${MAKE_ENV} ${CC} -I../../include ${CFLAGS} \
${PTHREAD_CFLAGS} glxgears.c ${LDFLAGS} ${PTHREAD_LDFLAGS} \
-L../../lib -lGLU -lGL -lm -lXext ${PTHREAD_LIBS} \
-o glxgears && \
${SETENV} ${MAKE_ENV} ${CC} -I../../include ${CFLAGS} \
${PTHREAD_CFLAGS} glxinfo.c ${LDFLAGS} ${PTHREAD_LDFLAGS} \
-L../../lib -lGLU -lGL -lm -lXext ${PTHREAD_LIBS} -o glxinfo
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxgears ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxinfo ${PREFIX}/bin/
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|