From f650bdd2431bad626a63b23751f672fa2ff45142 Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Fri, 25 Feb 2005 19:38:11 +0000 Subject: [PATCH] generate buildno.h and it's cousins before makefile.auto, so it's sure to exist before processing makefile.auto svn path=/branches/xmlbuildsystem/; revision=13742 --- reactos/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/reactos/Makefile b/reactos/Makefile index f31ae65724a..5bc7919ca7f 100644 --- a/reactos/Makefile +++ b/reactos/Makefile @@ -29,16 +29,18 @@ endif include tools/Makefile -include Makefile.auto -Makefile.auto: $(RMKDIR_TARGET) $(BUILDNO_TARGET) $(NCI_SERVICE_FILES) $(WMC_TARGET) $(RBUILD_TARGET) - tools$(SEP)rbuild$(SEP)rbuild$(EXEPOSTFIX) mingw - $(MAKE) $(MAKECMDGOALS) - -init: \ +PREAUTO := \ + include$(SEP)reactos$(SEP)buildno.h \ include$(SEP)reactos$(SEP)bugcodes.h \ ntoskrnl$(SEP)bugcodes.rc \ include$(SEP)reactos$(SEP)errcodes.h \ lib$(SEP)kernel32$(SEP)errcodes.rc +Makefile.auto: $(RMKDIR_TARGET) $(BUILDNO_TARGET) $(NCI_SERVICE_FILES) $(WMC_TARGET) $(RBUILD_TARGET) $(PREAUTO) + tools$(SEP)rbuild$(SEP)rbuild$(EXEPOSTFIX) mingw + $(MAKE) $(MAKECMDGOALS) + + include$(SEP)reactos$(SEP)bugcodes.h ntoskrnl$(SEP)bugcodes.rc: $(WMC_TARGET) ntoskrnl$(SEP)ntoskrnl.mc $(WMC_TARGET) -H include$(SEP)reactos$(SEP)bugcodes.h -o ntoskrnl$(SEP)bugcodes.rc ntoskrnl$(SEP)ntoskrnl.mc