diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2003-04-23 17:58:28 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2003-04-23 17:58:28 +0000 |
commit | 35387f13da6c719faa1c9e8d1eb3f6be58c4dba5 (patch) | |
tree | a4588f6ad00b92aef7498e071d17cd8438ce10c3 | |
parent | 56cbe0021fcf436898bff853b062a109be0765d8 (diff) | |
download | MPC-35387f13da6c719faa1c9e8d1eb3f6be58c4dba5.tar.gz |
ChangeLogTag: Wed Apr 23 12:54:09 2003 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r-- | templates/make.mpd | 10 | ||||
-rw-r--r-- | templates/makedll.mpt | 1 |
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 } |