1 # $NetBSD: Makefile,v 1.9 2011/08/02 09:11:38 mrg Exp $
3 .
include "../Makefile.serverlib"
4 .
include "../Makefile.servermod"
8 .PATH
: ${X11SRCDIR.xorg-server
}/mi
9 SRCS
= miarc.c mibitblt.c micopy.c \
10 micmap.c micursor.c midash.c midispcur.c mieq.c \
11 miexpose.c mifillarc.c mifillrct.c mifpolycon.c \
12 migc.c miglblt.c mioverlay.c mipointer.c mipoly.c \
13 mipolycon.c mipolygen.c mipolypnt.c mipolyrect.c \
14 mipolyseg.c mipolytext.c mipolyutil.c mipushpxl.c \
15 miscrinit.c mispans.c misprite.c \
16 mivaltree.c miwideline.c miwindow.c mizerarc.c \
17 mizerclip.c mizerline.c
19 # XXX the order is important since there are headers with the same
20 # name but differ depending on location
21 CPPFLAGS
+= -I
${X11SRCDIR.xorg-server
}/..
/include \
22 -I
${X11SRCDIR.xorg-server
}/render \
23 -I
${DESTDIR}${X11INCDIR}/X11 \
24 -I
${X11SRCDIR.xorg-server
}/Xext \
25 -I
${X11SRCDIR.xorg-server
}/miext
/damage \
26 -I
${X11SRCDIR.xorg-server
}/Xi \
27 -I
${X11SRCDIR.xorg-server
}/hw
/xnest \
28 -I
${DESTDIR}${X11INCDIR}/pixman-1 \
29 -I
${DESTDIR}${X11INCDIR}/xorg \
33 CPPFLAGS.miscrinit.c
= ${X11FLAGS.EXTENSION
}
36 .if
${MACHINE_ARCH} == "sparc" ||
${MACHINE_ARCH} == "sparc64" ||
${MACHINE} == "mac68k"
38 CPPFLAGS.miinitext.c
= ${X11FLAGS.EXTENSION
}
39 CPPFLAGS.miinitext.c
+= -UXF86MISC
-UXINPUT
-UXF86VIDMODE
-UXFreeXDGA
40 CPPFLAGS.miscrinit.c
+= -UXF86MISC
-UXINPUT
-UXF86VIDMODE
-UXFreeXDGA
44 COPTS.micmap.c
+= -Wno-error
45 COPTS.miexpose.c
+= -Wno-error