diff options
author | mcorino <mcorino@users.noreply.github.com> | 2004-11-10 16:38:21 +0000 |
---|---|---|
committer | mcorino <mcorino@users.noreply.github.com> | 2004-11-10 16:38:21 +0000 |
commit | 73af0436c311b6278bbb09d6eb97523c94d3ce9c (patch) | |
tree | 7d3c4e6ae457735a037855f8e858621a0f5f1e8f /include | |
parent | 126ea65ba8cda15344842b76bd983bedbff10741 (diff) | |
download | ATCD-73af0436c311b6278bbb09d6eb97523c94d3ce9c.tar.gz |
ChangeLogTag: Wed Nov 10 16:35:12 UTC 2004 Martin Corino <mcorino@remedy.nl>
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/rules.local.GNU | 12 | ||||
-rw-r--r-- | include/makeinclude/wrapper_macros.GNU | 7 |
2 files changed, 13 insertions, 6 deletions
diff --git a/include/makeinclude/rules.local.GNU b/include/makeinclude/rules.local.GNU index 150b06bbf9d..8eeebc0c38d 100644 --- a/include/makeinclude/rules.local.GNU +++ b/include/makeinclude/rules.local.GNU @@ -161,23 +161,23 @@ endif # SOLINK ifeq ($(vxworks_ntbuild),1) $(VDIR)%.creation_stamp: - @if not exist $(dir $@) mkdir $(subst /,,$(dir $@)) + @if not exist $(dir $@) $(MKDIR) $(dir $@) $(ACE_NUL_STDERR) @echo > $@ else .PHONY: $(VDIR)%.creation_stamp $(VDIR)%.creation_stamp: - @-test -d $(dir $@) || mkdir -p $(dir $@) $(ACE_NUL_STDERR) + @-test -d $(dir $@) || $(MKDIR) $(dir $@) $(ACE_NUL_STDERR) endif ifneq ($(VDIR),$(VSHDIR)) ifeq ($(vxworks_ntbuild),1) $(VSHDIR)%.creation_stamp: - @if not exist $(dir $@) mkdir $(subst /,,$(dir $@)) + @if not exist $(dir $@) $(MKDIR) $(dir $@) $(ACE_NUL_STDERR) @echo > $@ else .PHONY: $(VSHDIR)%.creation_stamp $(VSHDIR)%.creation_stamp: - @-test -d $(dir $@) || mkdir -p $(dir $@) $(ACE_NUL_STDERR) + @-test -d $(dir $@) || $(MKDIR) $(dir $@) $(ACE_NUL_STDERR) endif endif @@ -449,10 +449,10 @@ build.objdirs: $(CLEANUP_DIRS) ifeq ($(MKDIR_NTSTYLE),1) $(CLEANUP_DIRS): - @if not exist $@ mkdir $@ + @if not exist $@ $(MKDIR) $@ $(ACE_NUL_STDERR) else $(CLEANUP_DIRS): - @test -d $@ || mkdir -p $@ $(ACE_NUL_STDERR) + @test -d $@ || $(MKDIR) $@ $(ACE_NUL_STDERR) endif #--------------------------------------------------------------------------- diff --git a/include/makeinclude/wrapper_macros.GNU b/include/makeinclude/wrapper_macros.GNU index ec04efbf4d4..fadb71ec99f 100644 --- a/include/makeinclude/wrapper_macros.GNU +++ b/include/makeinclude/wrapper_macros.GNU @@ -170,6 +170,7 @@ # PWD Command to get the current working directory # PTDIRS Pathnames of directories containing template code # RM Name of program to use to remove files +# ACE_MKDIR Name of program to (recursively) create directories # SOFLAGS Flags used to build a shared library # SOLINK.cc Link line necessary to build a share library # VAR Variant identifier suffix @@ -309,6 +310,12 @@ ifeq ($(PWD),) PWD=$(shell pwd) endif +ifeq ($(ACE_MKDIR),) + MKDIR = mkdir -p +else + MKDIR = $(ACE_MKDIR) +endif + #---------------------------------------------------------------------------- # Platform-independent macro definitions #---------------------------------------------------------------------------- |