Separate loadable modules

Don't build or install modules for non-loadable xservers
This commit is contained in:
rtr 2003-12-21 03:07:01 +00:00
parent 61b5ab403f
commit 12c87cdca3
28 changed files with 321 additions and 210 deletions

View File

@ -1,79 +1,9 @@
# $NetBSD: Makefile,v 1.3 2003/12/19 15:23:43 rtr Exp $
XMODULEDIR= ${X11ROOTDIR}/lib/modules/extensions
# $NetBSD: Makefile,v 1.4 2003/12/21 03:07:01 rtr Exp $
.include "../../Makefile.serverlib"
.include "Makefile.GLcore"
.include <bsd.own.mk>
LIB= GLcore
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src
SRCS+= accum.c api_arrayelt.c api_eval.c api_loopback.c \
api_noop.c api_validate.c attrib.c blend.c buffers.c \
clip.c colortab.c config.c context.c convolve.c \
debug.c depth.c dispatch.c dlist.c drawpix.c enable.c \
enums.c eval.c extensions.c feedback.c fog.c get.c \
glapi.c glthread.c hash.c hint.c histogram.c image.c \
imports.c light.c lines.c matrix.c mem.c mmath.c \
pixel.c points.c polygon.c rastpos.c state.c \
stencil.c texformat.c teximage.c texobj.c texstate.c \
texstore.c texutil.c varray.c vtxfmt.c
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src/math
SRCS+= m_debug_clip.c m_debug_norm.c m_debug_xform.c \
m_debug_vertex.c m_eval.c m_matrix.c m_translate.c \
m_vector.c m_vertices.c m_xform.c
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src/array_cache
SRCS+= ac_context.c ac_import.c
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src/swrast
SRCS+= s_aaline.c s_aatriangle.c s_accum.c s_alpha.c \
s_alphabuf.c s_bitmap.c s_blend.c s_buffers.c \
s_context.c s_copypix.c s_depth.c s_drawpix.c \
s_feedback.c s_fog.c s_histogram.c s_imaging.c \
s_lines.c s_logic.c s_masking.c s_pb.c s_pixeltex.c \
s_points.c s_readpix.c s_scissor.c s_span.c \
s_stencil.c s_texstore.c s_texture.c s_triangle.c \
s_zoom.c
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src/swrast_setup
SRCS+= ss_context.c ss_triangle.c ss_vb.c
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src/tnl
SRCS+= t_array_api.c t_array_import.c t_context.c t_eval_api.c \
t_imm_alloc.c t_imm_api.c t_imm_debug.c t_imm_dlist.c \
t_imm_elt.c t_imm_eval.c t_imm_exec.c t_imm_fixup.c \
t_pipeline.c t_vb_fog.c t_vb_light.c t_vb_normals.c \
t_vb_points.c t_vb_render.c t_vb_texgen.c t_vb_texmat.c \
t_vb_vertex.c
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src/X
.PATH: ${X11SRCDIR.xc}/programs/Xserver/GL/mesa/src/X
.PATH: ${X11SRCDIR.xc}/lib/GL/glx
SRCS+= compsize.c xf86glx.c xf86glx_util.c xm_api.c xm_dd.c \
xm_line.c xm_span.c xm_tri.c
.PATH: ${X11SRCDIR.xc}/programs/Xserver/GL/mesa/GLcore
SRCS+= GLcoremodule.c
XSERVERINCDIR!= cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 \
-I${DESTDIR}${X11INCDIR}/X11/extensions \
-I${X11SRCDIR.xc}/extras/Mesa/include \
-I${X11SRCDIR.xc}/lib/GL/include \
-I${X11SRCDIR.xc}/extras/Mesa/src \
-I${X11SRCDIR.xc}/programs/Xserver/include \
-I${XSERVERINCDIR} \
-I${X11SRCDIR.xc}/extras/Mesa/src/X \
-I${X11SRCDIR.xc}/programs/Xserver/GL/glx \
-I${X11SRCDIR.xc}/programs/Xserver/GL/include \
-I${X11SRCDIR.xc}/programs/Xserver/GL/mesa/src/X
CPPFLAGS+= -DGLXEXT -DGLX_USE_MESA
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include <bsd.lib.mk>
.if defined(X11FLAGS.LOADABLE)
SUBDIR= module
.include <bsd.subdir.mk>
.endif

