etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / xorg / lib / libGLw / Makefile
blobbb840cf8ab829a3aab31e4c6202eef7a252912b1
1 # $NetBSD: Makefile,v 1.4 2014/12/18 06:24:30 mrg Exp $
3 .include <bsd.own.mk>
5 LIB= GLw
6 .PATH: ${X11SRCDIR.glw}
8 SRCS= GLwDrawA.c
10 CPPFLAGS+= ${X11FLAGS.THREADLIB}
12 # Motif stubs for glwMDrawingAreaClass are enabled by setting MKX11MOTIF
13 # in /etc/mk.conf. If Motif is not installed in the default location
14 # (/usr/pkg), set X11MOTIFPATH as well.
16 .if "${MKX11MOTIF}" == "yes"
17 X11MOTIFPATH?= /usr/pkg
18 SRCS+= GLwMDrawA.c
19 CPPFLAGS+= -I${X11MOTIFPATH}/include
20 .endif
22 .PATH: ${X11SRCDIR.glw}
23 INCS= GLwDrawA.h GLwDrawAP.h GLwMDrawA.h GLwMDrawAP.h
24 INCSDIR=${X11INCDIR}/GL
26 LIBDPLIBS= Xext ${.CURDIR}/../libXext \
27 X11 ${.CURDIR}/../libX11/dynamic \
28 Xxf86vm ${.CURDIR}/../libXxf86vm \
29 Xfixes ${.CURDIR}/../libXfixes \
30 Xdamage ${.CURDIR}/../libXdamage \
31 m ${.CURDIR}/../../../../../lib/libm \
32 drm ${.CURDIR}/../libdrm \
33 GL ${.CURDIR}/../libGL \
34 ICE ${.CURDIR}/../libICE \
35 SM ${.CURDIR}/../libSM \
36 Xt ${.CURDIR}/../libXt \
37 xcb-dri2 ${.CURDIR}/../libxcb/dri2
39 PKGCONFIG= glw
40 PKGDIST.glw= ${X11SRCDIR.MesaLib}/src/glw
41 PKGCONFIG_VERSION.glw= 1.0.0
43 .include <bsd.x11.mk>
44 .include <bsd.lib.mk>