Lines Matching refs:MODULE
181 # Only call MODULE if we're in a submodule
900 MODULE := $(patsubst %/,%, \
902 MODULE := $(subst $(SRC)/,,$(MODULE))
903 MODULE_NAME := $(subst /,_,$(MODULE))
904 #VPATH := $(MODULE):$(VPATH)
908 $(eval OUT_DIRS += $(OUT)$(MODULE))
909 $(eval SRC_DIRS += $(OUT)$(MODULE))
910 $(eval LD_DIRS := $(LD_DIRS):$(OUT)$(MODULE))
913 clean: CLEAN($(OUT)$(MODULE)/*.d) CLEAN($(OUT)$(MODULE)/*.o)
914 clean: CLEAN($(OUT)$(MODULE)/*.debug) CLEAN($(OUT)$(MODULE)/*.test)
915 clean: CLEAN($(OUT)$(MODULE)/*.depends)
916 clean: CLEAN($(OUT)$(MODULE)/*.gcno) CLEAN($(OUT)$(MODULE)/*.gcda)
917 clean: CLEAN($(OUT)$(MODULE)/*.gcov) CLEAN($(OUT)lcov-coverage.info)
922 MODULE_C_OBJECTS = $(patsubst $(SRC)/$(MODULE)/%.c,$(MODULE)/%.o,\
923 $(wildcard $(SRC)/$(MODULE)/*.c))
925 MODULE_CXX_OBJECTS = $(patsubst $(SRC)/$(MODULE)/%.cc,$(MODULE)/%.o,\
926 $(wildcard $(SRC)/$(MODULE)/*.cc))
929 # Note, $(MODULE) is implicit in the path to the %.c.
936 SUBMODULE_DIRS = $(wildcard $(SRC)/$(MODULE)/*/module.mk)
937 include $(wildcard $(OUT)$(MODULE)/*.d)