View File

@ -0,0 +1,75 @@
# $NetBSD: Makefile.GLcore,v 1.1 2003/12/21 03:07:01 rtr Exp $
.include <bsd.own.mk>
LIB= GLcore
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src
SRCS+= accum.c api_arrayelt.c api_eval.c api_loopback.c \
api_noop.c api_validate.c attrib.c blend.c buffers.c \
clip.c colortab.c config.c context.c convolve.c \
debug.c depth.c dispatch.c dlist.c drawpix.c enable.c \
enums.c eval.c extensions.c feedback.c fog.c get.c \
glapi.c glthread.c hash.c hint.c histogram.c image.c \
imports.c light.c lines.c matrix.c mem.c mmath.c \
pixel.c points.c polygon.c rastpos.c state.c \
stencil.c texformat.c teximage.c texobj.c texstate.c \
texstore.c texutil.c varray.c vtxfmt.c
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src/math
SRCS+= m_debug_clip.c m_debug_norm.c m_debug_xform.c \
m_debug_vertex.c m_eval.c m_matrix.c m_translate.c \
m_vector.c m_vertices.c m_xform.c
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src/array_cache
SRCS+= ac_context.c ac_import.c
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src/swrast
SRCS+= s_aaline.c s_aatriangle.c s_accum.c s_alpha.c \
s_alphabuf.c s_bitmap.c s_blend.c s_buffers.c \
s_context.c s_copypix.c s_depth.c s_drawpix.c \
s_feedback.c s_fog.c s_histogram.c s_imaging.c \
s_lines.c s_logic.c s_masking.c s_pb.c s_pixeltex.c \
s_points.c s_readpix.c s_scissor.c s_span.c \
s_stencil.c s_texstore.c s_texture.c s_triangle.c \
s_zoom.c
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src/swrast_setup
SRCS+= ss_context.c ss_triangle.c ss_vb.c
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src/tnl
SRCS+= t_array_api.c t_array_import.c t_context.c t_eval_api.c \
t_imm_alloc.c t_imm_api.c t_imm_debug.c t_imm_dlist.c \
t_imm_elt.c t_imm_eval.c t_imm_exec.c t_imm_fixup.c \
t_pipeline.c t_vb_fog.c t_vb_light.c t_vb_normals.c \
t_vb_points.c t_vb_render.c t_vb_texgen.c t_vb_texmat.c \
t_vb_vertex.c
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src/X
.PATH: ${X11SRCDIR.xc}/programs/Xserver/GL/mesa/src/X
.PATH: ${X11SRCDIR.xc}/lib/GL/glx
SRCS+= compsize.c xf86glx.c xf86glx_util.c xm_api.c xm_dd.c \
xm_line.c xm_span.c xm_tri.c
.PATH: ${X11SRCDIR.xc}/programs/Xserver/GL/mesa/GLcore
SRCS+= GLcoremodule.c
XSERVERINCDIR!= cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 \
-I${DESTDIR}${X11INCDIR}/X11/extensions \
-I${X11SRCDIR.xc}/extras/Mesa/include \
-I${X11SRCDIR.xc}/lib/GL/include \
-I${X11SRCDIR.xc}/extras/Mesa/src \
-I${X11SRCDIR.xc}/programs/Xserver/include \
-I${XSERVERINCDIR} \
-I${X11SRCDIR.xc}/extras/Mesa/src/X \
-I${X11SRCDIR.xc}/programs/Xserver/GL/glx \
-I${X11SRCDIR.xc}/programs/Xserver/GL/include \
-I${X11SRCDIR.xc}/programs/Xserver/GL/mesa/src/X
CPPFLAGS+= -DGLXEXT -DGLX_USE_MESA
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include <bsd.lib.mk>

View File

@ -0,0 +1,12 @@
# $NetBSD: Makefile,v 1.1 2003/12/21 03:07:01 rtr Exp $
XMODULEDIR= ${X11ROOTDIR}/lib/modules/extensions
.include "../../../Makefile.serverlib"
.include <bsd.own.mk>
.PATH: ${X11SRCDIR.xc}/programs/Xserver/GL/mesa/GLcore
SRCS= GLcoremodule.c
.include "../Makefile.GLcore"

