head	1.4;
access;
symbols
	netbsd-11-0-RC4:1.4
	netbsd-11-0-RC3:1.4
	netbsd-11-0-RC2:1.4
	netbsd-11-0-RC1:1.4
	perseant-exfatfs-base-20250801:1.4
	netbsd-11:1.4.0.38
	netbsd-11-base:1.4
	netbsd-10-1-RELEASE:1.4
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.36
	perseant-exfatfs-base:1.4
	netbsd-8-3-RELEASE:1.4
	netbsd-9-4-RELEASE:1.4
	netbsd-10-0-RELEASE:1.4
	netbsd-10-0-RC6:1.4
	netbsd-10-0-RC5:1.4
	netbsd-10-0-RC4:1.4
	netbsd-10-0-RC3:1.4
	netbsd-10-0-RC2:1.4
	netbsd-10-0-RC1:1.4
	netbsd-10:1.4.0.34
	netbsd-10-base:1.4
	netbsd-9-3-RELEASE:1.4
	cjep_sun2x-base1:1.4
	cjep_sun2x:1.4.0.32
	cjep_sun2x-base:1.4
	cjep_staticlib_x-base1:1.4
	netbsd-9-2-RELEASE:1.4
	cjep_staticlib_x:1.4.0.30
	cjep_staticlib_x-base:1.4
	netbsd-9-1-RELEASE:1.4
	phil-wifi-20200421:1.4
	phil-wifi-20200411:1.4
	is-mlppp:1.4.0.28
	is-mlppp-base:1.4
	phil-wifi-20200406:1.4
	netbsd-8-2-RELEASE:1.4
	netbsd-9-0-RELEASE:1.4
	netbsd-9-0-RC2:1.4
	netbsd-9-0-RC1:1.4
	phil-wifi-20191119:1.4
	netbsd-9:1.4.0.26
	netbsd-9-base:1.4
	phil-wifi-20190609:1.4
	netbsd-8-1-RELEASE:1.4
	netbsd-8-1-RC1:1.4
	pgoyette-compat-merge-20190127:1.4
	pgoyette-compat-20190127:1.4
	pgoyette-compat-20190118:1.4
	pgoyette-compat-1226:1.4
	pgoyette-compat-1126:1.4
	pgoyette-compat-1020:1.4
	pgoyette-compat-0930:1.4
	pgoyette-compat-0906:1.4
	netbsd-7-2-RELEASE:1.4
	pgoyette-compat-0728:1.4
	netbsd-8-0-RELEASE:1.4
	phil-wifi:1.4.0.24
	phil-wifi-base:1.4
	pgoyette-compat-0625:1.4
	netbsd-8-0-RC2:1.4
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	netbsd-8-0-RC1:1.4
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	netbsd-7-1-2-RELEASE:1.4
	pgoyette-compat:1.4.0.22
	pgoyette-compat-base:1.4
	netbsd-7-1-1-RELEASE:1.4
	matt-nb8-mediatek:1.4.0.20
	matt-nb8-mediatek-base:1.4
	perseant-stdc-iso10646:1.4.0.18
	perseant-stdc-iso10646-base:1.4
	netbsd-8:1.4.0.16
	netbsd-8-base:1.4
	prg-localcount2-base3:1.4
	prg-localcount2-base2:1.4
	prg-localcount2-base1:1.4
	prg-localcount2:1.4.0.14
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	pgoyette-localcount-20170320:1.4
	netbsd-7-1:1.4.0.12
	netbsd-7-1-RELEASE:1.4
	netbsd-7-1-RC2:1.4
	netbsd-7-nhusb-base-20170116:1.4
	bouyer-socketcan:1.4.0.10
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	netbsd-7-1-RC1:1.4
	pgoyette-localcount-20161104:1.4
	netbsd-7-0-2-RELEASE:1.4
	localcount-20160914:1.4
	netbsd-7-nhusb:1.4.0.8
	netbsd-7-nhusb-base:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.6
	pgoyette-localcount-base:1.4
	netbsd-7-0-1-RELEASE:1.4
	netbsd-7-0:1.4.0.4
	netbsd-7-0-RELEASE:1.4
	netbsd-7-0-RC3:1.4
	netbsd-7-0-RC2:1.4
	netbsd-7-0-RC1:1.4
	netbsd-5-2-3-RELEASE:1.1.1.1.8.1
	netbsd-5-1-5-RELEASE:1.1.1.1.8.1
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.4.0.2
	netbsd-7-base:1.4
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.2
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.3.0.2
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-5-2-2-RELEASE:1.1.1.1.8.1
	netbsd-5-1-4-RELEASE:1.1.1.1.8.1
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.1.1.1.8.1
	netbsd-5-1-3-RELEASE:1.1.1.1.8.1
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.2
	riastradh-drm2-base1:1.2
	riastradh-drm2:1.2.0.16
	riastradh-drm2-base:1.2
	netbsd-6-1:1.2.0.20
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.2.0.18
	agc-symver-base:1.2
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.1.1.1.8.1.0.6
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.1.1.1.8.1
	netbsd-5-2-RC1:1.1.1.1.8.1
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.2
	netbsd-6-0:1.2.0.14
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.2.0.12
	tls-maxphys-base:1.4
	matt-nb6-plus:1.2.0.10
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-6:1.2.0.8
	netbsd-6-base:1.2
	netbsd-5-1-2-RELEASE:1.1.1.1.8.1
	netbsd-5-1-1-RELEASE:1.1.1.1.8.1
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.6
	yamt-pagecache-base:1.2
	cherry-xenmp:1.2.0.4
	cherry-xenmp-base:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.2
	bouyer-quota2-base:1.2
	matt-mips64-premerge-20101231:1.2
	matt-nb5-mips64-premerge-20101231:1.1.1.1.14.1
	matt-nb5-pq3:1.1.1.1.8.1.0.4
	matt-nb5-pq3-base:1.1.1.1.8.1
	netbsd-5-1:1.1.1.1.8.1.0.2
	netbsd-5-1-RELEASE:1.1.1.1.8.1
	netbsd-5-1-RC4:1.1.1.1.8.1
	matt-nb5-mips64-k15:1.1.1.1.14.1
	netbsd-5-1-RC3:1.1.1.1.8.1
	netbsd-5-1-RC2:1.1.1.1.8.1
	netbsd-5-1-RC1:1.1.1.1.8.1
	netbsd-5-0-2-RELEASE:1.1.1.1
	matt-nb5-mips64-premerge-20091211:1.1.1.1
	matt-premerge-20091211:1.2
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1.1.1
	matt-nb4-mips64-k7-u2a-k9b:1.1.1.1
	matt-nb5-mips64-u1-k1-k5:1.1.1.1
	matt-nb5-mips64:1.1.1.1.0.14
	netbsd-5-0-1-RELEASE:1.1.1.1
	jym-xensuspend-nbase:1.2
	netbsd-5-0:1.1.1.1.0.12
	netbsd-5-0-RELEASE:1.1.1.1
	netbsd-5-0-RC4:1.1.1.1
	netbsd-5-0-RC3:1.1.1.1
	netbsd-5-0-RC2:1.1.1.1
	jym-xensuspend:1.1.1.1.0.10
	jym-xensuspend-base:1.2
	netbsd-5-0-RC1:1.1.1.1
	haad-dm-base:1.1.1.1
	haad-dm-base2:1.1.1.1
	haad-nbase2:1.1.1.1
	netbsd-5:1.1.1.1.0.8
	netbsd-5-base:1.1.1.1
	matt-mips64-base2:1.1.1.1
	haad-dm:1.1.1.1.0.6
	haad-dm-base1:1.1.1.1
	wrstuden-revivesa-base-3:1.1.1.1
	wrstuden-revivesa:1.1.1.1.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.4
