Makefile.include (eadcbfa58ae8693f0d6a0f591d8f51d55cf068e1) | Makefile.include (6f0fa58e459642b16901521cc58ac474b787ec5b) |
---|---|
1ifneq ($(O),) 2ifeq ($(origin O), command line) 3 dummy := $(if $(shell test -d $(O) || echo $(O)),$(error O=$(O) does not exist),) 4 ABSOLUTE_O := $(shell cd $(O) ; pwd) 5 OUTPUT := $(ABSOLUTE_O)/$(if $(subdir),$(subdir)/) 6 COMMAND_O := O=$(ABSOLUTE_O) 7ifeq ($(objtree),) 8 objtree := $(O) --- 44 unchanged lines hidden (view full) --- 53endif 54 55ifneq ($(findstring $(MAKEFLAGS), w),w) 56PRINT_DIR = --no-print-directory 57else 58NO_SUBDIR = : 59endif 60 | 1ifneq ($(O),) 2ifeq ($(origin O), command line) 3 dummy := $(if $(shell test -d $(O) || echo $(O)),$(error O=$(O) does not exist),) 4 ABSOLUTE_O := $(shell cd $(O) ; pwd) 5 OUTPUT := $(ABSOLUTE_O)/$(if $(subdir),$(subdir)/) 6 COMMAND_O := O=$(ABSOLUTE_O) 7ifeq ($(objtree),) 8 objtree := $(O) --- 44 unchanged lines hidden (view full) --- 53endif 54 55ifneq ($(findstring $(MAKEFLAGS), w),w) 56PRINT_DIR = --no-print-directory 57else 58NO_SUBDIR = : 59endif 60 |
61ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4 62ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),) | 61ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),) |
63 silent=1 64endif | 62 silent=1 63endif |
65else # make-3.8x 66ifneq ($(filter s% -s%,$(MAKEFLAGS)),) 67 silent=1 68endif 69endif | |
70 71# 72# Define a callable command for descending to a new directory 73# 74# Call by doing: $(call descend,directory[,target]) 75# 76descend = \ 77 +mkdir -p $(OUTPUT)$(1) && \ --- 29 unchanged lines hidden --- | 64 65# 66# Define a callable command for descending to a new directory 67# 68# Call by doing: $(call descend,directory[,target]) 69# 70descend = \ 71 +mkdir -p $(OUTPUT)$(1) && \ --- 29 unchanged lines hidden --- |