head	1.12;
access;
symbols
	netbsd-11-0-RC4:1.11
	netbsd-11-0-RC3:1.11
	netbsd-11-0-RC2:1.11
	netbsd-11-0-RC1:1.11
	perseant-exfatfs-base-20250801:1.11
	netbsd-11:1.11.0.14
	netbsd-11-base:1.11
	netbsd-10-1-RELEASE:1.11
	perseant-exfatfs-base-20240630:1.11
	perseant-exfatfs:1.11.0.12
	perseant-exfatfs-base:1.11
	netbsd-8-3-RELEASE:1.7
	netbsd-9-4-RELEASE:1.11
	netbsd-10-0-RELEASE:1.11
	netbsd-10-0-RC6:1.11
	netbsd-10-0-RC5:1.11
	netbsd-10-0-RC4:1.11
	netbsd-10-0-RC3:1.11
	netbsd-10-0-RC2:1.11
	netbsd-10-0-RC1:1.11
	netbsd-10:1.11.0.10
	netbsd-10-base:1.11
	netbsd-9-3-RELEASE:1.11
	cjep_sun2x-base1:1.11
	cjep_sun2x:1.11.0.8
	cjep_sun2x-base:1.11
	cjep_staticlib_x-base1:1.11
	netbsd-9-2-RELEASE:1.11
	cjep_staticlib_x:1.11.0.6
	cjep_staticlib_x-base:1.11
	netbsd-9-1-RELEASE:1.11
	phil-wifi-20200421:1.11
	phil-wifi-20200411:1.11
	is-mlppp:1.11.0.4
	is-mlppp-base:1.11
	phil-wifi-20200406:1.11
	netbsd-8-2-RELEASE:1.7
	netbsd-9-0-RELEASE:1.11
	netbsd-9-0-RC2:1.11
	netbsd-9-0-RC1:1.11
	phil-wifi-20191119:1.11
	netbsd-9:1.11.0.2
	netbsd-9-base:1.11
	phil-wifi-20190609:1.11
	netbsd-8-1-RELEASE:1.7
	netbsd-8-1-RC1:1.7
	pgoyette-compat-merge-20190127:1.8.2.1
	pgoyette-compat-20190127:1.9
	pgoyette-compat-20190118:1.9
	pgoyette-compat-1226:1.9
	pgoyette-compat-1126:1.9
	pgoyette-compat-1020:1.9
	pgoyette-compat-0930:1.9
	pgoyette-compat-0906:1.9
	netbsd-7-2-RELEASE:1.5.26.1
	pgoyette-compat-0728:1.9
	netbsd-8-0-RELEASE:1.7
	phil-wifi:1.9.0.2
	phil-wifi-base:1.9
	pgoyette-compat-0625:1.9
	netbsd-8-0-RC2:1.7
	pgoyette-compat-0521:1.9
	pgoyette-compat-0502:1.8
	pgoyette-compat-0422:1.8
	netbsd-8-0-RC1:1.7
	pgoyette-compat-0415:1.8
	pgoyette-compat-0407:1.8
	pgoyette-compat-0330:1.8
	pgoyette-compat-0322:1.8
	pgoyette-compat-0315:1.8
	netbsd-7-1-2-RELEASE:1.5.26.1
	pgoyette-compat:1.8.0.2
	pgoyette-compat-base:1.8
	netbsd-7-1-1-RELEASE:1.5.26.1
	matt-nb8-mediatek:1.7.0.12
	matt-nb8-mediatek-base:1.7
	perseant-stdc-iso10646:1.7.0.10
	perseant-stdc-iso10646-base:1.7
	netbsd-8:1.7.0.8
	netbsd-8-base:1.7
	prg-localcount2-base3:1.7
	prg-localcount2-base2:1.7
	prg-localcount2-base1:1.7
	prg-localcount2:1.7.0.6
	prg-localcount2-base:1.7
	pgoyette-localcount-20170426:1.7
	bouyer-socketcan-base1:1.7
	pgoyette-localcount-20170320:1.7
	netbsd-7-1:1.5.26.1.0.6
	netbsd-7-1-RELEASE:1.5.26.1
	netbsd-7-1-RC2:1.5.26.1
	netbsd-7-nhusb-base-20170116:1.5.26.1
	bouyer-socketcan:1.7.0.4
	bouyer-socketcan-base:1.7
	pgoyette-localcount-20170107:1.7
	netbsd-7-1-RC1:1.5.26.1
	pgoyette-localcount-20161104:1.7
	netbsd-7-0-2-RELEASE:1.5.26.1
	localcount-20160914:1.7
	netbsd-7-nhusb:1.5.26.1.0.4
	netbsd-7-nhusb-base:1.5.26.1
	pgoyette-localcount-20160806:1.7
	pgoyette-localcount-20160726:1.7
	pgoyette-localcount:1.7.0.2
	pgoyette-localcount-base:1.7
	netbsd-7-0-1-RELEASE:1.5.26.1
	netbsd-7-0:1.5.26.1.0.2
	netbsd-7-0-RELEASE:1.5.26.1
	netbsd-7-0-RC3:1.5.26.1
	netbsd-7-0-RC2:1.5.26.1
	netbsd-7-0-RC1:1.5.26.1
	netbsd-5-2-3-RELEASE:1.4.2.1
	netbsd-5-1-5-RELEASE:1.4.2.1
	netbsd-6-0-6-RELEASE:1.5
	netbsd-6-1-5-RELEASE:1.5
	netbsd-7:1.5.0.26
	netbsd-7-base:1.5
	yamt-pagecache-base9:1.5
	yamt-pagecache-tag8:1.5
	netbsd-6-1-4-RELEASE:1.5
	netbsd-6-0-5-RELEASE:1.5
	tls-earlyentropy:1.5.0.24
	tls-earlyentropy-base:1.5
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.5
	riastradh-drm2-base3:1.5
	netbsd-6-1-3-RELEASE:1.5
	netbsd-6-0-4-RELEASE:1.5
	netbsd-5-2-2-RELEASE:1.4.2.1
	netbsd-5-1-4-RELEASE:1.4.2.1
	netbsd-6-1-2-RELEASE:1.5
	netbsd-6-0-3-RELEASE:1.5
	netbsd-5-2-1-RELEASE:1.4.2.1
	netbsd-5-1-3-RELEASE:1.4.2.1
	netbsd-6-1-1-RELEASE:1.5
	riastradh-drm2-base2:1.5
	riastradh-drm2-base1:1.5
	riastradh-drm2:1.5.0.18
	riastradh-drm2-base:1.5
	netbsd-6-1:1.5.0.22
	netbsd-6-0-2-RELEASE:1.5
	netbsd-6-1-RELEASE:1.5
	netbsd-6-1-RC4:1.5
	netbsd-6-1-RC3:1.5
	agc-symver:1.5.0.20
	agc-symver-base:1.5
	netbsd-6-1-RC2:1.5
	netbsd-6-1-RC1:1.5
	yamt-pagecache-base8:1.5
	netbsd-5-2:1.4.2.1.0.10
	netbsd-6-0-1-RELEASE:1.5
	yamt-pagecache-base7:1.5
	netbsd-5-2-RELEASE:1.4.2.1
	netbsd-5-2-RC1:1.4.2.1
	matt-nb6-plus-nbase:1.5
	yamt-pagecache-base6:1.5
	netbsd-6-0:1.5.0.16
	netbsd-6-0-RELEASE:1.5
	netbsd-6-0-RC2:1.5
	tls-maxphys:1.5.0.14
	tls-maxphys-base:1.5
	matt-nb6-plus:1.5.0.12
	matt-nb6-plus-base:1.5
	netbsd-6-0-RC1:1.5
	yamt-pagecache-base5:1.5
	yamt-pagecache-base4:1.5
	netbsd-6:1.5.0.10
	netbsd-6-base:1.5
	netbsd-5-1-2-RELEASE:1.4.2.1
	netbsd-5-1-1-RELEASE:1.4.2.1
	yamt-pagecache-base3:1.5
	yamt-pagecache-base2:1.5
	yamt-pagecache:1.5.0.8
	yamt-pagecache-base:1.5
	cherry-xenmp:1.5.0.6
	cherry-xenmp-base:1.5
	bouyer-quota2-nbase:1.5
	bouyer-quota2:1.5.0.4
	bouyer-quota2-base:1.5
	matt-mips64-premerge-20101231:1.5
	matt-nb5-mips64-premerge-20101231:1.4.2.1
	matt-nb5-pq3:1.4.2.1.0.8
	matt-nb5-pq3-base:1.4.2.1
	netbsd-5-1:1.4.2.1.0.6
	netbsd-5-1-RELEASE:1.4.2.1
	netbsd-5-1-RC4:1.4.2.1
	matt-nb5-mips64-k15:1.4.2.1
	netbsd-5-1-RC3:1.4.2.1
	netbsd-5-1-RC2:1.4.2.1
	netbsd-5-1-RC1:1.4.2.1
	netbsd-5-0-2-RELEASE:1.4.2.1
	matt-nb5-mips64-premerge-20091211:1.4.2.1
	matt-premerge-20091211:1.5
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.4.2.1
	matt-nb4-mips64-k7-u2a-k9b:1.4.2.1
	matt-nb5-mips64-u1-k1-k5:1.4.2.1
	matt-nb5-mips64:1.4.2.1.0.4
	netbsd-5-0-1-RELEASE:1.4.2.1
	jym-xensuspend-nbase:1.5
	netbsd-5-0:1.4.2.1.0.2
	netbsd-5-0-RELEASE:1.4.2.1
	netbsd-5-0-RC4:1.4.2.1
	netbsd-5-0-RC3:1.4.2.1
	netbsd-5-0-RC2:1.4.2.1
	jym-xensuspend:1.5.0.2
	jym-xensuspend-base:1.5
	netbsd-5-0-RC1:1.4.2.1
	haad-dm-base:1.5
	haad-dm-base2:1.5
	haad-nbase2:1.5
	netbsd-5:1.4.0.2
	netbsd-5-base:1.4
	matt-mips64-base2:1.4
	haad-dm:1.3.0.4
	haad-dm-base1:1.3
	wrstuden-revivesa-base-3:1.2
	wrstuden-revivesa:1.2.0.2
	wrstuden-revivesa-base-2:1.1.1.1
	oinkoink:1.1.1.1
	mrg-and-rtr:1.1.1;
