build xf1bpp, xf4bpp, xf8_16bpp and xf8_32bpp from hw/xfree86.

This commit is contained in:
mrg 2008-08-06 06:14:33 +00:00
parent ca75fb56f4
commit 406f97d512
6 changed files with 238 additions and 5 deletions

View File

@ -1,4 +1,4 @@
$NetBSD: TODO,v 1.11 2008/08/06 05:10:40 mrg Exp $
$NetBSD: TODO,v 1.12 2008/08/06 06:14:33 mrg Exp $
plan:
- build modular-xorg stuff with reach over
@ -44,9 +44,9 @@ Xserver
- hw/xnest is done
- hw/vfb is done
- some of hw/xfree86 is done:
common ddc doc dri dummy exa i2c int10 loader modes os-support rac ramdac scanpci shadowfb utils vbe vgahw xaa
common ddc doc dri dummy exa i2c int10 loader modes os-support rac ramdac scanpci shadowfb utils vbe vgahw xaa xf1bpp xf4bpp xf8_16bpp xf8_32bpp
- hw/xfree86 not done:
dixmods x86emu xf1bpp xf4bpp xf8_16bpp xf8_32bpp
dixmods x86emu
- hw/xgl

View File

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.7 2008/08/06 05:10:40 mrg Exp $
# $NetBSD: Makefile,v 1.8 2008/08/06 06:14:33 mrg Exp $
SUBDIR= common ddc doc dri dummy i2c int10 loader modes \
os-support rac ramdac scanpci shadowfb vbe vgahw \
xaa
xaa xf1bpp xf4bpp xf8_16bpp xf8_32bpp
SUBDIR+= .WAIT utils

View File

@ -0,0 +1,83 @@
# $NetBSD: Makefile,v 1.1 2008/08/06 06:14:33 mrg Exp $
XMODULEDIR= ${X11USRLIBDIR}/modules
.include "../../../Makefile.serverlib"
.include "../../../Makefile.servermod"
LIB= xf1bpp
.PATH: ${X11SRCDIR.xorg-server}/hw/xfree86/${LIB}
SRCS= mfbseg.c \
mfbpgbwht.c \
mfbpgbblak.c \
mfbpgbinv.c \
mfbigbwht.c \
mfbigbblak.c \
mfbpawhite.c \
mfbpablack.c \
mfbpainv.c \
mfbtewhite.c \
mfbteblack.c \
mfbplywhite.c \
mfbplyblack.c \
mfbplyinv.c \
mfbbltC.c \
mfbbltX.c \
mfbbltCI.c \
mfbbltO.c \
mfbbltG.c \
mfbtileC.c \
mfbtileG.c
SRCS+= maskbits.c \
mfbbitblt.c \
mfbbres.c \
mfbbresd.c \
mfbbstore.c \
mfbclip.c \
mfbcmap.c \
mfbfillarc.c \
mfbfillrct.c \
mfbfillsp.c \
mfbfont.c \
mfbgc.c \
mfbgetsp.c \
mfbhrzvert.c \
mfbimage.c \
mfbline.c \
mfbmisc.c \
mfbpixmap.c \
mfbpntwin.c \
mfbpolypnt.c \
mfbpushpxl.c \
mfbscrclse.c \
mfbscrinit.c \
mfbsetsp.c \
mfbwindow.c \
mfbzerarc.c
CPPFLAGS+= -I${X11SRCDIR.xorg-server}/mfb \
-I${X11SRCDIR.xorg-server}/mi \
-I${X11SRCDIR.xorg-server}/include \
-I${X11SRCDIR.xorg-server}/hw/xfree86/${LIB} \
-I${X11SRCDIR.xorg-server}/hw/xfree86/common \
-I${X11SRCDIR.xorg-server}/hw/xfree86 \
-I${DESTDIR}${X11INCDIR}/X11 \
-I${DESTDIR}${X11INCDIR}/pixman-1 \
-I${DESTDIR}${X11INCDIR}/xorg \
-I${XSERVERINCDIR}
CPPFLAGS+= -DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}
# XXX for ../../../../ files
CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/xfree86/dixmods/extmod
COPTS.mfbclip.c= -Wno-error
COPTS.mfbfont.c= -Wno-error
COPTS.mfbmisc.c= -Wno-error
COPTS.mfbpushpxl.c= -Wno-error
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include <bsd.lib.mk>

View File

