1 # $NetBSD: Makefile,v 1.9 2009/07/09 02:15:48 mrg Exp $
9 DIST
= ${X11SRCDIR.pixman
}/pixman
14 pixman-access-accessors.c \
16 pixman-gradient-walker.c \
20 pixman-implementation.c \
27 pixman-conical-gradient.c \
28 pixman-linear-gradient.c \
29 pixman-radial-gradient.c \
33 pixman-edge-accessors.c \
40 .if
${MACHINE_ARCH} == "i386"
41 # SSE2 requires a gcc >= 4.2
43 COPTS.pixman-mmx.c
= -mmmx
-fvisibility
=hidden
44 MKDEPFLAGS
+= -mmmx
-fvisibility
=hidden
45 .elif
${MACHINE_ARCH} == "x86_64"
48 COPTS.pixman-mmx.c
= -mmmx
-fvisibility
=hidden
49 COPTS.pixman-sse2.c
= -msse2
-fvisibility
=hidden
50 MKDEPFLAGS
+= -mmmx
-msse2
-fvisibility
=hidden
57 INCS
= pixman.h pixman-version.h
58 INCSDIR
=${X11INCDIR}/pixman-1
60 CPPFLAGS
+= -DPIXMAN_DISABLE_DEPRECATED
-DHAVE_CONFIG_H \
61 -I
${X11SRCDIR.pixman
}/..
/include \
62 -I
${X11SRCDIR.pixman
}/..
/combine \
63 -I
${X11SRCDIR.pixman
}/pixman
65 LIBDPLIBS
= m
${.CURDIR
}/..
/..
/..
/..
/..
/lib
/libm