--- branches/xmlbuildsystem/reactos/Makefile 2005-02-25 15:05:51 UTC (rev 13741)
+++ branches/xmlbuildsystem/reactos/Makefile 2005-02-25 19:38:11 UTC (rev 13742)
@@ -29,16 +29,18 @@
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