# $NetBSD: Makefile,v 1.8 2004/01/25 05:22:27 mhitch Exp $ .include "../Makefile.serverlib" .include LIB= mi .PATH: ${X11SRCDIR.xc}/programs/Xserver/mi SRCS= miarc.c mibank.c mibitblt.c mibstore.c miclipn.c \ micmap.c micursor.c midash.c midispcur.c mieq.c \ miexpose.c mifillarc.c mifillrct.c mifpolycon.c \ migc.c miglblt.c mioverlay.c mipointer.c mipoly.c \ mipolycon.c mipolygen.c mipolypnt.c mipolyrect.c \ mipolyseg.c mipolytext.c mipolyutil.c mipushpxl.c \ miregion.c miscrinit.c mispans.c misprite.c \ mivaltree.c miwideline.c miwindow.c mizerarc.c \ mizerclip.c mizerline.c CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/include \ -I${X11SRCDIR.xc}/include/fonts \ -I${X11SRCDIR.xc}/programs/Xserver/render \ -I${DESTDIR}${X11INCDIR}/X11 \ -I${DESTDIR}${X11INCDIR}/X11/extensions \ -I${X11SRCDIR.xc}/programs/Xserver/Xext CPPFLAGS.miinitext.c= ${X11FLAGS.EXTENSION} CPPFLAGS.miscrinit.c= ${X11FLAGS.EXTENSION} .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" || ${MACHINE} == "mac68k" SRCS+= miinitext.c CPPFLAGS.miinitext.c+= -UXF86MISC -UXINPUT -UXF86VIDMODE -UXFreeXDGA CPPFLAGS.miscrinit.c+= -UXF86MISC -UXINPUT -UXF86VIDMODE -UXFreeXDGA .endif .include .include