date	2014.08.05.15.40.59;	author apb;	state Exp;
branches;
next	1.3;
commitid	1Qp6Y0KwxUnrGbLx;

1.3
date	2014.01.27.08.18.08;	author apb;	state Exp;
branches
	1.3.2.1;
next	1.2;
commitid	wwPlzP7Kwl0vkJmx;

1.2
date	2009.03.31.21.18.36;	author perry;	state Exp;
branches
	1.2.6.1
	1.2.12.1;
next	1.1;

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

1.3.2.1
date	2014.08.10.06.50.58;	author tls;	state Exp;
branches;
next	;
commitid	DgL6ai6yRo4DAMLx;

1.2.6.1
date	2014.05.22.14.09.47;	author yamt;	state Exp;
branches;
next	;
commitid	FFQX08bYGKywAxBx;

1.2.12.1
date	2014.08.20.00.00.15;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.1.1.1
date	2008.07.29.05.01.23;	author mrg;	state Exp;
branches
	1.1.1.1.2.1
	1.1.1.1.6.1
	1.1.1.1.8.1
	1.1.1.1.10.1
	1.1.1.1.14.1;
next	;

1.1.1.1.2.1
date	2008.07.29.05.01.23;	author wrstuden;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2008.09.18.05.18.48;	author wrstuden;	state Exp;
branches;
next	;

