summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2005-04-08 17:18:56 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2005-04-08 17:18:56 +0000
commit55647b512a29a59fcc9c49d1b1ad3a488d2f52a6 (patch)
treedd036665c9fbf5606596bfedd206d40b91b729af
parentd3b547f598d18549c384661fb234dce483bae5ac (diff)
downloadMPC-55647b512a29a59fcc9c49d1b1ad3a488d2f52a6.tar.gz
ChangeLogTag: Fri Apr 8 12:14:02 2005 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--ChangeLog14
-rw-r--r--modules/WinProjectBase.pm2
-rw-r--r--templates/automake.mpd7
-rw-r--r--templates/automakedll.mpt5
4 files changed, 27 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c28b33f..2cd985c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+Fri Apr 8 12:14:02 2005 Chad Elliott <elliott_c@ociweb.com>
+
+ * modules/WinProjectBase.pm:
+
+ Since a directory with ..\ in it will cause the object files
+ to be created outside of the intermediate directory,
+ no Windows based project can have ..\ in the intermediate
+ directory name.
+
+ * templates/automake.mpd:
+ * templates/automakedll.mpt:
+
+ Added support for the 'postbuild' setting.
+
Wed Apr 6 06:43:51 2005 Chad Elliott <elliott_c@ociweb.com>
* modules/TemplateParser.pm:
diff --git a/modules/WinProjectBase.pm b/modules/WinProjectBase.pm
index b690a82f..ab15c386 100644
--- a/modules/WinProjectBase.pm
+++ b/modules/WinProjectBase.pm
@@ -23,7 +23,7 @@ sub validated_directory {
## $(...) could contain a drive letter and Windows can not
## make a directory that resembles a drive letter. So, we have
## to exclude those directories with $(...).
- if ($dir =~ /\$\([^\)]+\)/) {
+ if ($dir =~ /\$\([^\)]+\)/ || $dir =~ /\.\.\\/) {
return '.';
}
else {
diff --git a/templates/automake.mpd b/templates/automake.mpd
index c05f367a..ebe9c49a 100644
--- a/templates/automake.mpd
+++ b/templates/automake.mpd
@@ -191,6 +191,13 @@ pkgconfig_DATA += <%basenoextension(pkgconfig_file)%>
${top_builddir}/config.status --file "$@":${srcdir}/<%pkgconfig_file%>
<%endfor%>
<%endif%>
+<%if(postbuild)%>
+
+all: __postbuild__
+
+__postbuild__:
+ @<%eval(postbuild)%>
+<%endif%>
<%if(avoids || requires)%>
<%foreach(reverse(uniq(avoids)))%>
diff --git a/templates/automakedll.mpt b/templates/automakedll.mpt
index 817901e7..2bffa67f 100644
--- a/templates/automakedll.mpt
+++ b/templates/automakedll.mpt
@@ -3,6 +3,11 @@
conditional_include "common"
+lib_prefix = lib
+lib_ext = .la
+dll_ext = .la
+exe_ext =
+
linkflags =
includedir =