40 lines
980 B
Makefile
40 lines
980 B
Makefile
|
# $NetBSD: Makefile,v 1.3 2013/06/02 11:02:40 mbalmer Exp $
|
||
|
|
||
|
.include <bsd.own.mk>
|
||
|
|
||
|
LIB= GLw
|
||
|
.PATH: ${X11SRCDIR.MesaLib}/src/glw
|
||
|
|
||
|
SRCS= GLwDrawA.c
|
||
|
|
||
|
CPPFLAGS+= ${X11FLAGS.THREADLIB}
|
||
|
|
||
|
# Motif stubs for glwMDrawingAreaClass are enabled by setting MKX11MOTIF
|
||
|
# in /etc/mk.conf. If Motif is not installed in the default location
|
||
|
# (/usr/pkg), set X11MOTIFPATH as well.
|
||
|
|
||
|
.if "${MKX11MOTIF}" == "yes"
|
||
|
X11MOTIFPATH?= /usr/pkg
|
||
|
SRCS+= GLwMDrawA.c
|
||
|
CPPFLAGS+= -I${X11MOTIFPATH}/include
|
||
|
.endif
|
||
|
|
||
|
LIBDPLIBS= Xext ${.CURDIR}/../libXext \
|
||
|
X11 ${.CURDIR}/../libX11/dynamic \
|
||
|
Xxf86vm ${.CURDIR}/../libXxf86vm \
|
||
|
Xfixes ${.CURDIR}/../libXfixes \
|
||
|
Xdamage ${.CURDIR}/../libXdamage \
|
||
|
m ${.CURDIR}/../../../../../lib/libm \
|
||
|
drm ${.CURDIR}/../libdrm \
|
||
|
GL ${.CURDIR}/../libGL \
|
||
|
ICE ${.CURDIR}/../libICE \
|
||
|
SM ${.CURDIR}/../libSM \
|
||
|
Xt ${.CURDIR}/../libXt
|
||
|
|
||
|
PKGCONFIG= glw
|
||
|
PKGDIST.glw= ${X11SRCDIR.MesaLib}/src/glw
|
||
|
PKGCONFIG_VERSION.glw= 1.0.0
|
||
|
|
||
|
.include <bsd.x11.mk>
|
||
|
.include <bsd.lib.mk>
|