summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-04-23 17:58:28 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-04-23 17:58:28 +0000
commit35387f13da6c719faa1c9e8d1eb3f6be58c4dba5 (patch)
treea4588f6ad00b92aef7498e071d17cd8438ce10c3
parent56cbe0021fcf436898bff853b062a109be0765d8 (diff)
downloadMPC-35387f13da6c719faa1c9e8d1eb3f6be58c4dba5.tar.gz
ChangeLogTag: Wed Apr 23 12:54:09 2003 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--templates/make.mpd10
-rw-r--r--templates/makedll.mpt1
2 files changed, 11 insertions, 0 deletions
diff --git a/templates/make.mpd b/templates/make.mpd
index 87a95cf4..1d0ca066 100644
--- a/templates/make.mpd
+++ b/templates/make.mpd
@@ -19,6 +19,11 @@ SHLIB = lib<%sharedname%>.$(SOEXT)
SOEXT = <%soext%>
<%endfor%>
<%foreach(configurations)%>
+<%if(cppflags)%>
+CPPFLAGS += <%cppflags%>
+<%endif%>
+<%endfor%>
+<%foreach(configurations)%>
CPPFLAGS += <%pic%>
SHFLAGS = <%shflags%>
<%endfor%>
@@ -35,6 +40,11 @@ CPPFLAGS +=<%foreach(includes)%> -I<%include%><%endfor%>
<%if(libpaths)%>
LDFLAGS +=<%foreach(libpaths)%> -L<%libpath%><%endfor%>
<%endif%>
+<%foreach(configurations)%>
+<%if(linkflags)%>
+LDFLAGS += <%linkflags%>
+<%endif%>
+<%endfor%>
<%foreach(platforms)%>
LDLIBS += <%ldlibs%>
<%endfor%>
diff --git a/templates/makedll.mpt b/templates/makedll.mpt
index 27d74b58..15dda3eb 100644
--- a/templates/makedll.mpt
+++ b/templates/makedll.mpt
@@ -12,6 +12,7 @@ CC {
cxx = CC
pic = -KPIC
shflags = -G
+ linkflags = -library=Cstd -library=Crun
platforms = solaris
}