diff options
author | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-01-01 17:50:51 +0000 |
---|---|---|
committer | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-01-01 17:50:51 +0000 |
commit | d4cfd23752992ea3623928997dee18e26c308526 (patch) | |
tree | 6d0bf476194c72c127469ad744e96d629be886d2 /include/makeinclude/wrapper_macros.GNU | |
parent | 6c92286aa76bd248067d9f7b5f6d5d23858430ad (diff) | |
download | ATCD-d4cfd23752992ea3623928997dee18e26c308526.tar.gz |
ChangeLogTag:Thu Jan 1 17:23:44 UTC 2004 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'include/makeinclude/wrapper_macros.GNU')
-rw-r--r-- | include/makeinclude/wrapper_macros.GNU | 113 |
1 files changed, 47 insertions, 66 deletions
diff --git a/include/makeinclude/wrapper_macros.GNU b/include/makeinclude/wrapper_macros.GNU index 6b4c12206b5..647d2be0820 100644 --- a/include/makeinclude/wrapper_macros.GNU +++ b/include/makeinclude/wrapper_macros.GNU @@ -191,72 +191,53 @@ # create your own targets, e.g., server and client. In this case, assign # them to BIN, or BIN_UNCHECKED if they depend on other components, do not # include rules.bin.GNU. That way they will still get cleaned up. -ifndef CLEANUP_BIN - ifdef BIN - CLEANUP_BIN = $(BIN) - else # !BIN - ifdef BIN2 - CLEANUP_BIN = $(BIN2) - BIN_UNCHECKED = $(BIN2) - else # !BIN2 - ifdef BIN_UNCHECKED - CLEANUP_BIN = $(BIN_UNCHECKED) - else # !BIN_UNCHECKED - BIN_UNCHECKED ?= - CLEANUP_BIN ?= - endif # BIN_UNCHECKED - endif # BIN2 - endif # BIN -endif # CLEANUP_BIN - -ifndef CLEANUP_LIB - ifdef LIB - CLEANUP_LIB = $(LIB) - else # !LIB - ifdef LIB2 - CLEANUP_LIB = $(LIB2) - LIB_UNCHECKED = $(LIB2) - else # !LIB2 - ifdef LIB_UNCHECKED - CLEANUP_LIB = $(LIB_UNCHECKED) - else # !LIB_UNCHECKED - LIB_UNCHECKED ?= - CLEANUP_LIB ?= - endif # LIB_UNCHECKED - endif # LIB2 - endif # LIB -endif # CLEANUP_LIB - -ifndef CLEANUP_SHLIB - ifdef SHLIB - CLEANUP_SHLIB = $(SHLIB) - else # !SHLIB - ifdef SHLIB2 - CLEANUP_SHLIB = $(SHLIB2) - SHLIB_UNCHECKED = $(SHLIB2) - else # !SHLIB2 - ifdef SHLIB_UNCHECKED - CLEANUP_SHLIB = $(SHLIB_UNCHECKED) - else # ! SHLIB_UNCHECKED - SHLIB_UNCHECKED ?= - CLEANUP_SHLIB ?= - endif # SHLIB_UNCHECKED - endif # SHLIB_UNCHECKED - endif # SHLIB -endif # CLEANUP_SHLIB - -ifndef CLEANUP_SHLIBA - ifdef SHLIBA - CLEANUP_SHLIBA = $(SHLIBA) - else - ifdef SHLIBA2 - CLEANUP_SHLIBA = $(SHLIBA2) - SHLIBA2_UNCHECKED = $(SHLIBA2) - else - CLEANUP_SHLIBA = $(SHLIBA_UNCHECKED) - endif - endif -endif +BIN_UNCHECKED ?= +CLEANUP_BIN ?= +ifdef BIN + CLEANUP_BIN = $(BIN) +endif # !BIN +ifdef BIN2 + CLEANUP_BIN += $(BIN2) +endif # !BIN2 +ifneq ($(BIN_UNCHECKED),) + CLEANUP_BIN += $(BIN_UNCHECKED) +endif # !BIN_UNCHECKED + +LIB_UNCHECKED ?= +CLEANUP_LIB ?= +ifdef LIB + CLEANUP_LIB = $(LIB) +endif # !LIB +ifdef LIB2 + CLEANUP_LIB += $(LIB2) +endif # !LIB2 +ifneq ($(LIB_UNCHECKED),) + CLEANUP_LIB = $(LIB_UNCHECKED) +endif # !LIB_UNCHECKED + +SHLIB_UNCHECKED ?= +CLEANUP_SHLIB ?= +ifdef SHLIB + CLEANUP_SHLIB = $(SHLIB) +endif # !SHLIB +ifdef SHLIB2 + CLEANUP_SHLIB += $(SHLIB2) +endif # SHLIB2 +ifneq ($(SHLIB_UNCHECKED),) + CLEANUP_SHLIB += $(SHLIB_UNCHECKED) +endif # ! SHLIB_UNCHECKED + +SHLIBA_UNCHECKED ?= +CLEANUP_SHLIBA ?= +ifdef SHLIBA + CLEANUP_SHLIBA = $(SHLIBA) +endif # SHLIBA +ifdef SHLIBA2 + CLEANUP_SHLIBA = $(SHLIBA2) +endif # SHLIB2A +ifneq ($(SHLIBA_UNCHECKED),) + CLEANUP_SHLIBA = $(SHLIBA_UNCHECKED) +endif # SHLIBA_UNCHECKED #### Default to building shared libraries only. Set it here to give the #### platform a chance to override. |