NetBSD/x11/Xserver/GL/glx/Makefile.glx
2003-12-19 15:23:43 +00:00

33 lines
1.0 KiB
Makefile

# $NetBSD: Makefile.glx,v 1.3 2003/12/19 15:23:43 rtr Exp $
.include <bsd.own.mk>
LIB= glx
.PATH: ${X11SRCDIR.xc}/programs/Xserver/GL/${LIB}
SRCS+= g_disptab.c g_disptab_EXT.c g_render.c g_renderswap.c \
g_single.c g_singleswap.c global.c glxbuf.c glxcmds.c \
glxcmdsswap.c glxext.c glxfb.c glximports.c glxmem.c \
glxpix.c glxscreens.c glxutil.c render2.c render2swap.c \
renderpix.c renderpixswap.c rensize.c rensizetab.c \
single2.c single2swap.c singlepix.c singlepixswap.c \
singlesize.c xfont.c
XSERVERINCDIR!= cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/GL/glx \
-I${X11SRCDIR.xc}/programs/Xserver/GL/include \
-I${X11SRCDIR.xc}/programs/Xserver/include \
-I${XSERVERINCDIR} \
-I${DESTDIR}${X11INCDIR}/X11 \
-I${X11SRCDIR.xc}/programs/Xserver/mi \
-I${DESTDIR}${X11INCDIR}/X11/extensions \
-I${X11SRCDIR.xc}/include/fonts \
-I${X11SRCDIR.xc}/lib/GL/include
CPPFLAGS+= -DGLXEXT -DGLX_USE_MESA
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include <bsd.lib.mk>