locks; strict;
comment	@# @;


1.12
date	2025.09.20.07.36.55;	author mrg;	state Exp;
branches;
next	1.11;
commitid	DQ1K2VMX5jscnqbG;

1.11
date	2019.03.18.03.09.08;	author mrg;	state Exp;
branches;
next	1.10;
commitid	uTyShtyGBB2rkNfB;

1.10
date	2019.03.18.02.50.35;	author mrg;	state Exp;
branches;
next	1.9;
commitid	mKW44SEkZZB0eNfB;

1.9
date	2018.05.09.08.39.54;	author mrg;	state Exp;
branches
	1.9.2.1;
next	1.8;
commitid	McRhUICBhNRGdBBA;

1.8
date	2018.02.02.01.02.40;	author mrg;	state Exp;
branches
	1.8.2.1;
next	1.7;
commitid	gEW0HzHL87R8LdpA;

1.7
date	2014.11.21.01.11.50;	author joerg;	state Exp;
branches;
next	1.6;
commitid	AFmsHcFWEQE0pZYx;

1.6
date	2014.11.20.02.00.19;	author jmcneill;	state Exp;
branches;
next	1.5;
commitid	GWBpOuFGPgfGHRYx;

1.5
date	2008.11.06.22.28.26;	author veego;	state Exp;
branches
	1.5.26.1;
