Home | History | Annotate | Line # | Download | only in pixman
Makefile revision 1.8
      1 #	$NetBSD: Makefile,v 1.8 2009/06/11 05:11:14 mrg 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}
     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 \
     15 	pixman-pict.c pixman-utils.c \
     16 	pixman-edge.c \
     17 	pixman-edge-accessors.c pixman-trap.c pixman-compute-region.c \
     18 	pixman-general.c pixman-fast-path.c pixman-solid-fill.c \
     19 	pixman-conical-gradient.c pixman-linear-gradient.c \
     20 	pixman-radial-gradient.c pixman-bits-image.c \
     21 	pixman-timer.c pixman-matrix.c pixman-cpu.c \
     22 	pixman-gradient-walker.c pixman-implementation.c
     23 
     24 # XXX
     25 
     26 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
     27 SRCS+=	pixman-mmx.c
     28 SRCS+=	pixman-sse2.c
     29 MKDEPFLAGS+=		-msse -mmmx -fvisibility=hidden
     30 COPTS.pixman-mmx.c=	-msse -mmmx -fvisibility=hidden
     31 COPTS.pixman-sse2.c=	-msse -mmmx -fvisibility=hidden
     32 .endif
     33 
     34 # .if VMX
     35 # SRCS+=	pixman-vmx.c
     36 # .endif
     37 
     38 INCS=	pixman.h pixman-version.h
     39 INCSDIR=${X11INCDIR}/pixman-1
     40 
     41 CPPFLAGS+=	-DPIXMAN_DISABLE_DEPRECATED -DHAVE_CONFIG_H \
     42 		-I${X11SRCDIR.pixman}/../include \
     43 		-I${X11SRCDIR.pixman}/../combine \
     44 		-I${X11SRCDIR.pixman}/pixman
     45 
     46 LIBDPLIBS=	m	${.CURDIR}/../../../../../lib/libm
     47 
     48 PKGCONFIG=	pixman-1
     49 PKGDIST=	pixman
     50 
     51 .include <bsd.x11.mk>
     52 .include <bsd.lib.mk>
     53