mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
2004-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/helper.mk: Skip automatic dependency tracking if DEPENDENCIES=no. svn path=/trunk/; revision=9621
This commit is contained in:
parent
f79f677f01
commit
97d7e660f0
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||||
|
|
||||||
|
* tools/helper.mk: Skip automatic dependency tracking if
|
||||||
|
DEPENDENCIES=no.
|
||||||
|
|
||||||
2004-05-31 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
2004-05-31 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||||
|
|
||||||
* include/reactos/version.h (KERNEL_VERSION_BUILD_TYPE): Replace possible
|
* include/reactos/version.h (KERNEL_VERSION_BUILD_TYPE): Replace possible
|
||||||
|
|
|
@ -2,12 +2,10 @@
|
||||||
# Define $DEP_OBJECTS before this file is included
|
# Define $DEP_OBJECTS before this file is included
|
||||||
# $DEP_OBJECTS contain a list of object files that are checked for dependancies
|
# $DEP_OBJECTS contain a list of object files that are checked for dependancies
|
||||||
|
|
||||||
|
ifneq ($(DEPENDENCIES),no)
|
||||||
|
|
||||||
DEP_FILTERED := $(filter-out $(DEP_EXCLUDE_FILTER), $(DEP_OBJECTS:.o=.d))
|
DEP_FILTERED := $(filter-out $(DEP_EXCLUDE_FILTER), $(DEP_OBJECTS:.o=.d))
|
||||||
DEP_FILES := $(join $(dir $(DEP_FILTERED)), $(addprefix ., $(notdir $(DEP_FILTERED))))
|
DEP_FILES := $(join $(dir $(DEP_FILTERED)), $(addprefix ., $(notdir $(DEP_FILTERED))))
|
||||||
|
|
||||||
|
|
||||||
# I (Andrew Greenwood) had to add this to compile under MinGW:
|
|
||||||
# SEP = /
|
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),clean)
|
ifneq ($(MAKECMDGOALS),clean)
|
||||||
-include $(DEP_FILES)
|
-include $(DEP_FILES)
|
||||||
|
@ -36,3 +34,5 @@ endif
|
||||||
|
|
||||||
.%.d: %.asm $(PATH_TO_TOP)/tools/depends$(EXE_POSTFIX) $(GENERATED_HEADER_FILES)
|
.%.d: %.asm $(PATH_TO_TOP)/tools/depends$(EXE_POSTFIX) $(GENERATED_HEADER_FILES)
|
||||||
$(NASM_CMD) $(NFLAGS) -M $< | $(DEPENDS_PATH)$(SEP)depends$(EXE_POSTFIX) $(@D) $@
|
$(NASM_CMD) $(NFLAGS) -M $< | $(DEPENDS_PATH)$(SEP)depends$(EXE_POSTFIX) $(@D) $@
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in a new issue