next	1.4;

1.4
date	2008.10.24.19.49.54;	author cube;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2008.10.03.03.52.15;	author cube;	state Exp;
branches
	1.3.4.1;
next	1.2;

1.2
date	2008.09.13.04.32.30;	author cube;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2008.07.29.05.01.22;	author mrg;	state Exp;
branches
	1.1.1.1;
next	;

1.9.2.1
date	2019.06.10.22.02.40;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.8.2.1
date	2018.05.21.04.35.54;	author pgoyette;	state Exp;
branches;
next	;
commitid	X5L8kSrBWQcDt7DA;

1.5.26.1
date	2014.11.20.10.08.17;	author snj;	state Exp;
branches;
next	;
commitid	aifPh38w7J2ZoUYx;

1.4.2.1
date	2008.11.07.23.23.35;	author snj;	state Exp;
branches;
next	;

1.3.4.1
date	2008.10.03.03.52.15;	author haad;	state dead;
branches;
next	1.3.4.2;

1.3.4.2
date	2008.10.19.22.41.10;	author haad;	state Exp;
branches;
next	;

1.2.2.1
date	2008.09.13.04.32.30;	author wrstuden;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2008.09.18.05.18.37;	author wrstuden;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	2008.09.24.16.35.04;	author wrstuden;	state Exp;
branches;
next	;

