Imakeicide-II: reach-over makefile infrastructure to build XFree86 4.x
(from /usr/xsrc) using bsd-style Makefiles. Why? - sane cross building - easy builds from read only source - non-root building - imake is evil nuff said.
This commit is contained in:
parent
fd2c85e985
commit
f36d03c7f7
30
x11/share/nls/Compose/Makefile
Normal file
30
x11/share/nls/Compose/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $NetBSD: Makefile,v 1.1.1.1 2003/09/12 03:06:13 lukem Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
CTFILES=armscii-8 el_GR.UTF-8 en_US.UTF-8 georgian-academy georgian-ps \
|
||||
ibm-cp1133 iso8859-1 iso8859-2 iso8859-3 iso8859-4 iso8859-5 \
|
||||
iso8859-6 iso8859-7 iso8859-8 iso8859-9 iso8859-9e iso8859-10 \
|
||||
iso8859-13 iso8859-14 iso8859-15 ja ja.JIS ja.SJIS ko koi8-c koi8-r \
|
||||
koi8-u mulelao-1 vi_VN.tcvn vi_VN.viscii zh_CN zh_CN.gbk zh_TW \
|
||||
zh_TW.big5
|
||||
|
||||
FILESNAME= Compose
|
||||
|
||||
.for _F in ${CTFILES}
|
||||
${_F}.ct: ${_F}
|
||||
@rm -f ${.TARGET}
|
||||
${CPP} -undef -traditional \
|
||||
< ${.ALLSRC} | ${X11TOOL_UNXCOMM} > ${.TARGET}
|
||||
|
||||
FILES+= ${_F}.ct
|
||||
FILESDIR_${_F}.ct= ${X11LIBDIR}/locale/${_F}
|
||||
CLEANFILES+= ${_F}.ct
|
||||
.endfor
|
||||
|
||||
realall: ${FILES}
|
||||
|
||||
.PATH: ${X11SRCDIR.xc}/nls/Compose
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include <bsd.x11.mk>
|
35
x11/share/nls/Makefile
Normal file
35
x11/share/nls/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $NetBSD: Makefile,v 1.1.1.1 2003/09/12 03:09:57 lukem Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
SUBDIR= Compose XI18N_OBJS XLC_LOCALE
|
||||
|
||||
|
||||
LTFILES=compose.dir locale.alias locale.dir
|
||||
|
||||
FILESDIR= ${X11LIBDIR}/locale
|
||||
|
||||
.for _F in ${LTFILES}
|
||||
${_F}.lt: ${_F}
|
||||
@rm -f ${.TARGET}
|
||||
( \
|
||||
${CPP} -undef -traditional \
|
||||
< ${.ALLSRC} | ${X11TOOL_UNXCOMM} \
|
||||
| sed -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d'; \
|
||||
${CPP} -undef -traditional \
|
||||
< ${.ALLSRC} | ${X11TOOL_UNXCOMM} ; \
|
||||
) > ${.TARGET}
|
||||
|
||||
FILES+= ${_F}.lt
|
||||
FILESNAME_${_F}.lt= ${_F}
|
||||
CLEANFILES+= ${_F}.lt
|
||||
.endfor
|
||||
|
||||
realall: ${FILES}
|
||||
|
||||
|
||||
.PATH: ${X11SRCDIR.xc}/nls
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include <bsd.subdir.mk>
|
||||
.include <bsd.x11.mk>
|
33
x11/share/nls/XLC_LOCALE/Makefile
Normal file
33
x11/share/nls/XLC_LOCALE/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $NetBSD: Makefile,v 1.1.1.1 2003/09/12 03:06:29 lukem Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LTFILES=C armscii-8 en_US.UTF-8 georgian-academy georgian-ps \
|
||||
ibm-cp1133 iscii-dev isiri-3342 iso8859-1 iso8859-2 iso8859-3 \
|
||||
iso8859-4 iso8859-5 iso8859-6 iso8859-7 iso8859-8 iso8859-9 \
|
||||
iso8859-9e iso8859-10 iso8859-11 iso8859-13 iso8859-14 \
|
||||
iso8859-15 ja ja.JIS ja.SJIS ja_JP.UTF-8 ko ko_KR.UTF-8 \
|
||||
koi8-c koi8-r koi8-u microsoft-cp1251 microsoft-cp1255 \
|
||||
microsoft-cp1256 mulelao-1 nokhchi-1 tatar-cyr th_TH \
|
||||
th_TH.UTF-8 tscii-0 vi_VN.tcvn vi_VN.viscii zh_CN zh_CN.gbk \
|
||||
zh_HK.big5 zh_HK.big5hkscs zh_TW zh_TW.UTF-8 zh_TW.big5
|
||||
|
||||
FILESNAME= XLC_LOCALE
|
||||
|
||||
.for _F in ${LTFILES}
|
||||
${_F}.lt: ${_F}
|
||||
@rm -f ${.TARGET}
|
||||
${CPP} -undef -traditional -DWCHAR32=1 \
|
||||
< ${.ALLSRC} | ${X11TOOL_UNXCOMM} > ${.TARGET}
|
||||
|
||||
FILES+= ${_F}.lt
|
||||
FILESDIR_${_F}.lt= ${X11LIBDIR}/locale/${_F}
|
||||
CLEANFILES+= ${_F}.lt
|
||||
.endfor
|
||||
|
||||
realall: ${FILES}
|
||||
|
||||
.PATH: ${X11SRCDIR.xc}/nls/XLC_LOCALE
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include <bsd.x11.mk>
|
Loading…
Reference in New Issue
Block a user