changeset 91455:fc780d7db4b7

(unidatagen-nmake, unidatagen-clean-nmake, unidatagen-CMD) (unidatagen-clean-CMD, unidatagen-SH, unidatagen-clean-SH): New targets. (bootstrap-nmake): Invoke unidatagen-nmake. (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
author Eli Zaretskii <eliz@gnu.org>
date Sat, 02 Feb 2008 15:03:02 +0000
parents 21d2e080001a
children 8e789aeed552
files nt/makefile.w32-in
diffstat 1 files changed, 30 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nt/makefile.w32-in	Sat Feb 02 15:00:20 2008 +0000
+++ b/nt/makefile.w32-in	Sat Feb 02 15:03:02 2008 +0000
@@ -143,15 +143,43 @@
 bootstrap:	addsection cmdproxy bootstrap-$(MAKETYPE)
 	$(MAKE) $(MFLAGS) $(XMFLAGS) all
 
+unidatagen-nmake:
+	cd ..\admin\unidata
+	$(MAKE) $(MFLAGS)
+	cd ..\..\nt
+
+unidatagen-clean-nmake:
+	cd ..\admin\unidata
+	$(MAKE) $(MFLAGS) clean
+	cd ..\..\nt
+
+unidatagen-CMD:
+	if exist ..\admin\unidata\UnicodeData.txt \
+	   $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../admin/unidata
+
+unidatagen-clean-CMD:
+	if exist ..\admin\unidata\UnicodeData.txt \
+	   $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../admin/unidata clean
+
+unidatagen-SH:
+	test -f ../admin/unidata/UnicodeData.txt && \
+	   $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../admin/unidata
+
+unidatagen-clean-SH:
+	test -f ../admin/unidata/UnicodeData.txt && \
+	   $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../admin/unidata clean
+
 bootstrap-nmake: addsection cmdproxy
 	cd ..\lisp
 	$(MAKE) $(MFLAGS) bootstrap-clean
 	cd ..\src
 	$(MAKE) $(MFLAGS) clean
+	if exist ..\admin $(MAKE) unidatagen-clean-nmake
 	cd ..\lib-src
 	$(MAKE) $(MFLAGS) clean
 	cd ..\src
 	$(MAKE) $(MFLAGS) bootstrap
+	if exist ..\admin $(MAKE) unidatagen-nmake
 	$(MAKE) $(MFLAGS) bootstrap-clean
 	cd ..\nt
 	$(CP) $(BLD)/cmdproxy.exe ../bin
@@ -164,8 +192,10 @@
 bootstrap-gmake: addsection cmdproxy
 	$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap-clean
 	$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src clean
+	$(MAKE) $(MFLAGS) $(XMFLAGS) unidatagen-clean-$(SHELLTYPE)
 	$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src clean
 	$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap
+	$(MAKE) $(MFLAGS) $(XMFLAGS) unidatagen-$(SHELLTYPE)
 	$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap-clean
 	$(CP) $(BLD)/cmdproxy.exe ../bin
 	$(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap