From 998605ca09286941d5887aa2c836ebeace0825ce Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 2 Feb 2011 09:55:27 +0000 Subject: Solved parallel build problem starting from a clean tree --- xorg-server/fonts.src/75dpi/makefile | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'xorg-server/fonts.src/75dpi') diff --git a/xorg-server/fonts.src/75dpi/makefile b/xorg-server/fonts.src/75dpi/makefile index 06c42b5c0..2467889d9 100644 --- a/xorg-server/fonts.src/75dpi/makefile +++ b/xorg-server/fonts.src/75dpi/makefile @@ -4,7 +4,17 @@ endif INC_BDF_RULES=1 -all: $(BDFTOPCF) +UTIL_DIR = ..\font-util + +load_makefile $(UTIL_DIR)\makefile MAKESERVER=0 DEBUG=$(DEBUG) + +UCS2ANY = $(UTIL_DIR)\$(OBJDIR)\ucs2any.exe + + # The following rule is to avoid parallel build problems +.PHONY: buildtoolsfirst +buildtoolsfirst: $(BDFTOPCF) $(UCS2ANY) + +all: buildtoolsfirst DESTDIR=$(MHMAKECONF)\xorg-server\fonts\75dpi @@ -253,11 +263,6 @@ ISO8859_14_PCF_FILES = $(BDF2UCS_FONT_FILES:%=$(DESTDIR)\%-ISO8859-14.pcf.gz) ISO8859_15_PCF_FILES = $(BDF2UCS_FONT_FILES:%=$(DESTDIR)\%-ISO8859-15.pcf.gz) -UTIL_DIR = ..\font-util -UCS2ANY = $(UTIL_DIR)\$(OBJDIR)\ucs2any.exe - -load_makefile $(UTIL_DIR)\makefile MAKESERVER=0 DEBUG=$(DEBUG) - $(DESTDIR)\%-ISO8859-1.pcf.gz: %.bdf @del -e $(<:%.bdf=%-ISO8859-1.bdf) $(UCS2ANY) $< $(UTIL_DIR)\map-ISO8859-1 ISO8859-1 @@ -333,7 +338,11 @@ font_DATA = \ $(ISO8859_14_PCF_FILES) \ $(ISO8859_15_PCF_FILES) -all: $(DESTDIR) $(UCS2ANY) $(DESTDIR)\fonts.dir $(DESTDIR)\fonts.alias +all: $(DESTDIR) $(DESTDIR)\fonts.dir $(DESTDIR)\fonts.alias + +MKFONTSCALE=$(MHMAKECONF)\mkfontscale\$(OBJDIR)\mkfontscale.exe + +load_makefile $(MHMAKECONF)\mkfontscale\makefile MAKESERVER=0 DEBUG=$(DEBUG) $(DESTDIR)\fonts.scale: $(font_DATA) $(MKFONTSCALE) del -e $@ -- cgit v1.2.3