diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2003-08-08 12:11:27 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2003-08-08 12:11:27 +0000 |
commit | 2b571647f2d5aa98f223c77048dda6d27fd3cc8c (patch) | |
tree | f6c648e68e547ca24a509e8a094aa565ad1ba0fd | |
parent | 8c379c85a9085fede7bd9c30deb9d71eaa078048 (diff) | |
download | MPC-2b571647f2d5aa98f223c77048dda6d27fd3cc8c.tar.gz |
ChangeLogTag: Fri Aug 8 07:10:06 2003 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r-- | templates/make.mpd | 2 | ||||
-rw-r--r-- | templates/makedll.mpt | 14 |
2 files changed, 9 insertions, 7 deletions
diff --git a/templates/make.mpd b/templates/make.mpd index 6321165c..6a6f2e2a 100644 --- a/templates/make.mpd +++ b/templates/make.mpd @@ -21,6 +21,8 @@ SOEXT = <%soext%> <%endfor%> <%foreach(configurations)%> CPPFLAGS += <%pic%> +<%endfor%> +<%foreach(platforms)%> SHFLAGS = <%shflags%> <%endfor%> <%endif%> diff --git a/templates/makedll.mpt b/templates/makedll.mpt index ac26092e..0e11a706 100644 --- a/templates/makedll.mpt +++ b/templates/makedll.mpt @@ -8,14 +8,12 @@ cppflags = gcc { cxx = g++ pic = -fPIC - shflags = -shared platforms = linux } SunCC { cxx = CC pic = -KPIC - shflags = -G linkflags = -library=Cstd -library=Crun platforms = solaris } @@ -23,19 +21,21 @@ SunCC { aCC { cxx = aCC pic = +Z - shflags = -b platforms = hpux } linux { - ldlibs = -ldl -lpthread + shflags = -shared + ldlibs = -ldl -lpthread } solaris { - ldlibs = -lsocket -ldl -lnsl -lgen -lposix4 + shflags = -G + ldlibs = -lsocket -ldl -lnsl -lgen -lposix4 } hpux { - soext = sl - ldlibs = -lxti -lpthread -lrt -ldld + soext = sl + shflags = -b + ldlibs = -lxti -lpthread -lrt -ldld } |