1.1.1.1
date	2008.07.29.05.01.22;	author mrg;	state Exp;
branches;
next	;


desc
@@


1.12
log
@use -Wno-alloc-size-larger-than with GCC 14.  unfortunately.
@
text
@#	$NetBSD: Makefile,v 1.11 2019/03/18 03:09:08 mrg 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
CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/freetype2/freetype

LIBDPLIBS=	X11		${.CURDIR}/../libX11/dynamic \
		fontconfig	${.CURDIR}/../fontconfig/src \
		freetype	${.CURDIR}/../freetype \
		Xrandr		${.CURDIR}/../libXrandr \
		Xrender		${.CURDIR}/../libXrender

PKGDIST=	${LIB}

# XXX
COPTS.xftrender.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 14:? -Wno-alloc-size-larger-than :}

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.11
log
@revert previous - was wrong.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2019/03/18 02:50:35 mrg Exp $
d32 3
@


1.10
log
@remove delete sources in libXft 2.3.3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2018/05/09 08:39:54 mrg Exp $
d10 1
a10 1
SRCS=	xftcolor.c xftcore.c xftdbg.c xftdraw.c xftextent.c \
@


1.9
log
@add freetype2/freetype to the include path.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2018/02/02 01:02:40 mrg Exp $
d10 1
a10 1
SRCS=	xftcolor.c xftcore.c xftdbg.c xftdpy.c xftdraw.c xftextent.c \
@


1.9.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2019/03/18 03:09:08 mrg Exp $
@


1.8
log
@convert HAVE_GCC handling to modern GCC release numbering:
- HAVE_GCC=5 is now the default (vs. HAVE_GCC=53 we've been using for
  GCC 5.4 and GCC 5.5.)
- remove some more GCC 4.8 code.  we don't support GCC 4 here.
- adjust set lists to gcc=5 from gcc=53.