View File

@ -1,7 +1,9 @@
# $NetBSD: Makefile,v 1.2 2003/09/23 23:21:04 lukem Exp $
# $NetBSD: Makefile,v 1.3 2003/12/21 03:07:01 rtr Exp $
.include "../../Makefile.serverlib"
.include "Makefile.glx"
.if defined(X11FLAGS.LOADABLE)
SUBDIR= module
.include <bsd.subdir.mk>
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.serverlib,v 1.1 2003/09/23 23:21:02 lukem Exp $
# $NetBSD: Makefile.serverlib,v 1.2 2003/12/21 03:07:01 rtr Exp $
NOLINT= 1
NOPIC= 1
@ -9,3 +9,7 @@ libinstall::
.endif
CPPFLAGS+= ${X11FLAGS.SERVER}
.if defined(XMODULEDIR)
CPPFLAGS+= ${X11FLAGS.LOADABLE}
.endif

View File

@ -1,5 +1,12 @@
# $NetBSD: Makefile,v 1.3 2003/09/23 23:21:05 lukem Exp $
# $NetBSD: Makefile,v 1.4 2003/12/21 03:07:01 rtr Exp $
SUBDIR= ext exts extmod
SUBDIR= ext exts
.include "../Makefile.serverlib"
.include "Makefile.ext"
.if defined(X11FLAGS.LOADABLE)
SUBDIR+= extmod
.endif
.include <bsd.subdir.mk>

View File

@ -1,6 +1,4 @@
# $NetBSD: Makefile.ext,v 1.3 2003/09/30 06:41:29 lukem Exp $
.include "../Makefile.serverlib"
# $NetBSD: Makefile.ext,v 1.4 2003/12/21 03:07:01 rtr Exp $
.include <bsd.own.mk>

View File

@ -1,14 +1,19 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/09/11 18:37:05 lukem Exp $
# $NetBSD: Makefile,v 1.2 2003/12/21 03:07:01 rtr Exp $
LIB= ext
SRCS= EVI.c appgroup.c bigreq.c cup.c dpms.c fontcache.c mitmisc.c \
panoramiX.c panoramiXSwap.c panoramiXprocs.c sampleEVI.c \
saver.c security.c shape.c shm.c sleepuntil.c sync.c \
xcmisc.c xf86bigfont.c xf86dga.c xf86dga2.c xf86misc.c \
xf86vmode.c xprint.c xres.c xtest.c xtest1dd.c xtest1di.c \
xvdisp.c xvmain.c xvmc.c
xcmisc.c xf86bigfont.c xprint.c xres.c xtest.c xtest1dd.c \
xtest1di.c xvdisp.c xvmain.c xvmc.c
# XXX dga should be enabled for sparc64 but isn't.
.if ${MACHINE} != "sparc" && ${MACHINE} != "sparc64"
SRCS+= xf86vmode.c xf86misc.c xf86dga.c xf86dga2.c
.endif
FILESDIR= ${X11LIBDIR}/xserver
FILES= SecurityPolicy
.include "../../Makefile.serverlib"
.include "../Makefile.ext"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2003/09/23 23:21:06 lukem Exp $
# $NetBSD: Makefile,v 1.2 2003/12/21 03:07:01 rtr Exp $
LIB= extmod
SRCS= modinit.c shape.c mitmisc.c bigreq.c sync.c saver.c xcmisc.c \
@ -10,6 +10,7 @@ CPPFLAGS+= -DEXTMODULE
XMODULEDIR= ${X11ROOTDIR}/lib/modules/extensions
.include "../../Makefile.serverlib"
.include "../Makefile.ext"
.PATH: ${X11SRCDIR.xc}/programs/Xserver/Xext/extmod

View File

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/09/11 18:37:05 lukem Exp $
# $NetBSD: Makefile,v 1.2 2003/12/21 03:07:01 rtr Exp $
LIB= exts
SRCS= appgroup.c panoramiX.c panoramiXSwap.c panoramiXprocs.c \
security.c shm.c sleepuntil.c xf86bigfont.c xprint.c \
xtest.c xtest1dd.c xtest1di.c
.include "../../Makefile.serverlib"
.include "../Makefile.ext"

View File

