summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ.T. Conklin <johntconklin@users.noreply.github.com>2005-10-07 16:45:25 +0000
committerJ.T. Conklin <johntconklin@users.noreply.github.com>2005-10-07 16:45:25 +0000
commit3017879620abd5d34b68ae7152c114faf6c994cc (patch)
tree8f079897d49f2f34f66dd5476b83dc24b4790c42
parentb9897b1f0ee33c2b4ba9f1232d57d13a8b9f32ce (diff)
downloadMPC-3017879620abd5d34b68ae7152c114faf6c994cc.tar.gz
ChangeLogTag: Fri Oct 7 09:33:41 2005 J.T. Conklin <jtc@acorntoolworks.com>
-rw-r--r--ChangeLog6
-rw-r--r--templates/automake.mpd4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8797ca0e..8233b7a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Fri Oct 7 09:33:41 2005 J.T. Conklin <jtc@acorntoolworks.com>
+
+ * templates/automake.mpd:
+
+ Add support for custom file dependents.
+
Thu Oct 6 17:52:41 2005 Steve Huston <shuston@riverace.com>
* templates/vc8.mpd:
diff --git a/templates/automake.mpd b/templates/automake.mpd
index 6378b5ea..6f88a7d2 100644
--- a/templates/automake.mpd
+++ b/templates/automake.mpd
@@ -41,9 +41,9 @@ CLEANFILES += \
<%if(multiple(custom_type->input_file->output_files))%>
<%foreach(output_file, sort(custom_type->input_file->output_files))%><%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>/<%basename(output_file)%><%else%><%output_file%><%endif%><%fornotlast(" ")%><%endfor%>: <%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>/<%endif%><%basenoextension(custom_type->input_file)%>-stamp
-<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>/<%basenoextension(custom_type->input_file)%><%else%><%noextension(custom_type->input_file)%><%endif%>-stamp: $(srcdir)/<%custom_type->input_file%><%if(custom_type->input_file->dependencies)%> <%custom_type->input_file->dependencies%><%endif%>
+<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>/<%basenoextension(custom_type->input_file)%><%else%><%noextension(custom_type->input_file)%><%endif%>-stamp: $(srcdir)/<%custom_type->input_file%><%if(custom_type->input_file->dependencies)%> <%custom_type->input_file->dependencies%><%endif%><%if(flag_overrides(custom_type->input_file, dependent))%> <%flag_overrides(custom_type->input_file, dependent)%><%else%><%if(custom_type->dependent)%> <%custom_type->dependent%><%endif%><%endif%>
<%else%>
-<%foreach(custom_type->input_file->output_files)%><%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>/<%basename(custom_type->input_file->output_file)%><%else%><%custom_type->input_file->output_file%><%endif%><%fornotlast(" ")%><%endfor%>: $(srcdir)/<%custom_type->input_file%><%if(custom_type->input_file->dependencies)%> <%custom_type->input_file->dependencies%><%endif%>
+<%foreach(custom_type->input_file->output_files)%><%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>/<%basename(custom_type->input_file->output_file)%><%else%><%custom_type->input_file->output_file%><%endif%><%fornotlast(" ")%><%endfor%>: $(srcdir)/<%custom_type->input_file%><%if(custom_type->input_file->dependencies)%> <%custom_type->input_file->dependencies%><%endif%><%if(flag_overrides(custom_type->input_file, dependent))%> <%flag_overrides(custom_type->input_file, dependent)%><%else%><%if(custom_type->dependent)%> <%custom_type->dependent%><%endif%><%endif%>
<%endif%>
<%if(flag_overrides(custom_type->input_file, gendir))%>
mkdir -p <%flag_overrides(custom_type->input_file, gendir)%>