diff options
author | J.T. Conklin <johntconklin@users.noreply.github.com> | 2004-07-29 03:03:19 +0000 |
---|---|---|
committer | J.T. Conklin <johntconklin@users.noreply.github.com> | 2004-07-29 03:03:19 +0000 |
commit | 9bea15171d1a26215c3ae72219d0549142b129e3 (patch) | |
tree | 9865934e197340a5f4b3df767583b2c7b29a1136 | |
parent | 4c3321e420a7526bd9c3a4a8949b9f092b695c25 (diff) | |
download | MPC-9bea15171d1a26215c3ae72219d0549142b129e3.tar.gz |
ChangeLogTag: Wed Jul 28 20:01:36 2004 J.T. Conklin <jtc@acorntoolworks.com>
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | templates/automake.mpd | 10 |
2 files changed, 14 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Jul 28 20:01:36 2004 J.T. Conklin <jtc@acorntoolworks.com> + + * templates/automake.mpd: Emit a _LDFLAGS definition if linkflags + is defined. + Wed Jul 28 09:15:02 2004 Chad Elliott <elliott_c@ociweb.com> * clone_build_tree.pl: diff --git a/templates/automake.mpd b/templates/automake.mpd index e8cbef0e..7f3f1f58 100644 --- a/templates/automake.mpd +++ b/templates/automake.mpd @@ -79,14 +79,22 @@ lib<%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%>_la_SOURCES = <%endfor%> <%endif%> +<%if(linkflags)%> +<%if(exename)%> +<%normalize(exename)%>_LDFLAGS = \ +<%else%> +lib<%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%>_la_LDFLAGS = \<%endif%> +<%foreach(linkflags)%> <%linkflag%><%endfor%> + +<%endif%> <%if(libs || pure_libs || lit_libs)%> <%if(exename)%> <%normalize(exename)%>_LDADD = \ <%else%> lib<%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%>_la_LIBADD = \<%endif%> <%foreach(libs)%> -l<%lib%><%endfor%><%foreach(pure_libs)%> <%pure_lib%><%endfor%><%foreach(lit_libs)%> -l<%lit_lib%><%endfor%> -<%endif%> +<%endif%> <%if(exename)%> <%if(header_files)%> noinst_HEADERS += \ |