@ -1,5 +1,11 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/09/11 18:37:05 lukem Exp $
# $NetBSD: Makefile,v 1.2 2003/12/21 03:07:01 rtr Exp $
PIXELSIZE= 8
.include "../Makefile.serverlib"
.include "Makefile.cfb"
.if defined(X11FLAGS.LOADABLE)
SUBDIR= module
.include <bsd.subdir.mk>
.endif

View File

@ -1,8 +1,4 @@
# $NetBSD: Makefile.cfb,v 1.5 2003/09/30 06:41:29 lukem Exp $
XMODULEDIR= ${X11ROOTDIR}/lib/modules
.include "../Makefile.serverlib"
# $NetBSD: Makefile.cfb,v 1.6 2003/12/21 03:07:01 rtr Exp $
.include <bsd.own.mk>

View File

@ -0,0 +1,7 @@
# $NetBSD: Makefile,v 1.1 2003/12/21 03:07:01 rtr Exp $
PIXELSIZE= 8
XMODULEDIR= ${X11ROOTDIR}/lib/modules
.include "../../Makefile.serverlib"
.include "../Makefile.cfb"

View File

@ -1,5 +1,11 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/09/11 18:37:05 lukem Exp $
# $NetBSD: Makefile,v 1.2 2003/12/21 03:07:01 rtr Exp $
PIXELSIZE= 16
.include "../Makefile.serverlib"
.include "../cfb/Makefile.cfb"
.if defined(X11FLAGS.LOADABLE)
SUBDIR= module
.include <bsd.subdir.mk>
.endif

View File

@ -0,0 +1,7 @@
# $NetBSD: Makefile,v 1.1 2003/12/21 03:07:01 rtr Exp $
PIXELSIZE= 16
XMODULEDIR= ${X11ROOTDIR}/lib/modules
.include "../../Makefile.serverlib"
.include "../../cfb/Makefile.cfb"

View File

@ -1,5 +1,11 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/09/11 18:37:05 lukem Exp $
# $NetBSD: Makefile,v 1.2 2003/12/21 03:07:01 rtr Exp $
PIXELSIZE= 24
.include "../Makefile.serverlib"
.include "../cfb/Makefile.cfb"
.if defined(X11FLAGS.LOADABLE)
SUBDIR= module
.include <bsd.subdir.mk>
.endif

View File

@ -0,0 +1,7 @@
# $NetBSD: Makefile,v 1.1 2003/12/21 03:07:01 rtr Exp $
PIXELSIZE= 24
XMODULEDIR= ${X11ROOTDIR}/lib/modules
.include "../../Makefile.serverlib"
.include "../../cfb/Makefile.cfb"

View File

@ -1,5 +1,11 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/09/11 18:37:05 lukem Exp $
# $NetBSD: Makefile,v 1.2 2003/12/21 03:07:01 rtr Exp $
PIXELSIZE= 32
.include "../Makefile.serverlib"
.include "../cfb/Makefile.cfb"
.if defined(X11FLAGS.LOADABLE)
SUBDIR= module
.include <bsd.subdir.mk>
.endif

View File

@ -0,0 +1,7 @@
# $NetBSD: Makefile,v 1.1 2003/12/21 03:07:01 rtr Exp $
PIXELSIZE= 32
XMODULEDIR= ${X11ROOTDIR}/lib/modules
.include "../../Makefile.serverlib"
.include "../../cfb/Makefile.cfb"

View File

@ -1,7 +1,9 @@
# $NetBSD: Makefile,v 1.2 2003/09/23 23:21:09 lukem Exp $
# $NetBSD: Makefile,v 1.3 2003/12/21 03:07:01 rtr Exp $
.include "../Makefile.serverlib"
.include "Makefile.dbe"
.if defined(X11FLAGS.LOADABLE)
SUBDIR= module
.include <bsd.subdir.mk>
.endif

View File

