minix/external/mit/xorg/lib/libGLw/Makefile
Lionel Sambuc 971bb1a587 Importing external/mit/xorg support rules
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
2014-11-10 14:43:29 +01:00

39 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>