Makefile.cfb revision 1.1.1.1
1# $NetBSD: Makefile.cfb,v 1.1.1.1 2016/06/10 03:42:13 mrg Exp $ 2 3.PATH: ${X11SRCDIR.xorg-server}/cfb 4SRCS.cfb+= cfbseg.c cfbfillarcC.c cfbfillarcG.c cfbzerarcC.c \ 5 cfbzerarcX.c cfbzerarcG.c cfbbltC.c cfbbltX.c \ 6 cfbbltO.c cfbbltG.c cfbsolidC.c cfbsolidX.c \ 7 cfbsolidG.c cfbtileoddC.c cfbtileoddG.c cfbtile32C.c \ 8 cfbtile32G.c cfb8lineCO.c cfb8lineCP.c cfb8lineX.c \ 9 cfb8lineG.c cfb8segCS.c cfb8segC.c cfb8segX.c \ 10 cfb8setG.c cfbply1rctC.c cfbply1rctG.c 11 12SRCS.cfb+= cfbgc.c cfbrrop.c cfbwindow.c cfbpntwin.c \ 13 cfbmskbits.c cfbpixmap.c cfbbitblt.c cfbfillsp.c \ 14 cfbsetsp.c cfbscrinit.c cfballpriv.c cfbgetsp.c \ 15 cfbfillrct.c cfbigblt8.c cfbglblt8.c cfbtegblt.c \ 16 cfbbstore.c cfbpolypnt.c cfbbres.c cfbline.c \ 17 cfbhrzvert.c cfbbresd.c cfbimage.c cfbcppl.c \ 18 cfbcmap.c 19 20X11XSERVERDIR= ${X11SRCDIR.xorg-server} 21 22.if 0 23BUILDSYMLINKS= cfbline.c cfbseg.c \ 24 cfbfillarc.c cfbfillarcC.c \ 25 cfbfillarc.c cfbfillarcG.c \ 26 cfbzerarc.c cfbzerarcC.c \ 27 cfbzerarc.c cfbzerarcX.c \ 28 cfbzerarc.c cfbzerarcG.c \ 29 cfbblt.c cfbbltC.c \ 30 cfbblt.c cfbbltX.c \ 31 cfbblt.c cfbbltO.c \ 32 cfbblt.c cfbbltG.c \ 33 cfbsolid.c cfbsolidC.c \ 34 cfbsolid.c cfbsolidX.c \ 35 cfbsolid.c cfbsolidG.c \ 36 cfbtileodd.c cfbtileoddC.c \ 37 cfbtileodd.c cfbtileoddG.c \ 38 cfbtile32.c cfbtile32C.c \ 39 cfbtile32.c cfbtile32G.c \ 40 cfb8line.c cfb8lineCO.c \ 41 cfb8line.c cfb8lineCP.c \ 42 cfb8line.c cfb8lineX.c \ 43 cfb8line.c cfb8lineG.c \ 44 cfb8line.c cfb8segCS.c \ 45 cfb8line.c cfb8segC.c \ 46 cfb8line.c cfb8segX.c \ 47 cfb8line.c cfb8segG.c \ 48 cfbply1rct.c cfbply1rctC.c \ 49 cfbply1rct.c cfbply1rctG.c \ 50 ${X11XSERVERDIR}/cfb32/cfbmodule.c cfbmodule32.c 51.endif 52 53 54.if ${PIXELSIZE} == 8 # { 55SRCS.cfb+= cfb8bit.c cfbteblt8.c cfbglrop8.c cfbpush8.c cfbrctstp8.c 56.if 0 57BUILDSYMLINKS+= cfbglblt8.c cfbglrop8.c 58.endif 59.endif # } 60 61.include "../Makefile.common" 62 63.if ${XSERVER_XAMIGA} != "no" 64CPPFLAGS+= -DFORCE_SEPARATE_PRIVATE 65.endif 66 67CPPFLAGS+= -I${X11SRCDIR.xorg-server}/cfb \ 68 -I${X11SRCDIR.xorg-server}/mfb \ 69 -I${X11SRCDIR.xorg-server}/mi \ 70 -I${X11SRCDIR.xorg-server}/include \ 71 -I${DESTDIR}${X11INCDIR}/xorg \ 72 -I${DESTDIR}${X11INCDIR}/pixman-1 \ 73 -I${X11SRCDIR.xorg-server}/Xext 74 75# XXX some path so that "../../mfb/mfbblt.c" works 76CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/xfree86 77 78CPPFLAGS+= -DPSZ=${PIXELSIZE} -DXFREE86 79 80 81.if 0 82CPPFLAGS.cfb8lineCO.c= -DRROP=GXcopy 83CPPFLAGS.cfb8lineCP.c= -DRROP=GXcopy -DPREVIOUS 84CPPFLAGS.cfb8lineG.c= -DRROP=GXset 85CPPFLAGS.cfb8lineX.c= -DRROP=GXxor 86CPPFLAGS.cfb8segC.c= -DRROP=GXcopy -DPOLYSEGMENT 87CPPFLAGS.cfb8segCS.c= -DRROP=GXcopy -DPOLYSEGMENT -DWIDTH_SHIFT 88CPPFLAGS.cfb8segG.c= -DRROP=GXset -DPOLYSEGMENT 89CPPFLAGS.cfb8segX.c= -DRROP=GXxor -DPOLYSEGMENT 90CPPFLAGS.cfbbltC.c= -DMROP=Mcopy 91CPPFLAGS.cfbbltG.c= -DMROP=0 92CPPFLAGS.cfbbltO.c= -DMROP=Mor 93CPPFLAGS.cfbbltX.c= -DMROP=Mxor 94CPPFLAGS.cfbcmap.c= ${X11FLAGS.EXTENSION} -DGLXEXT -DGLX_USE_MESA 95CPPFLAGS.cfbfillarcC.c= -DRROP=GXcopy 96CPPFLAGS.cfbfillarcG.c= -DRROP=GXset 97CPPFLAGS.cfbglrop8.c= -DGLYPHROP 98CPPFLAGS.cfbply1rctC.c= -DRROP=GXcopy 99CPPFLAGS.cfbply1rctG.c= -DRROP=GXset 100CPPFLAGS.cfbseg.c= -DPOLYSEGMENT 101CPPFLAGS.cfbsolidC.c= -DRROP=GXcopy 102CPPFLAGS.cfbsolidG.c= -DRROP=GXset 103CPPFLAGS.cfbsolidX.c= -DRROP=GXxor 104CPPFLAGS.cfbtile32C.c= -DMROP=Mcopy 105CPPFLAGS.cfbtile32G.c= -DMROP=0 106CPPFLAGS.cfbtileoddC.c= -DMROP=Mcopy 107CPPFLAGS.cfbtileoddG.c= -DMROP=0 108CPPFLAGS.cfbzerarcC.c= -DRROP=GXcopy 109CPPFLAGS.cfbzerarcG.c= -DRROP=GXset 110CPPFLAGS.cfbzerarcX.c= -DRROP=GXxor 111.endif 112 113# XXX 114COPTS.cfbgc.c= -Wno-error 115COPTS.cfbscrinit.c= -Wno-error 116 117.include <bsd.x11.mk> 118LIBDIR= ${XMODULEDIR} 119.include <bsd.lib.mk> 120