@ -1,35 +1,9 @@
# $NetBSD: Makefile,v 1.3 2003/09/30 06:41:29 lukem Exp $
XMODULEDIR= ${X11ROOTDIR}/lib/modules
# $NetBSD: Makefile,v 1.4 2003/12/21 03:07:01 rtr Exp $
.include "../Makefile.serverlib"
.include "Makefile.fb"
.include <bsd.own.mk>
LIB= fb
.PATH: ${X11SRCDIR.xc}/programs/Xserver/fb
SRCS= fb24_32.c fballpriv.c fbarc.c fbbits.c fbblt.c \
fbbltone.c fbbstore.c fbcmap.c fbcompose.c fbcopy.c \
fbfill.c fbfillrect.c fbfillsp.c fbgc.c fbgetsp.c \
fbglyph.c fbimage.c fbline.c fbmodule.c fboverlay.c \
fbpict.c fbpixmap.c fbpoint.c fbpush.c fbscreen.c \
fbseg.c fbsetsp.c fbsolid.c fbstipple.c fbtile.c \
fbtrap.c fbutil.c fbwindow.c
XSERVERINCDIR!= cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/fb \
-I${X11SRCDIR.xc}/programs/Xserver/mi \
-I${X11SRCDIR.xc}/programs/Xserver/include \
-I${XSERVERINCDIR} \
-I${DESTDIR}${X11INCDIR}/X11 \
-I${X11SRCDIR.xc}/include/fonts \
-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \
-I${X11SRCDIR.xc}/programs/Xserver/render \
-I${DESTDIR}${X11INCDIR}/X11/extensions \
-I${X11SRCDIR.xc}/programs/Xserver/Xext
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include <bsd.lib.mk>
.if defined(X11FLAGS.LOADABLE)
SUBDIR= module
.include <bsd.subdir.mk>
.endif

View File

@ -0,0 +1,31 @@
# $NetBSD: Makefile.fb,v 1.1 2003/12/21 03:07:01 rtr Exp $
.include <bsd.own.mk>
LIB= fb
.PATH: ${X11SRCDIR.xc}/programs/Xserver/fb
SRCS= fb24_32.c fballpriv.c fbarc.c fbbits.c fbblt.c \
fbbltone.c fbbstore.c fbcmap.c fbcompose.c fbcopy.c \
fbfill.c fbfillrect.c fbfillsp.c fbgc.c fbgetsp.c \
fbglyph.c fbimage.c fbline.c fbmodule.c fboverlay.c \
fbpict.c fbpixmap.c fbpoint.c fbpush.c fbscreen.c \
fbseg.c fbsetsp.c fbsolid.c fbstipple.c fbtile.c \
fbtrap.c fbutil.c fbwindow.c
XSERVERINCDIR!= cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/fb \
-I${X11SRCDIR.xc}/programs/Xserver/mi \
-I${X11SRCDIR.xc}/programs/Xserver/include \
-I${XSERVERINCDIR} \
-I${DESTDIR}${X11INCDIR}/X11 \
-I${X11SRCDIR.xc}/include/fonts \
-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \
-I${X11SRCDIR.xc}/programs/Xserver/render \
-I${DESTDIR}${X11INCDIR}/X11/extensions \
-I${X11SRCDIR.xc}/programs/Xserver/Xext
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include <bsd.lib.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2003/12/21 03:07:01 rtr Exp $
XMODULEDIR= ${X11USRLIBDIR}/modules
.include "../../Makefile.serverlib"
.include "../Makefile.fb"

View File

