libafb.a module for xservers that require it.

This commit is contained in:
rtr 2003-12-22 16:08:56 +00:00
parent 72f8456f3a
commit 81a20282e7

54
x11/Xserver/afb/Makefile Normal file
View File

@ -0,0 +1,54 @@
# $NetBSD: Makefile,v 1.1 2003/12/22 16:08:56 rtr Exp $
XMODULEDIR= ${X11USRLIBDIR}/modules
.include "../Makefile.serverlib"
.include <bsd.own.mk>
LIB= afb
.PATH: ${X11SRCDIR.xc}/programs/Xserver/${LIB}
SRCS= afbbltC.c afbbltX.c afbbltCI.c afbbltO.c afbbltG.c afbtileC.c \
afbtileG.c afbseg.c afbbitblt.c afbblt.c afbbres.c afbbresd.c \
afbbstore.c afbclip.c afbcmap.c afbfillarc.c afbfillrct.c \
afbfillsp.c afbfont.c afbgc.c afbgetsp.c afbhrzvert.c \
afbimage.c afbimggblt.c afbline.c afbmisc.c afbpixmap.c \
afbply1rct.c afbplygblt.c afbpntarea.c afbpntwin.c \
afbpolypnt.c afbpushpxl.c afbscrinit.c afbsetsp.c afbtegblt.c \
afbtile.c afbwindow.c afbzerarc.c
XSERVERINCDIR!= cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/${LIB} \
-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+= ${X11FLAGS.LOADER}
BUILDSYMLINKS= afbblt.c afbbltC.c \
afbblt.c afbbltCI.c \
afbblt.c afbbltG.c \
afbblt.c afbbltO.c \
afbblt.c afbbltX.c \
afbline.c afbseg.c \
afbtile.c afbtileC.c \
afbtile.c afbtileG.c
CPPFLAGS.afbbltC.c= -DMROP=MCopy
CPPFLAGS.afbbltCI.c= -DMROP=McopyInverted
CPPFLAGS.afbbltG.c= -DMROP=0
CPPFLAGS.afbbltO.c= -DMROP=Mor
CPPFLAGS.afbbltX.c= -DMROP=Mxor
CPPFLAGS.afbseg.c= -DPOLYSEGMENT
CPPFLAGS.afbtileC.c= -DMROP=Mcopy
CPPFLAGS.afbtileG.c= -DMROP=0
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include <bsd.lib.mk>