Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/x11/share/nls Imakeicide-II: reach-over makefile infrastruct...



details:   https://anonhg.NetBSD.org/src/rev/64c4b8af4f65
branches:  trunk
changeset: 551781:64c4b8af4f65
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Sep 12 03:06:13 2003 +0000

description:
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.

diffstat:

 x11/share/nls/Compose/Makefile    |  30 ++++++++++++++++++++++++++++++
 x11/share/nls/Makefile            |  35 +++++++++++++++++++++++++++++++++++
 x11/share/nls/XLC_LOCALE/Makefile |  33 +++++++++++++++++++++++++++++++++
 3 files changed, 98 insertions(+), 0 deletions(-)

diffs (110 lines):

diff -r 1b46be873cfa -r 64c4b8af4f65 x11/share/nls/Compose/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/share/nls/Compose/Makefile    Fri Sep 12 03:06:13 2003 +0000
@@ -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>
diff -r 1b46be873cfa -r 64c4b8af4f65 x11/share/nls/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/share/nls/Makefile    Fri Sep 12 03:06:13 2003 +0000
@@ -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>
diff -r 1b46be873cfa -r 64c4b8af4f65 x11/share/nls/XLC_LOCALE/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/share/nls/XLC_LOCALE/Makefile Fri Sep 12 03:06:13 2003 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index