This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2014/11/21 01:11:50 joerg Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIB= Xft
|
|
|
|
.PATH: ${X11SRCDIR.${LIB}}/src
|
|
.PATH: ${X11SRCDIR.${LIB}}/include/X11/Xft
|
|
.PATH: ${X11SRCDIR.${LIB}}/man
|
|
SRCS= xftcolor.c xftcore.c xftdbg.c xftdpy.c xftdraw.c xftextent.c \
|
|
xftfont.c xftfreetype.c xftglyphs.c xftinit.c xftlist.c \
|
|
xftname.c xftrender.c xftstr.c xftswap.c xftxlfd.c
|
|
|
|
INCS= Xft.h XftCompat.h
|
|
INCSDIR=${X11INCDIR}/X11/Xft
|
|
|
|
MAN= Xft.3
|
|
|
|
CPPFLAGS+= ${X11FLAGS.THREADLIB}
|
|
CPPFLAGS+= -DFREETYPE2 -I${DESTDIR}${X11INCDIR}/freetype2 -DXFREE86_FT2
|
|
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/Xft
|
|
|
|
.if !empty(MACHINE_ARCH:Mearm*) && ${HAVE_GCC:U} == 48
|
|
# Workaround a crash in XftGlyphSpecRender with GCC 4.8.4
|
|
COPTS.xftrender.c+= ${${ACTIVE_CC} == "gcc" :? -O0 :}
|
|
.endif
|
|
|
|
LIBDPLIBS= X11 ${.CURDIR}/../libX11/dynamic \
|
|
fontconfig ${.CURDIR}/../fontconfig/src \
|
|
freetype ${.CURDIR}/../freetype \
|
|
Xrandr ${.CURDIR}/../libXrandr \
|
|
Xrender ${.CURDIR}/../libXrender
|
|
|
|
PKGDIST= ${LIB}
|
|
|
|
.include <bsd.x11.mk>
|
|
.include <bsd.lib.mk>
|