Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / server / xorg-server / glx / Makefile.glx
blob3974494e00b338c0f7130a622de0959a27c094c3
1 #       $NetBSD: Makefile.glx,v 1.3 2009/08/22 02:40:27 mrg Exp $
3 .PATH:  ${X11SRCDIR.xorg-server}/glx
4 .PATH:  ${X11SRCDIR.MesaLib}/src/mesa/glapi
5 .PATH:  ${X11SRCDIR.MesaLib}/src/glx/x11
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         glthread.c \
15         glxdri.c \
16         extension_string.c \
17         indirect_util.c \
18         indirect_program.c \
19         indirect_texture_compression.c \
20         glxcmds.c \
21         glxcmdsswap.c \
22         glxext.c \
23         glxdriswrast.c \
24         glxdricommon.c \
25         glxscreens.c \
26         render2.c \
27         render2swap.c \
28         renderpix.c \
29         renderpixswap.c \
30         rensize.c \
31         single2.c \
32         single2swap.c \
33         singlepix.c \
34         singlepixswap.c \
35         singlesize.c \
36         swap_interval.c \
37         xfont.c
39 COPTS.glxcmds.c=                -Wno-error
40 COPTS.indirect_dispatch.c=      -Wno-error
41 COPTS.indirect_dispatch_swap.c= -Wno-error
42 COPTS.glxscreens.c=             -Wno-error
43 COPTS.xfont.c=                  -Wno-error
45 CPPFLAGS+= \
46         -I${X11SRCDIR.xorg-server}/include \
47         -I${X11SRCDIR.xorg-server}/glx \
48         -I${X11SRCDIR.xorg-server}/Xext \
49         -I${X11SRCDIR.MesaLib}/include \
50         -I${X11SRCDIR.MesaLib}/src/glx/x11 \
51         -I${X11SRCDIR.MesaLib}/src/mesa \
52         -I${X11SRCDIR.MesaLib}/src/mesa/main \
53         -I${X11SRCDIR.MesaLib}/src/mesa/glapi \
54         -I${DESTDIR}${X11INCDIR}/X11 \
55         -I${DESTDIR}${X11INCDIR}/drm \
56         -I${DESTDIR}${X11INCDIR}/xorg \
57         -I${DESTDIR}${X11INCDIR}/pixman-1
59 CPPFLAGS+= \
60         -DGLXEXT \
61         -DGLX_USE_MESA \
62         ${X11FLAGS.DIX}
64 .include <bsd.x11.mk>
65 LIBDIR= ${XMODULEDIR}
66 .include <bsd.lib.mk>