Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / x11 / Xserver / mi / Makefile
blob173b08985d21bb67fa162fffef2779b5bceb0792
1 # $NetBSD: Makefile,v 1.8 2004/01/25 05:22:27 mhitch Exp $
3 .include "../Makefile.serverlib"
5 .include <bsd.own.mk>
7 LIB= mi
8 .PATH: ${X11SRCDIR.xc}/programs/Xserver/mi
10 SRCS= miarc.c mibank.c mibitblt.c mibstore.c miclipn.c \
11 micmap.c micursor.c midash.c midispcur.c mieq.c \
12 miexpose.c mifillarc.c mifillrct.c mifpolycon.c \
13 migc.c miglblt.c mioverlay.c mipointer.c mipoly.c \
14 mipolycon.c mipolygen.c mipolypnt.c mipolyrect.c \
15 mipolyseg.c mipolytext.c mipolyutil.c mipushpxl.c \
16 miregion.c miscrinit.c mispans.c misprite.c \
17 mivaltree.c miwideline.c miwindow.c mizerarc.c \
18 mizerclip.c mizerline.c
20 CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/include \
21 -I${X11SRCDIR.xc}/include/fonts \
22 -I${X11SRCDIR.xc}/programs/Xserver/render \
23 -I${DESTDIR}${X11INCDIR}/X11 \
24 -I${DESTDIR}${X11INCDIR}/X11/extensions \
25 -I${X11SRCDIR.xc}/programs/Xserver/Xext
27 CPPFLAGS.miinitext.c= ${X11FLAGS.EXTENSION}
28 CPPFLAGS.miscrinit.c= ${X11FLAGS.EXTENSION}
30 .if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" || ${MACHINE} == "mac68k"
31 SRCS+= miinitext.c
32 CPPFLAGS.miinitext.c+= -UXF86MISC -UXINPUT -UXF86VIDMODE -UXFreeXDGA
33 CPPFLAGS.miscrinit.c+= -UXF86MISC -UXINPUT -UXF86VIDMODE -UXFreeXDGA
34 .endif
36 .include <bsd.x11.mk>
37 .include <bsd.lib.mk>