config root man

Current Path : /usr/src/share/i18n/csmapper/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/src/share/i18n/csmapper/Makefile.part

# $FreeBSD: release/9.1.0/share/i18n/csmapper/Makefile.part 219019 2011-02-25 00:04:39Z gabor $
# $NetBSD: Makefile,v 1.13 2007/03/13 16:34:37 tnozaki Exp $

MKCSMAPPER?= ${.OBJDIR}/../../../../usr.bin/mkcsmapper_static/mkcsmapper_static

ESUBDIR?= ${CODE}
PARTFILE?= ${.CURDIR}/${CODE}.part
.if exists(${PARTFILE})
PART!=	sed '/^\#/d;/^$$/d;' ${PARTFILE}
.endif
TABLENAME?= ${CODE}-%%PART%%%UCS
RTABLENAME?= UCS%${CODE}-%%PART%%

ENCID?=	${CODE}%%PART%%
ENCEXT?= .mps
MAPPER?= mapper_std
REVSYMBOL?=	
FILESDIR= ${CSMAPPERDIR}/${ESUBDIR}

.SUFFIXES: .src .646 .mps

.src.mps:
	${MKCSMAPPER} -o ${.TARGET} ${.IMPSRC}

.if !target(mapper.dir.${ESUBDIR})
.if !exists(mapper.dir.${ESUBDIR}.src)
mapper.dir.${ESUBDIR}: ${CODE}.part
	echo "# ${ESUBDIR}" > ${.TARGET}
.for i in ${PART}
	printf "%-32s%-32s%s\n" ${ENCID:S@%%PART%%@${i}@}/UCS ${MAPPER} \
		${ESUBDIR}/${TABLENAME:S@%%PART%%@${i}@}${ENCEXT} >> ${.TARGET}
	printf "%-32s%-32s%s\n" UCS/${ENCID:S@%%PART%%@${i}@} ${MAPPER} \
		${REVSYMBOL}${ESUBDIR}/${RTABLENAME:S@%%PART%%@${i}@}${ENCEXT} >> ${.TARGET}
.endfor
	echo >> ${.TARGET}
.else
mapper.dir.${ESUBDIR}: mapper.dir.${ESUBDIR}.src
	(echo "# ${ESUBDIR}" ; cat ${.ALLSRC} ; echo ) > ${.TARGET}
.endif
.endif
CLEANFILES+=	mapper.dir.${ESUBDIR}

.if !target(charset.pivot.${ESUBDIR})
.if !exists(charset.pivot.${ESUBDIR}.src)
charset.pivot.${ESUBDIR}: ${CODE}.part
	echo "# ${ESUBDIR}" > ${.TARGET}
.for i in ${PART}
	printf "%-32s%-32s%d\n" ${ENCID:S@%%PART%%@${i}@} UCS 1 >> ${.TARGET}
	printf "%-32s%-32s%d\n" UCS ${ENCID:S@%%PART%%@${i}@} 1 >> ${.TARGET}
.endfor
	echo >> ${.TARGET}
.else
charset.pivot.${ESUBDIR}: charset.pivot.${ESUBDIR}.src
	(echo "# ${ESUBDIR}" ; cat ${.ALLSRC} ; echo ) > ${.TARGET}
.endif
.endif
CLEANFILES+= charset.pivot.${ESUBDIR}


.if !defined(MAPS)
.for i in ${PART}
.if exists(${TABLENAME:S@%%PART%%@${i}@}.src)
FILES+=	${TABLENAME:S@%%PART%%@${i}@}.mps
CLEANFILES+= ${TABLENAME:S@%%PART%%@${i}@}.mps
.endif
.if exists(${RTABLENAME:S@%%PART%%@${i}@}.src)
FILES+=	${RTABLENAME:S@%%PART%%@${i}@}.mps
CLEANFILES+= ${RTABLENAME:S@%%PART%%@${i}@}.mps
.endif
.endfor
.else
FILES+=	${MAPS}
CLEANFILES+= ${MAPS}
.endif

realall: all
all: ${FILES} mapper.dir.${ESUBDIR} charset.pivot.${ESUBDIR}

.include "./Makefile.inc"
.include <bsd.prog.mk>

Man Man