summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ACE/bin/MakeProjectCreator/templates/gnu.mpd11
1 files changed, 10 insertions, 1 deletions
diff --git a/ACE/bin/MakeProjectCreator/templates/gnu.mpd b/ACE/bin/MakeProjectCreator/templates/gnu.mpd
index 92ad6c02dc0..a5ac4417c31 100644
--- a/ACE/bin/MakeProjectCreator/templates/gnu.mpd
+++ b/ACE/bin/MakeProjectCreator/templates/gnu.mpd
@@ -679,7 +679,7 @@ endif
<%endif%>
<%if(idl_files)%>
-ADDITIONAL_IDL_TARGETS +=<%foreach(idl_files)%> <%if(flag_overrides(idl_file, gendir))%><%if(!compares(flag_overrides(idl_file, gendir),.))%><%flag_overrides(idl_file, gendir)%>/<%endif%><%basenoextension(idl_file)%>$(IDL_CLIENT_HDR_EXT)<%else%><%noextension(idl_file)%>$(IDL_CLIENT_HDR_EXT)<%endif%><%endfor%>
+ADDITIONAL_IDL_TARGETS += $(GENERATED_DIRTY)
idl_stubs: $(ADDITIONAL_IDL_TARGETS)
<%if(source_files)%>
@@ -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%>