libramdac.a module for XFree86 xserver.

This commit is contained in:
rtr 2003-12-22 14:21:11 +00:00
parent 403f5a1255
commit cbb57af4d9

View File

@ -0,0 +1,39 @@
# $NetBSD: Makefile,v 1.1 2003/12/22 14:21:11 rtr Exp $
XMODULEDIR= ${X11USRLIBDIR}/modules
.include "../../../Makefile.serverlib"
.include <bsd.own.mk>
LIB= ramdac
.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/${LIB}
SRCS= BT.c IBM.c TI.c xf86BitOrder.c xf86Cursor.c xf86HWCurs.c \
xf86RamDac.c xf86RamDacCmap.c
.if defined(X11FLAGS.LOADABLE)
SRCS+= xf86RamDacMod.c
.endif
XSERVERINCDIR!= cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/${LIB} \
-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \
-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support \
-I${X11SRCDIR.xc}/programs/Xserver/Xext \
-I${X11SRCDIR.xc}/programs/Xserver/cfb \
-I${X11SRCDIR.xc}/programs/Xserver/mfb \
-I${X11SRCDIR.xc}/programs/Xserver/mi \
-I${X11SRCDIR.xc}/programs/Xserver/include \
-I${DESTDIR}${X11INCDIR}/X11 \
-I${X11SRCDIR.xc}/include/fonts \
-I${XSERVERINCDIR}
CPPFLAGS.xf86BitOrder.c= -DXAAReverseBitOrder=xf86ReverseBitOrder -DRAMDAC_MODULE
BUILDSYMLINKS= ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xaa/xaaBitOrder.c xf86BitOrder.c
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include <bsd.lib.mk>