Makefile revision 1.3
1#	$NetBSD: Makefile,v 1.3 2008/08/03 22:09:12 mrg Exp $
2
3.include "../Makefile.serverlib"
4.include "../Makefile.servermod"
5
6LIB=		mi
7
8.PATH:		${X11SRCDIR.xorg-server}/mi
9SRCS=		miarc.c mibank.c mibitblt.c mibstore.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		miregion.c miscrinit.c mispans.c misprite.c \
16		mivaltree.c miwideline.c miwindow.c mizerarc.c \
17		mizerclip.c mizerline.c
18
19# XXX the order is important since there are headers with the same
20#     name but differ depending on location
21CPPFLAGS+=	-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${DESTDIR}${X11INCDIR}/pixman-1 \
28		-I${DESTDIR}${X11INCDIR}/xorg \
29		${X11FLAGS.DIX} \
30		-DHAVE_XNEST_CONFIG_H
31
32CPPFLAGS.miscrinit.c=	${X11FLAGS.EXTENSION}
33
34.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" || ${MACHINE} == "mac68k"
35SRCS+=  miinitext.c
36CPPFLAGS.miinitext.c=	${X11FLAGS.EXTENSION}
37CPPFLAGS.miinitext.c+=   -UXF86MISC -UXINPUT -UXF86VIDMODE -UXFreeXDGA
38CPPFLAGS.miscrinit.c+=   -UXF86MISC -UXINPUT -UXF86VIDMODE -UXFreeXDGA
39.endif
40
41.include <bsd.x11.mk>
42.include <bsd.lib.mk>
43