diff options
author | Adam Mitz <mitza@objectcomputing.com> | 2019-08-06 13:48:08 -0500 |
---|---|---|
committer | Adam Mitz <mitza@objectcomputing.com> | 2019-08-06 13:48:08 -0500 |
commit | 4177cff887a8e91dfd53d083ef00ceb5daed5fc6 (patch) | |
tree | 3916190c53cc75782ca4a2305febc8d6a92dd9ff | |
parent | 836737a1e6d9437bfcbb399a92b82b999c81ff85 (diff) | |
download | ATCD-4177cff887a8e91dfd53d083ef00ceb5daed5fc6.tar.gz |
gnuace: check requires/avoids make variables when a custom-only project has a postbuild step
-rw-r--r-- | ACE/bin/MakeProjectCreator/templates/gnu.mpd | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ACE/bin/MakeProjectCreator/templates/gnu.mpd b/ACE/bin/MakeProjectCreator/templates/gnu.mpd index 66973626af1..257e39c2b0e 100644 --- a/ACE/bin/MakeProjectCreator/templates/gnu.mpd +++ b/ACE/bin/MakeProjectCreator/templates/gnu.mpd @@ -772,7 +772,16 @@ __postbuild__: $(VBIN) $(INSTALL) <%if(sharedname || staticname)%> __postbuild__: $(VLIBS) $(INSTALL) <%else%> +<%foreach(requires)%> +ifeq ($(<%require%>),1) +<%endfor%> +<%foreach(avoids)%> +ifneq ($(<%avoid%>),1) +<%endfor%> __postbuild__: $(GENERATED_DIRTY) +<%foreach(avoids requires)%> +endif +<%endfor%> <%endif%> <%endif%> |