@ -1,80 +1,9 @@
# $NetBSD: Makefile,v 1.4 2003/09/30 06:41:29 lukem Exp $
XMODULEDIR= ${X11ROOTDIR}/lib/modules
# $NetBSD: Makefile,v 1.5 2003/12/21 03:07:01 rtr Exp $
.include "../Makefile.serverlib"
.include "Makefile.mfb"
.include <bsd.own.mk>
LIB= mfb
.PATH: ${X11SRCDIR.xc}/programs/Xserver/mfb
SRCS= maskbits.c mfbbitblt.c mfbbltC.c mfbbltCI.c mfbbltG.c \
mfbbltO.c mfbbltX.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 \
mfbigbblak.c mfbigbwht.c mfbimage.c mfbline.c \
mfbmisc.c mfbmodule.c mfbpablack.c mfbpainv.c \
mfbpawhite.c mfbpgbblak.c mfbpgbinv.c mfbpgbwht.c \
mfbpixmap.c mfbplyblack.c mfbplyinv.c mfbplywhite.c \
mfbpntwin.c mfbpolypnt.c mfbpushpxl.c mfbscrclse.c \
mfbscrinit.c mfbseg.c mfbsetsp.c mfbteblack.c \
mfbtewhite.c mfbtileC.c mfbtileG.c mfbwindow.c \
mfbzerarc.c
BUILDSYMLINKS= mfbline.c mfbseg.c \
mfbplygblt.c mfbpgbwht.c \
mfbplygblt.c mfbpgbblak.c \
mfbplygblt.c mfbpgbinv.c \
mfbimggblt.c mfbigbwht.c \
mfbimggblt.c mfbigbblak.c \
mfbpntarea.c mfbpawhite.c \
mfbpntarea.c mfbpablack.c \
mfbpntarea.c mfbpainv.c \
mfbtegblt.c mfbtewhite.c \
mfbtegblt.c mfbteblack.c \
mfbply1rct.c mfbplywhite.c \
mfbply1rct.c mfbplyblack.c \
mfbply1rct.c mfbplyinv.c \
mfbblt.c mfbbltC.c \
mfbblt.c mfbbltX.c \
mfbblt.c mfbbltCI.c \
mfbblt.c mfbbltO.c \
mfbblt.c mfbbltG.c \
mfbtile.c mfbtileC.c \
mfbtile.c mfbtileG.c
XSERVERINCDIR!= cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/mfb \
-I${X11SRCDIR.xc}/programs/Xserver/mi \
-I${X11SRCDIR.xc}/programs/Xserver/include \
-I${XSERVERINCDIR} \
-I${DESTDIR}${X11INCDIR}/X11 \
-I${X11SRCDIR.xc}/include/fonts
CPPFLAGS.mfbseg.c= -DPOLYSEGMENT
CPPFLAGS.mfbpgbwht.c= -DMFBPOLYGLYPHBLT=mfbPolyGlyphBltWhite -DOPEQ=MFB_OPEQ_WHITE
CPPFLAGS.mfbpgbblak.c= -DMFBPOLYGLYPHBLT=mfbPolyGlyphBltBlack -DOPEQ=MFB_OPEQ_BLACK
CPPFLAGS.mfbpgbinv.c= -DMFBPOLYGLYPHBLT=mfbPolyGlyphBltInvert -DOPEQ=MFB_OPEQ_INVERT
CPPFLAGS.mfbigbwht.c= -DMFBIMAGEGLYPHBLT=mfbImageGlyphBltWhite -DOPEQ=MFB_OPEQ_WHITE
CPPFLAGS.mfbigbblak.c= -DMFBIMAGEGLYPHBLT=mfbImageGlyphBltBlack -DOPEQ=MFB_OPEQ_BLACK
CPPFLAGS.mfbpawhite.c= -DMFBSOLIDFILLAREA=mfbSolidWhiteArea -DMFBSTIPPLEFILLAREA=mfbStippleWhiteArea -DOPEQ=MFB_OPEQ_WHITE -DEQWHOLEWORD=MFB_EQWHOLEWORD_WHITE
CPPFLAGS.mfbpablack.c= -DMFBSOLIDFILLAREA=mfbSolidBlackArea -DMFBSTIPPLEFILLAREA=mfbStippleBlackArea -DOPEQ=MFB_OPEQ_BLACK -DEQWHOLEWORD=MFB_EQWHOLEWORD_BLACK
CPPFLAGS.mfbpainv.c= -DMFBSOLIDFILLAREA=mfbSolidInvertArea -DMFBSTIPPLEFILLAREA=mfbStippleInvertArea -DOPEQ=MFB_OPEQ_INVERT -DEQWHOLEWORD=MFB_EQWHOLEWORD_INVERT
CPPFLAGS.mfbtewhite.c= -DMFBTEGLYPHBLT=mfbTEGlyphBltWhite -DOP=MFB_OP_WHITE -DCLIPTETEXT=mfbImageGlyphBltWhite
CPPFLAGS.mfbteblack.c= -DMFBTEGLYPHBLT=mfbTEGlyphBltBlack -DOP=MFB_OP_BLACK -DCLIPTETEXT=mfbImageGlyphBltBlack
CPPFLAGS.mfbplywhite.c= -DMFBFILLPOLY1RECT=mfbFillPolyWhite -DOPEQ=MFB_OPEQ_WHITE -DEQWHOLEWORD=MFB_EQWHOLEWORD_WHITE
CPPFLAGS.mfbplyblack.c= -DMFBFILLPOLY1RECT=mfbFillPolyBlack -DOPEQ=MFB_OPEQ_BLACK -DEQWHOLEWORD=MFB_EQWHOLEWORD_BLACK
CPPFLAGS.mfbplyinv.c= -DMFBFILLPOLY1RECT=mfbFillPolyInvert -DOPEQ=MFB_OPEQ_INVERT -DEQWHOLEWORD=MFB_EQWHOLEWORD_INVERT
CPPFLAGS.mfbbltC.c= -DMROP=Mcopy
CPPFLAGS.mfbbltX.c= -DMROP=Mxor
CPPFLAGS.mfbbltCI.c= -DMROP=McopyInverted
CPPFLAGS.mfbbltO.c= -DMROP=Mor
CPPFLAGS.mfbbltG.c= -DMROP=0
CPPFLAGS.mfbtileC.c= -DMROP=Mcopy
CPPFLAGS.mfbtileG.c= -DMROP=0
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include <bsd.lib.mk>
.if defined(X11FLAGS.LOADABLE)
SUBDIR= module
.include <bsd.subdir.mk>
.endif

