Sync usage with man page.
[netbsd-mini2440.git] / external / mit / xorg / server / xorg-server / GL / glx / Makefile.glx
blobc42652841e3a9495d2d5cc980571289780364763
1 #       $NetBSD: Makefile.glx,v 1.4 2008/09/25 15:02:58 rtr Exp $
3 .PATH:  ${X11SRCDIR.xorg-server}/GL/glx
4 .PATH:  ${X11SRCDIR.MesaLib}/src/mesa/glapi
5 .PATH:  ${X11SRCDIR.MesaLib}/src/glx/x11
7 SRCS.glx= \
8         glxcmds.c \
9         glxcmdsswap.c \
10         glxext.c \
11         glxglcore.c \
12         glxscreens.c \
13         glxutil.c \
14         glxvisuals.c \
15         indirect_dispatch.c \
16         indirect_dispatch_swap.c \
17         indirect_program.c \
18         indirect_reqsize.c \
19         indirect_size_get.c \
20         indirect_table.c \
21         indirect_texture_compression.c \
22         indirect_util.c \
23         render2.c \
24         render2swap.c \
25         renderpix.c \
26         renderpixswap.c \
27         rensize.c \
28         single2.c \
29         single2swap.c \
30         singlepix.c \
31         singlepixswap.c \
32         singlesize.c \
33         swap_interval.c \
34         xfont.c
36 SRCS.glx+= \
37         glapi.c \
38         glcontextmodes.c \
39         glthread.c
41 COPTS.glxcmds.c=                -Wno-error
42 COPTS.indirect_dispatch.c=      -Wno-error
43 COPTS.indirect_dispatch_swap.c= -Wno-error
45 CPPFLAGS+= \
46         -I${X11SRCDIR.xorg-server}/include \
47         -I${X11SRCDIR.xorg-server}/GL/glx \
48         -I${X11SRCDIR.MesaLib}/include \
49         -I${X11SRCDIR.MesaLib}/src/glx/x11 \
50         -I${X11SRCDIR.MesaLib}/src/mesa/main \
51         -I${X11SRCDIR.MesaLib}/src/mesa/glapi \
52         -I${DESTDIR}${X11INCDIR}/drm \
53         -I${DESTDIR}${X11INCDIR}/xorg \
54         -I${DESTDIR}${X11INCDIR}/pixman-1
56 CPPFLAGS+= \
57         -DGLXEXT \
58         -DGLX_USE_MESA \
59         ${X11FLAGS.DIX}
61 .include <bsd.x11.mk>
62 LIBDIR= ${XMODULEDIR}
63 .include <bsd.lib.mk>