From cbb57af4d9f11dbef4afc33cc17ede627e53abc4 Mon Sep 17 00:00:00 2001 From: rtr Date: Mon, 22 Dec 2003 14:21:11 +0000 Subject: [PATCH] libramdac.a module for XFree86 xserver. --- x11/Xserver/hw/xfree86/ramdac/Makefile | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 x11/Xserver/hw/xfree86/ramdac/Makefile diff --git a/x11/Xserver/hw/xfree86/ramdac/Makefile b/x11/Xserver/hw/xfree86/ramdac/Makefile new file mode 100644 index 000000000000..8d16cd65b8ce --- /dev/null +++ b/x11/Xserver/hw/xfree86/ramdac/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1 2003/12/22 14:21:11 rtr Exp $ + +XMODULEDIR= ${X11USRLIBDIR}/modules + +.include "../../../Makefile.serverlib" + +.include + +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 +LIBDIR= ${XMODULEDIR} +.include