add some basic HAVE_GCC=6 handling (totally unused so far.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2014/11/21 01:11:50 joerg Exp $
d22 1
@


1.8.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2018/05/09 08:39:54 mrg Exp $
a21 1
CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/freetype2/freetype
@


1.7
log
@Restrict workaround to GCC 4.8 as intended.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2014/11/20 02:00:19 jmcneill Exp $
a22 5
.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

@


1.6
log
@compile xftrender.c to workaround a crash in XftGlyphSpecRender on earm with gcc 4.8.4
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2008/11/06 22:28:26 veego Exp $
d23 1
a23 1
.if !empty(MACHINE_ARCH:Mearm*)
d25 1
a25 1
COPTS.xftrender.c+= -O0
@


1.5
log
@Add missing LIBDPLIBS, found by using 'LDFLAGS += -Wl,-z,defs' and sort
src/external/mit/xorg/lib/Makefile to match the new order.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2008/10/24 19:49:54 cube Exp $
d23 5
@


1.5.26.1
log
@Pull up following revision(s) (requested by jmcneill in ticket #253):
	external/mit/xorg/lib/libXft/Makefile: revision 1.6
compile xftrender.c with -O0 to workaround a crash in XftGlyphSpecRender
on earm with gcc 4.8.4
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2008/11/06 22:28:26 veego Exp $
a22 5
.if !empty(MACHINE_ARCH:Mearm*)
# Workaround a crash in XftGlyphSpecRender with GCC 4.8.4
COPTS.xftrender.c+= -O0
.endif

@


1.4
log
@Add required LIBDPLIBS.  Reported by jmcneill@@.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2008/10/03 03:52:15 cube Exp $
d26 2
a27 1
		Xrandr		${.CURDIR}/../libXrandr
@


1.4.2.1
log
@Pull up following revision(s) (requested by veego in ticket #22):
	external/mit/xorg/lib/Makefile: revision 1.6
	external/mit/xorg/lib/libOSMesa/Makefile: revision 1.3
	external/mit/xorg/lib/libXScrnSaver/Makefile: revision 1.4
	external/mit/xorg/lib/libXcomposite/Makefile: revision 1.4
	external/mit/xorg/lib/libXevie/Makefile: revision 1.4
	external/mit/xorg/lib/libXfixes/Makefile: revision 1.4
	external/mit/xorg/lib/libXfont/Makefile: revision 1.4
	external/mit/xorg/lib/libXft/Makefile: revision 1.5
	external/mit/xorg/lib/libXinerama/Makefile: revision 1.4
	external/mit/xorg/lib/libXprintAppUtil/Makefile: revision 1.3
	external/mit/xorg/lib/libXprintUtil/Makefile: revision 1.3
	external/mit/xorg/lib/libXres/Makefile: revision 1.7
	external/mit/xorg/lib/libXvMC/Makefile: revision 1.3
	external/mit/xorg/lib/libXxf86dga/Makefile: revision 1.3
	external/mit/xorg/lib/libXxf86misc/Makefile: revision 1.4
	external/mit/xorg/lib/libXxf86vm/Makefile: revision 1.4
	external/mit/xorg/lib/liblbxutil/Makefile: revision 1.4
	external/mit/xorg/lib/libxkbfile/Makefile: revision 1.3
	external/mit/xorg/lib/libxkbui/Makefile: revision 1.3
	external/mit/xorg/lib/libXdamage/Makefile: revision 1.3
	external/mit/xorg/lib/pixman/Makefile: revision 1.7
Add missing LIBDPLIBS, found by using 'LDFLAGS += -Wl,-z,defs' and sort
src/external/mit/xorg/lib/Makefile to match the new order.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2008/10/24 19:49:54 cube Exp $
d26 1
a26 2
		Xrandr		${.CURDIR}/../libXrandr \
		Xrender		${.CURDIR}/../libXrender
@


1.3
log
@Create and install xft-config(1).  LGFM'd by mrg@@.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/09/13 04:32:30 cube Exp $
d23 5
@


1.3.4.1
log
@file Makefile was added on branch haad-dm on 2008-10-19 22:41:10 +0000
@
text
@d1 26
@


1.3.4.2
log
@Sync with HEAD.
@
text
@a0 26
#	$NetBSD: Makefile,v 1.3 2008/10/03 03:52:15 cube 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

PKGDIST=	${LIB}

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.2
log
@Install pkgconfig files.  Where applicable, remove .if 0 code that tried to
do the same thing.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
a22 34
.if 0
# XXX it would be really swell if SCRIPTS was available from bsd.lib.mk
FILES=			xft.pc xft-config
FILESDIR_xft.pc=	${X11USRLIBDIR}/pkgconfig
FILESDIR_xft-config=	${X11BINDIR}
FILESOWN_xft-config=	${BINOWN}
FILESGRP_xft-config=	${BINGRP}
FILESMODE_xft-config=	${BINMODE}

CLEANFILES+=${FILES}
realall: ${FILES}

XFTDIR=		${X11SRCDIR.xc}/lib/Xft
CONFIG_SUBST=	${HOST_SH} ${XFTDIR}/config/config-subst \
		prefix="${X11ROOTDIR}" \
		exec_prefix="${X11BINDIR}" \
		libdir="${X11USRLIBDIR}" \
		includedir="${X11INCDIR}" \
		hardcode_libdir_flag_spec="-Wl,-rpath,${X11USRLIBDIR}" \
		PACKAGE_VERSION="2.1.0" \
		FREETYPE_LIBS="-L${X11USRLIBDIR} -lfreetype" \
		FREETYPE_CFLAGS="-I${X11INCDIR}/freetype2" \
		XRENDER_LIBS="-L${X11USRLIBDIR} -lXrender" \
		XRENDER_CFLAGS="-I${X11INCDIR}" \
		FONTCONFIG_LIBS="-L${X11USRLIBDIR} -lfontconfig" \
		FONTCONFIG_CFLAGS="-I${X11INCDIR}" 

xft.pc:
	${CONFIG_SUBST} < ${XFTDIR}/xft.pc.in > ${.TARGET}

xft-config:
	${CONFIG_SUBST} < ${XFTDIR}/xft-config.in > ${.TARGET}
.endif

@


1.2.2.1
log
@file Makefile was added on branch wrstuden-revivesa on 2008-09-18 05:18:37 +0000
@
text
@d1 60
@


1.2.2.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@a0 58
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg 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 0
# XXX it would be really swell if SCRIPTS was available from bsd.lib.mk
FILES=			xft.pc xft-config
FILESDIR_xft.pc=	${X11USRLIBDIR}/pkgconfig
FILESDIR_xft-config=	${X11BINDIR}
FILESOWN_xft-config=	${BINOWN}
FILESGRP_xft-config=	${BINGRP}
FILESMODE_xft-config=	${BINMODE}

CLEANFILES+=${FILES}
realall: ${FILES}

XFTDIR=		${X11SRCDIR.xc}/lib/Xft
CONFIG_SUBST=	${HOST_SH} ${XFTDIR}/config/config-subst \
		prefix="${X11ROOTDIR}" \
		exec_prefix="${X11BINDIR}" \
		libdir="${X11USRLIBDIR}" \
		includedir="${X11INCDIR}" \
		hardcode_libdir_flag_spec="-Wl,-rpath,${X11USRLIBDIR}" \
		PACKAGE_VERSION="2.1.0" \
		FREETYPE_LIBS="-L${X11USRLIBDIR} -lfreetype" \
		FREETYPE_CFLAGS="-I${X11INCDIR}/freetype2" \
		XRENDER_LIBS="-L${X11USRLIBDIR} -lXrender" \
		XRENDER_CFLAGS="-I${X11INCDIR}" \
		FONTCONFIG_LIBS="-L${X11USRLIBDIR} -lfontconfig" \
		FONTCONFIG_CFLAGS="-I${X11INCDIR}" 

xft.pc:
	${CONFIG_SUBST} < ${XFTDIR}/xft.pc.in > ${.TARGET}

xft-config:
	${CONFIG_SUBST} < ${XFTDIR}/xft-config.in > ${.TARGET}
.endif

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.2.2.3
log
@Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2.2.2 2008/09/18 05:18:37 wrstuden Exp $
a56 2
PKGDIST=	${LIB}

@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8.2.1 2004/11/15 09:12:46 rtr Exp $
d57 2
@


1.1.1.1
log
@initial import of the crossbuild framework for modular Xorg.  this
is heavily based upon the work rtr@@ did on src/x11, but hacked to
work for modern modular Xorg source split.

the sources will live in xsrc/external/mit/<package>/dist.

documentation on using this will come when the above directories
are fully populated.  there are 192 of them so it may take some time
before that is completed.
@
text
@@