1.1.1.1.6.1
date	2008.07.29.05.01.23;	author haad;	state dead;
branches;
next	1.1.1.1.6.2;

1.1.1.1.6.2
date	2008.10.19.22.41.22;	author haad;	state Exp;
branches;
next	;

1.1.1.1.8.1
date	2009.09.17.04.24.42;	author snj;	state Exp;
branches;
next	;

1.1.1.1.10.1
date	2009.05.13.18.53.29;	author jym;	state Exp;
branches;
next	;

1.1.1.1.14.1
date	2010.04.21.05.24.47;	author matt;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
@
text
@#	$NetBSD: Makefile.bdf,v 1.3 2014/01/27 08:18:08 apb Exp $

# Font files built using this makefile are cleaned in two ways:
#
#   * temporary build files are cleaned by 'make clean' (via CLEANFILES).
#
#   * Actual finished BDF and PCF files (BDFFILES and PCFFILES,
#     respectively) are removed only by "cleandir" because they
#     take a long time to build.  (See the 'cleanfonts' target.)
#
# Also, we *must* split these operations into multiple 'rm' commands
# because of the number of files being removed.  Trying to 'rm' all of
# these files with one command will cause some host systems to fail
# (rm arg list too long).

FILESDIR=	${X11FONTDIR}/${FONTSUBDIR}
.PATH:  	${X11SRCDIR.${FONTSRCPKG}}

FONTSUFFIX=	.gz
FONTGZIP=	| ${TOOL_GZIP_N} ${GZIPLEVEL:U-9} -cf

.include "${NETBSDSRCDIR}/external/mit/xorg/tools/bdftopcf/Makefile.bdftopcf"
.include "${NETBSDSRCDIR}/external/mit/xorg/tools/ucs2any/Makefile.ucs2any"

.for _F _M in ${UCSFILES}						# {
${_F}-${_M}.bdf: ${_F}.bdf
	${_MKTARGET_CREATE}
	${UCS2ANY} ${.ALLSRC} ${DESTDIR}${X11FONTDIR}/util/map-${_M} ${_M}

BDFFILES+=	${_F}-${_M}.bdf
.endfor									# }

.SUFFIXES: .bdf .pcf${FONTSUFFIX}

.bdf.pcf${FONTSUFFIX}:
	${_MKTARGET_CREATE}
	rm -f ${.TARGET}
	${BDFTOPCF} -t ${.IMPSRC} ${FONTGZIP} > ${.TARGET}.tmp \
	&& mv ${.TARGET}.tmp ${.TARGET}

PCFFILES+=	${BDFFILES:S/.bdf$/.pcf${FONTSUFFIX}/}
CLEANFILES+=	${BDFFILES:S/.bdf$/.pcf${FONTSUFFIX}.tmp/}

FILES+=		${PCFFILES}
.if exists(fonts.alias)
FILES+=		fonts.alias
.endif

realall:	${PCFFILES}