@ -0,0 +1,72 @@
# $NetBSD: Makefile,v 1.1 2008/08/06 06:14:33 mrg Exp $
XMODULEDIR= ${X11USRLIBDIR}/modules
.include "../../../Makefile.serverlib"
.include "../../../Makefile.servermod"
LIB= xf4bpp
.PATH: ${X11SRCDIR.xorg-server}/hw/xfree86/${LIB}
SRCS= ppcArea.c \
ppcBStore.c \
ppcClip.c \
ppcCpArea.c \
ppcCReduce.c \
ppcDepth.c \
ppcFillRct.c \
ppcWinFS.c \
ppcPixFS.c \
ppcGC.c \
ppcGetSp.c \
ppcImg.c \
ppcPixmap.c \
ppcPntWin.c \
ppcPolyPnt.c \
ppcQuery.c \
ppcRslvC.c \
ppcSetSp.c \
ppcWindow.c \
ppcIO.c \
emulOpStip.c \
emulRepAre.c \
emulTile.c \
vgaGC.c \
vgaBitBlt.c \
vgaImages.c \
vgaStipple.c \
vgaSolid.c \
offscreen.c \
wm3.c \
mfbimggblt.c \
mfbline.c \
mfbseg.c \
mfbhrzvert.c \
mfbbres.c \
mfbbresd.c \
mfbfillarc.c \
mfbzerarc.c \
vgamodule.c
CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/xfree86/${LIB} \
-I${X11SRCDIR.xorg-server}/hw/xfree86/xf1bpp \
-I${X11SRCDIR.xorg-server}/mfb \
-I${X11SRCDIR.xorg-server}/cfb \
-I${X11SRCDIR.xorg-server}/mi \
-I${X11SRCDIR.xorg-server}/include \
-I${X11SRCDIR.xorg-server}/hw/xfree86/os-support \
-I${X11SRCDIR.xorg-server}/hw/xfree86/common \
-I${DESTDIR}${X11INCDIR}/X11 \
-I${DESTDIR}${X11INCDIR}/pixman-1 \
-I${DESTDIR}${X11INCDIR}/xorg \
-I${XSERVERINCDIR}
CPPFLAGS+= -DXF86VGA16 -DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}
# XXX for ../../../../ files
CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/xfree86/dixmods/extmod
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include <bsd.lib.mk>

View File

@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.1 2008/08/06 06:14:33 mrg Exp $
XMODULEDIR= ${X11USRLIBDIR}/modules
.include "../../../Makefile.serverlib"
.include "../../../Makefile.servermod"
LIB= xf8_16bpp
.PATH: ${X11SRCDIR.xorg-server}/hw/xfree86/${LIB}
SRCS= xf8_16module.c
CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/xfree86/${LIB} \
-I${X11SRCDIR.xorg-server}/hw/xfree86/xf1bpp \
-I${X11SRCDIR.xorg-server}/mfb \
-I${X11SRCDIR.xorg-server}/cfb \
-I${X11SRCDIR.xorg-server}/mi \
-I${X11SRCDIR.xorg-server}/include \
-I${X11SRCDIR.xorg-server}/hw/xfree86/os-support \
-I${X11SRCDIR.xorg-server}/hw/xfree86/common \
-I${DESTDIR}${X11INCDIR}/X11 \
-I${DESTDIR}${X11INCDIR}/pixman-1 \
-I${DESTDIR}${X11INCDIR}/xorg \
-I${XSERVERINCDIR}
CPPFLAGS+= -DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include <bsd.lib.mk>

View File

@ -0,0 +1,48 @@
# $NetBSD: Makefile,v 1.1 2008/08/06 06:14:33 mrg Exp $
XMODULEDIR= ${X11USRLIBDIR}/modules
.include "../../../Makefile.serverlib"
.include "../../../Makefile.servermod"
LIB= xf8_32bpp
.PATH: ${X11SRCDIR.xorg-server}/hw/xfree86/${LIB}
SRCS= cfbbstore.c \
cfbcpyarea.c \
cfbcpyplane.c \
cfbgcmisc.c \
cfbimage.c \
cfbpntwin.c \
cfbscrinit.c \
cfbwindow.c \
xf86overlay.c \
cfb8_32module.c \
cfbgc8.c \
cfbgc32.c \
cfbgcunder.c
CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/xfree86/${LIB} \
-I${X11SRCDIR.xorg-server}/hw/xfree86/xf1bpp \
-I${X11SRCDIR.xorg-server}/mfb \
-I${X11SRCDIR.xorg-server}/cfb \
-I${X11SRCDIR.xorg-server}/mi \
-I${X11SRCDIR.xorg-server}/include \
-I${X11SRCDIR.xorg-server}/hw/xfree86/os-support \
-I${X11SRCDIR.xorg-server}/hw/xfree86/common \
-I${DESTDIR}${X11INCDIR}/X11/extensions \
-I${DESTDIR}${X11INCDIR}/X11 \
-I${DESTDIR}${X11INCDIR}/pixman-1 \
-I${DESTDIR}${X11INCDIR}/xorg \
-I${X11SRCDIR.xorg-server}/Xext \
-I${XSERVERINCDIR}
CPPFLAGS+= -DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}
# XXX for ../../../../ files
CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/xfree86/dixmods/extmod
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include <bsd.lib.mk>