etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / xorg / server / xorg-server / mi / Makefile
blob03aa0b1bffeb54912f1a5af17436f30f64708dc9
1 # $NetBSD: Makefile,v 1.9 2011/08/02 09:11:38 mrg Exp $
3 .include "../Makefile.serverlib"
4 .include "../Makefile.servermod"
6 LIB= mi
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 \
30 ${X11FLAGS.DIX} \
31 -DHAVE_XNEST_CONFIG_H
33 CPPFLAGS.miscrinit.c= ${X11FLAGS.EXTENSION}
35 .if 0
36 .if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" || ${MACHINE} == "mac68k"
37 SRCS+= miinitext.c
38 CPPFLAGS.miinitext.c= ${X11FLAGS.EXTENSION}
39 CPPFLAGS.miinitext.c+= -UXF86MISC -UXINPUT -UXF86VIDMODE -UXFreeXDGA
40 CPPFLAGS.miscrinit.c+= -UXF86MISC -UXINPUT -UXF86VIDMODE -UXFreeXDGA
41 .endif
42 .endif
44 COPTS.micmap.c+= -Wno-error
45 COPTS.miexpose.c+= -Wno-error
47 .include <bsd.x11.mk>
48 .include <bsd.lib.mk>