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