No empty .Rs/.Re
[netbsd-mini2440.git] / external / mit / xorg / lib / pixman / Makefile
blob0dd64e61d147beba0ea461759edcea23f4e2a9f5
1 # $NetBSD: Makefile,v 1.9 2009/07/09 02:15:48 mrg Exp $
3 NOLINT= 1 # defined
5 .include <bsd.own.mk>
7 LIB= pixman-1
9 DIST= ${X11SRCDIR.pixman}/pixman
10 .PATH: ${DIST}
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
38 # XXX
40 .if ${MACHINE_ARCH} == "i386"
41 # SSE2 requires a gcc >= 4.2
42 SRCS+= pixman-mmx.c
43 COPTS.pixman-mmx.c= -mmmx -fvisibility=hidden
44 MKDEPFLAGS+= -mmmx -fvisibility=hidden
45 .elif ${MACHINE_ARCH} == "x86_64"
46 SRCS+= pixman-mmx.c
47 SRCS+= pixman-sse2.c
48 COPTS.pixman-mmx.c= -mmmx -fvisibility=hidden
49 COPTS.pixman-sse2.c= -msse2 -fvisibility=hidden
50 MKDEPFLAGS+= -mmmx -msse2 -fvisibility=hidden
51 .endif
53 # .if VMX
54 # SRCS+= pixman-vmx.c
55 # .endif
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
67 PKGCONFIG= pixman-1
68 PKGDIST= pixman
70 .include <bsd.x11.mk>
71 .include <bsd.lib.mk>