1 # $NetBSD: Makefile,v 1.7 2014/11/21 01:11:50 joerg Exp $
7 .PATH
: ${X11SRCDIR.
${LIB}}/src
8 .PATH
: ${X11SRCDIR.
${LIB}}/include/X11
/Xft
9 .PATH
: ${X11SRCDIR.
${LIB}}/man
10 SRCS
= xftcolor.c xftcore.c xftdbg.c xftdpy.c xftdraw.c xftextent.c \
11 xftfont.c xftfreetype.c xftglyphs.c xftinit.c xftlist.c \
12 xftname.c xftrender.c xftstr.c xftswap.c xftxlfd.c
14 INCS
= Xft.h XftCompat.h
15 INCSDIR
=${X11INCDIR}/X11
/Xft
19 CPPFLAGS
+= ${X11FLAGS.THREADLIB
}
20 CPPFLAGS
+= -DFREETYPE2
-I
${DESTDIR}${X11INCDIR}/freetype2
-DXFREE86_FT2
21 CPPFLAGS
+= -I
${DESTDIR}${X11INCDIR}/X11
/Xft
23 .if
!empty
(MACHINE_ARCH
:Mearm
*) && ${HAVE_GCC
:U
} == 48
24 # Workaround a crash in XftGlyphSpecRender with GCC 4.8.4
25 COPTS.xftrender.c
+= ${${ACTIVE_CC} == "gcc" :?
-O0
:}
28 LIBDPLIBS
= X11
${.CURDIR
}/..
/libX11
/dynamic \
29 fontconfig
${.CURDIR
}/..
/fontconfig
/src \
30 freetype
${.CURDIR
}/..
/freetype \
31 Xrandr
${.CURDIR
}/..
/libXrandr \
32 Xrender
${.CURDIR
}/..
/libXrender