X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2FMakefile;h=ab25433deb6d04a7f2026a1f416836392ca11a23;hp=f14bd0c9a615477df2cbe19bd3e6c669f58907de;hb=6f136848b2b8082a5ea2e4d4cdb45e899251d3e3;hpb=b85ab799c0003d05de343b1a1f15851dc37a8123 diff --git a/reactos/Makefile b/reactos/Makefile index f14bd0c9a61..ab25433deb6 100644 --- a/reactos/Makefile +++ b/reactos/Makefile @@ -105,6 +105,12 @@ # -dm{module} Check only automatic dependencies for this module. # -mi Let make handle creation of install directories. Rbuild will not generate the directories. # -ps Generate proxy makefiles in source tree instead of the output tree. +# -ud Disable compilation units. +# -r Input XML +# +# ROS_AUTOMAKE +# Alternate name of makefile.auto +# # check for versions of make that don't have features we need... # the function "eval" is only available in 3.80+, which happens to be the minimum @@ -123,7 +129,12 @@ endif .PHONY: all .PHONY: clean -all: makefile.auto + +ifeq ($(ROS_AUTOMAKE),) +ROS_AUTOMAKE=makefile.auto +endif + +all: $(ROS_AUTOMAKE) .SUFFIXES: @@ -335,7 +346,7 @@ ERRCODES_RC = lib$(SEP)kernel32$(SEP)errcodes.rc include lib/lib.mak include tools/tools.mak include boot/freeldr/bootsect/bootsect.mak --include makefile.auto +-include $(ROS_AUTOMAKE) PREAUTO := \ $(BIN2C_TARGET) \ @@ -348,7 +359,7 @@ PREAUTO := \ $(NCI_SERVICE_FILES) \ $(GENDIB_DIB_FILES) -makefile.auto: $(RBUILD_TARGET) $(PREAUTO) $(XMLBUILDFILES) +$(ROS_AUTOMAKE): $(RBUILD_TARGET) $(PREAUTO) $(XMLBUILDFILES) $(ECHO_RBUILD) $(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) mingw @@ -363,7 +374,7 @@ $(BUGCODES_H) $(BUGCODES_RC): $(WMC_TARGET) $(NTOSKRNL_MC) $(ERRCODES_H) $(ERRCODES_RC): $(WMC_TARGET) $(KERNEL32_MC) $(ECHO_WMC) - $(Q)$(WMC_TARGET) -i -H $(ERRCODES_H) -o $(ERRCODES_RC) $(KERNEL32_MC) + $(Q)$(WMC_TARGET) -i -U -H $(ERRCODES_H) -o $(ERRCODES_RC) $(KERNEL32_MC) .PHONY: msvc6 msvc6: $(RBUILD_TARGET) @@ -387,7 +398,7 @@ msvc8: $(RBUILD_TARGET) .PHONY: makefile_auto_clean makefile_auto_clean: - -@$(rm) makefile.auto $(PREAUTO) 2>$(NUL) + -@$(rm) $(ROS_AUTOMAKE) $(PREAUTO) 2>$(NUL) .PHONY: clean clean: makefile_auto_clean