1 # $NetBSD: Makefile,v 1.5.2.3 2008/09/24 16:35:06 wrstuden Exp $ 2 3 NOLINT= 1 # defined 4 5 .include <bsd.own.mk> 6 7 LIB= pixman-1 8 9 DIST= ${X11SRCDIR.pixman}/pixman 10 .PATH: ${DIST} ${DIST}/../../combine 11 12 SRCS= pixman-access.c pixman-region16.c pixman-access-accessors.c \ 13 pixman-region32.c pixman-image.c pixman-combine32.c \ 14 pixman-combine64.c pixman-compose.c pixman-compose-accessors.c \ 15 pixman-pict.c pixman-source.c pixman-transformed.c pixman-utils.c \ 16 pixman-transformed-accessors.c pixman-edge.c \ 17 pixman-edge-accessors.c pixman-trap.c pixman-compute-region.c \ 18 pixman-timer.c 19 20 # XXX 21 22 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 23 SRCS+= pixman-mmx.c 24 SRCS+= pixman-sse.c 25 MKDEPFLAGS+= -msse -mmmx -fvisibility=hidden 26 COPTS.pixman-mmx.c= -msse -mmmx -fvisibility=hidden 27 COPTS.pixman-sse.c= -msse -mmmx -fvisibility=hidden 28 .endif 29 30 # .if VMX 31 # SRCS+= pixman-vmx.c 32 # .endif 33 34 INCS= pixman.h pixman-version.h 35 INCSDIR=${X11INCDIR}/pixman-1 36 37 CPPFLAGS+= -DPIXMAN_DISABLE_DEPRECATED -DHAVE_CONFIG_H \ 38 -I${X11SRCDIR.pixman}/../include \ 39 -I${X11SRCDIR.pixman}/../combine \ 40 -I${X11SRCDIR.pixman}/pixman 41 42 PKGCONFIG= pixman-1 43 PKGDIST= pixman 44 45 .include <bsd.x11.mk> 46 .include <bsd.lib.mk> 47