cleandir: cleanfonts

cleanfonts: .PHONY .NOTMAIN
	rm -f ${BDFFILES}
	rm -f ${PCFFILES}

.include "../../Makefile.font"
@


1.3
log
@Use ${TOOL_GZIP} instead of just gzip in all Makefiles
outside */dist/* subdirectories.

When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ},
so there's no need to test USE_PIGZGZIP in these Makefiles.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.bdf,v 1.2 2009/03/31 21:18:36 perry Exp $
d20 1
a20 1
FONTGZIP=	| ${TOOL_GZIP} ${GZIPLEVEL:U-9} -ncf
@


1.3.2.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.bdf,v 1.4 2014/08/05 15:40:59 apb Exp $
d20 1
a20 1
FONTGZIP=	| ${TOOL_GZIP_N} ${GZIPLEVEL:U-9} -cf
@


1.2
log
@add -n to gzip invocation
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.bdf,v 1.1.1.1 2008/07/29 05:01:23 mrg Exp $
d20 1
a20 1
FONTGZIP=	| gzip ${GZIPLEVEL:U-9} -ncf
@


1.2.12.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d20 1
a20 1
FONTGZIP=	| ${TOOL_GZIP_N} ${GZIPLEVEL:U-9} -cf
@


1.2.6.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.bdf,v 1.2 2009/03/31 21:18:36 perry Exp $
d20 1
a20 1
FONTGZIP=	| ${TOOL_GZIP} ${GZIPLEVEL:U-9} -ncf
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.bdf,v 1.6 2004/03/08 22:33:00 cgd Exp $
d20 1
a20 1
FONTGZIP=	| gzip ${GZIPLEVEL:U-9} -cf
@


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
@@


1.1.1.1.14.1
log
@sync to netbsd-5
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.bdf,v 1.1.1.1.8.1 2009/09/17 04:24:42 snj Exp $
d20 1
a20 1
FONTGZIP=	| gzip ${GZIPLEVEL:U-9} -ncf
@


1.1.1.1.8.1
log
@Apply patch (requested by mrg in ticket #958):
Sync X.Org reachover build framework and setlists with the new X.Org.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.bdf,v 1.2 2009/03/31 21:18:36 perry Exp $
d20 1
a20 1
FONTGZIP=	| gzip ${GZIPLEVEL:U-9} -ncf
@


1.1.1.1.10.1
log
@Sync with HEAD.

Second commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.bdf,v 1.2 2009/03/31 21:18:36 perry Exp $
d20 1
a20 1
FONTGZIP=	| gzip ${GZIPLEVEL:U-9} -ncf
@


1.1.1.1.6.1
log
@file Makefile.bdf was added on branch haad-dm on 2008-10-19 22:41:22 +0000
@
text
@d1 57
@


1.1.1.1.6.2
log
@Sync with HEAD.
@
text
@a0 57
#	$NetBSD: Makefile.bdf,v 1.1.1.1 2008/07/29 05:01:23 mrg Exp $

# Font files built using this makefile are cleaned in two ways:
#
#   * temporary build files are cleaned by 'make clean' (via CLEANFILES).
#
#   * Actual finished BDF and PCF files (BDFFILES and PCFFILES,
#     respectively) are removed only by "cleandir" because they
#     take a long time to build.  (See the 'cleanfonts' target.)
#
# Also, we *must* split these operations into multiple 'rm' commands
# because of the number of files being removed.  Trying to 'rm' all of
# these files with one command will cause some host systems to fail
# (rm arg list too long).

FILESDIR=	${X11FONTDIR}/${FONTSUBDIR}
.PATH:  	${X11SRCDIR.${FONTSRCPKG}}

FONTSUFFIX=	.gz
FONTGZIP=	| gzip ${GZIPLEVEL:U-9} -cf

.include "${NETBSDSRCDIR}/external/mit/xorg/tools/bdftopcf/Makefile.bdftopcf"
.include "${NETBSDSRCDIR}/external/mit/xorg/tools/ucs2any/Makefile.ucs2any"

.for _F _M in ${UCSFILES}						# {
${_F}-${_M}.bdf: ${_F}.bdf
	${_MKTARGET_CREATE}
	${UCS2ANY} ${.ALLSRC} ${DESTDIR}${X11FONTDIR}/util/map-${_M} ${_M}

BDFFILES+=	${_F}-${_M}.bdf
.endfor									# }

.SUFFIXES: .bdf .pcf${FONTSUFFIX}

.bdf.pcf${FONTSUFFIX}:
	${_MKTARGET_CREATE}
	rm -f ${.TARGET}
	${BDFTOPCF} -t ${.IMPSRC} ${FONTGZIP} > ${.TARGET}.tmp \
	&& mv ${.TARGET}.tmp ${.TARGET}

PCFFILES+=	${BDFFILES:S/.bdf$/.pcf${FONTSUFFIX}/}
CLEANFILES+=	${BDFFILES:S/.bdf$/.pcf${FONTSUFFIX}.tmp/}

FILES+=		${PCFFILES}
.if exists(fonts.alias)
FILES+=		fonts.alias
.endif

realall:	${PCFFILES}

cleandir: cleanfonts

cleanfonts: .PHONY .NOTMAIN
	rm -f ${BDFFILES}
	rm -f ${PCFFILES}

.include "../../Makefile.font"
@


1.1.1.1.2.1
log
@file Makefile.bdf was added on branch wrstuden-revivesa on 2008-09-18 05:18:48 +0000
@
text
@d1 57
@


1.1.1.1.2.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@a0 57
#	$NetBSD: Makefile.bdf,v 1.1.1.1 2008/07/29 05:01:23 mrg Exp $

# Font files built using this makefile are cleaned in two ways:
#
#   * temporary build files are cleaned by 'make clean' (via CLEANFILES).
#
#   * Actual finished BDF and PCF files (BDFFILES and PCFFILES,
#     respectively) are removed only by "cleandir" because they
#     take a long time to build.  (See the 'cleanfonts' target.)
#
# Also, we *must* split these operations into multiple 'rm' commands
# because of the number of files being removed.  Trying to 'rm' all of
# these files with one command will cause some host systems to fail
# (rm arg list too long).

FILESDIR=	${X11FONTDIR}/${FONTSUBDIR}
.PATH:  	${X11SRCDIR.${FONTSRCPKG}}

FONTSUFFIX=	.gz
FONTGZIP=	| gzip ${GZIPLEVEL:U-9} -cf

.include "${NETBSDSRCDIR}/external/mit/xorg/tools/bdftopcf/Makefile.bdftopcf"
.include "${NETBSDSRCDIR}/external/mit/xorg/tools/ucs2any/Makefile.ucs2any"

.for _F _M in ${UCSFILES}						# {
${_F}-${_M}.bdf: ${_F}.bdf
	${_MKTARGET_CREATE}
	${UCS2ANY} ${.ALLSRC} ${DESTDIR}${X11FONTDIR}/util/map-${_M} ${_M}

BDFFILES+=	${_F}-${_M}.bdf
.endfor									# }

.SUFFIXES: .bdf .pcf${FONTSUFFIX}

.bdf.pcf${FONTSUFFIX}:
	${_MKTARGET_CREATE}
	rm -f ${.TARGET}
	${BDFTOPCF} -t ${.IMPSRC} ${FONTGZIP} > ${.TARGET}.tmp \
	&& mv ${.TARGET}.tmp ${.TARGET}

PCFFILES+=	${BDFFILES:S/.bdf$/.pcf${FONTSUFFIX}/}
CLEANFILES+=	${BDFFILES:S/.bdf$/.pcf${FONTSUFFIX}.tmp/}

FILES+=		${PCFFILES}
.if exists(fonts.alias)
FILES+=		fonts.alias
.endif

realall:	${PCFFILES}

cleandir: cleanfonts

cleanfonts: .PHONY .NOTMAIN
	rm -f ${BDFFILES}
	rm -f ${PCFFILES}

.include "../../Makefile.font"
@
