etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / xorg / server / xorg-server / glx / Makefile.glx
blob62a85a4acea3b0401c25ad93e6749acfa11d98ef
1 #       $NetBSD: Makefile.glx,v 1.10 2012/10/03 21:50:14 gsutre Exp $
3 .PATH:  ${X11SRCDIR.xorg-server}/glx
4 .PATH:  ${X11SRCDIR.MesaLib}/src/mesa/glapi
5 .PATH:  ${X11SRCDIR.MesaLib}/src/glx
7 SRCS.glx= \
8         indirect_dispatch.c \
9         indirect_dispatch_swap.c \
10         indirect_reqsize.c \
11         indirect_size_get.c \
12         indirect_table.c \
13         glapi.c \
14         glapi_gentable.c \
15         glthread.c \
16         glxdri.c \
17         glxdri2.c \
18         extension_string.c \
19         indirect_util.c \
20         indirect_program.c \
21         indirect_texture_compression.c \
22         glxcmds.c \
23         glxcmdsswap.c \
24         glxext.c \
25         glxdriswrast.c \
26         glxdricommon.c \
27         glxscreens.c \
28         render2.c \
29         render2swap.c \
30         renderpix.c \
31         renderpixswap.c \
32         rensize.c \
33         single2.c \
34         single2swap.c \
35         singlepix.c \
36         singlepixswap.c \
37         singlesize.c \
38         swap_interval.c \
39         xfont.c
41 COPTS.glxcmds.c=                -Wno-error
42 COPTS.indirect_dispatch.c=      -Wno-error
43 COPTS.indirect_dispatch_swap.c= -Wno-error
44 COPTS.glxscreens.c=             -Wno-error
45 COPTS.xfont.c=                  -Wno-error
47 CPPFLAGS+= \
48         -I${X11SRCDIR.xorg-server}/include \
49         -I${X11SRCDIR.xorg-server}/glx \
50         -I${X11SRCDIR.xorg-server}/Xext \
51         -I${X11SRCDIR.xorg-server}/hw/xfree86/dri \
52         -I${X11SRCDIR.xorg-server}/hw/xfree86/dri2 \
53         -I${X11SRCDIR.MesaLib}/include \
54         -I${X11SRCDIR.MesaLib}/src/glx \
55         -I${X11SRCDIR.MesaLib}/src/mesa \
56         -I${X11SRCDIR.MesaLib}/src/mesa/main \
57         -I${X11SRCDIR.MesaLib}/src/mesa/glapi \
58         -I${DESTDIR}${X11INCDIR}/X11 \
59         -I${DESTDIR}${X11INCDIR}/libdrm \
60         -I${DESTDIR}${X11INCDIR}/xorg \
61         -I${DESTDIR}${X11INCDIR}/pixman-1 \
62         -I${X11SRCDIR.xorg-server}/../include
64 CPPFLAGS+= \
65         -DGLXEXT \
66         -DGLX_USE_MESA \
67         -I${X11SRCDIR.xorg-server}/../include \
68         ${X11FLAGS.DIX} ${X11INCS.DIX}
70 .include <bsd.x11.mk>
71 LIBDIR= ${XMODULEDIR}
72 .include <bsd.lib.mk>