View File

@ -0,0 +1,76 @@
# $NetBSD: Makefile.mfb,v 1.1 2003/12/21 03:07:01 rtr Exp $
.include <bsd.own.mk>
LIB= mfb
.PATH: ${X11SRCDIR.xc}/programs/Xserver/mfb
SRCS= maskbits.c mfbbitblt.c mfbbltC.c mfbbltCI.c mfbbltG.c \
mfbbltO.c mfbbltX.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 \
mfbigbblak.c mfbigbwht.c mfbimage.c mfbline.c \
mfbmisc.c mfbmodule.c mfbpablack.c mfbpainv.c \
mfbpawhite.c mfbpgbblak.c mfbpgbinv.c mfbpgbwht.c \
mfbpixmap.c mfbplyblack.c mfbplyinv.c mfbplywhite.c \
mfbpntwin.c mfbpolypnt.c mfbpushpxl.c mfbscrclse.c \
mfbscrinit.c mfbseg.c mfbsetsp.c mfbteblack.c \
mfbtewhite.c mfbtileC.c mfbtileG.c mfbwindow.c \
mfbzerarc.c
BUILDSYMLINKS= mfbline.c mfbseg.c \
mfbplygblt.c mfbpgbwht.c \
mfbplygblt.c mfbpgbblak.c \
mfbplygblt.c mfbpgbinv.c \
mfbimggblt.c mfbigbwht.c \
mfbimggblt.c mfbigbblak.c \
mfbpntarea.c mfbpawhite.c \
mfbpntarea.c mfbpablack.c \
mfbpntarea.c mfbpainv.c \
mfbtegblt.c mfbtewhite.c \
mfbtegblt.c mfbteblack.c \
mfbply1rct.c mfbplywhite.c \
mfbply1rct.c mfbplyblack.c \
mfbply1rct.c mfbplyinv.c \
mfbblt.c mfbbltC.c \
mfbblt.c mfbbltX.c \
mfbblt.c mfbbltCI.c \
mfbblt.c mfbbltO.c \
mfbblt.c mfbbltG.c \
mfbtile.c mfbtileC.c \
mfbtile.c mfbtileG.c
XSERVERINCDIR!= cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/mfb \
-I${X11SRCDIR.xc}/programs/Xserver/mi \
-I${X11SRCDIR.xc}/programs/Xserver/include \
-I${XSERVERINCDIR} \
-I${DESTDIR}${X11INCDIR}/X11 \
-I${X11SRCDIR.xc}/include/fonts
CPPFLAGS.mfbseg.c= -DPOLYSEGMENT
CPPFLAGS.mfbpgbwht.c= -DMFBPOLYGLYPHBLT=mfbPolyGlyphBltWhite -DOPEQ=MFB_OPEQ_WHITE
CPPFLAGS.mfbpgbblak.c= -DMFBPOLYGLYPHBLT=mfbPolyGlyphBltBlack -DOPEQ=MFB_OPEQ_BLACK
CPPFLAGS.mfbpgbinv.c= -DMFBPOLYGLYPHBLT=mfbPolyGlyphBltInvert -DOPEQ=MFB_OPEQ_INVERT
CPPFLAGS.mfbigbwht.c= -DMFBIMAGEGLYPHBLT=mfbImageGlyphBltWhite -DOPEQ=MFB_OPEQ_WHITE
CPPFLAGS.mfbigbblak.c= -DMFBIMAGEGLYPHBLT=mfbImageGlyphBltBlack -DOPEQ=MFB_OPEQ_BLACK
CPPFLAGS.mfbpawhite.c= -DMFBSOLIDFILLAREA=mfbSolidWhiteArea -DMFBSTIPPLEFILLAREA=mfbStippleWhiteArea -DOPEQ=MFB_OPEQ_WHITE -DEQWHOLEWORD=MFB_EQWHOLEWORD_WHITE
CPPFLAGS.mfbpablack.c= -DMFBSOLIDFILLAREA=mfbSolidBlackArea -DMFBSTIPPLEFILLAREA=mfbStippleBlackArea -DOPEQ=MFB_OPEQ_BLACK -DEQWHOLEWORD=MFB_EQWHOLEWORD_BLACK
CPPFLAGS.mfbpainv.c= -DMFBSOLIDFILLAREA=mfbSolidInvertArea -DMFBSTIPPLEFILLAREA=mfbStippleInvertArea -DOPEQ=MFB_OPEQ_INVERT -DEQWHOLEWORD=MFB_EQWHOLEWORD_INVERT
CPPFLAGS.mfbtewhite.c= -DMFBTEGLYPHBLT=mfbTEGlyphBltWhite -DOP=MFB_OP_WHITE -DCLIPTETEXT=mfbImageGlyphBltWhite
CPPFLAGS.mfbteblack.c= -DMFBTEGLYPHBLT=mfbTEGlyphBltBlack -DOP=MFB_OP_BLACK -DCLIPTETEXT=mfbImageGlyphBltBlack
CPPFLAGS.mfbplywhite.c= -DMFBFILLPOLY1RECT=mfbFillPolyWhite -DOPEQ=MFB_OPEQ_WHITE -DEQWHOLEWORD=MFB_EQWHOLEWORD_WHITE
CPPFLAGS.mfbplyblack.c= -DMFBFILLPOLY1RECT=mfbFillPolyBlack -DOPEQ=MFB_OPEQ_BLACK -DEQWHOLEWORD=MFB_EQWHOLEWORD_BLACK
CPPFLAGS.mfbplyinv.c= -DMFBFILLPOLY1RECT=mfbFillPolyInvert -DOPEQ=MFB_OPEQ_INVERT -DEQWHOLEWORD=MFB_EQWHOLEWORD_INVERT
CPPFLAGS.mfbbltC.c= -DMROP=Mcopy
CPPFLAGS.mfbbltX.c= -DMROP=Mxor
CPPFLAGS.mfbbltCI.c= -DMROP=McopyInverted
CPPFLAGS.mfbbltO.c= -DMROP=Mor
CPPFLAGS.mfbbltG.c= -DMROP=0
CPPFLAGS.mfbtileC.c= -DMROP=Mcopy
CPPFLAGS.mfbtileG.c= -DMROP=0
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include <bsd.lib.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2003/12/21 03:07:01 rtr Exp $
XMODULEDIR= ${X11USRLIBDIR}/modules
.include "../../Makefile.serverlib"
.include "../Makefile.mfb"

View File

@ -1,7 +1,9 @@
# $NetBSD: Makefile,v 1.2 2003/09/23 23:21:15 lukem Exp $
# $NetBSD: Makefile,v 1.3 2003/12/21 03:07:01 rtr Exp $
.include "../Makefile.serverlib"
.include "Makefile.record"
.if defined(X11FLAGS.LOADABLE)
SUBDIR= module
.include <bsd.subdir.mk>
.endif

View File

@ -1,7 +1,9 @@
# $NetBSD: Makefile,v 1.2 2003/09/23 23:21:17 lukem Exp $
# $NetBSD: Makefile,v 1.3 2003/12/21 03:07:01 rtr Exp $
.include "../Makefile.serverlib"
.include "Makefile.xtrap"
.if defined(X11FLAGS.LOADABLE)
SUBDIR= module
.include <bsd.subdir.mk>
.endif