To achieve this you need to modify following files:<br><br><b><a href="http://configure.ac">configure.ac</a><br></b><span style="font-family: courier new,monospace;">. . .</span><b style="font-family: courier new,monospace;"><br>

</b><span style="font-family: courier new,monospace;"># Add &quot;-Woverride&quot; option</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">AM_INIT_AUTOMAKE([1.9 -Wall -Werror -Woverride])</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">. . .</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"># Check for cross-compiling</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">AC_CHECK_TOOL([DLLTOOL], [dlltool], [:])</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">. . .</span><br><br><b>Makefile.am</b><br>

<span style="font-family: courier new,monospace;"># You need to put your own test<br>if PLATFORM_WIN32</span><br><span style="font-family: courier new,monospace;"># You need to put your own test</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">if WINVISTA</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">all-local:</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;"># Here need to be tabbed not spaced</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    @DLLTOOL@ -k -l libiphlpapi2.a --def iphlpapi.def</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">CLEANFILES = \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">        libiphlpapi2.a</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">endif</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">endif</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">EXTRA_DIST = \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">        iphlpapi.def</span><br><br>Thanks.<br><br><div class="gmail_quote">

2009/5/18 Fabrício Godoy <span dir="ltr">&lt;<a href="mailto:skarllot@gmail.com">skarllot@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi everyone,<br><br>How I write a Makefile.am to run below command?<br><br><span style="font-family: courier new,monospace;">i686-pc-mingw32-dlltool -k -l libiphlpapi2.a --def iphlpapi.def<br><br></span>Thank you.<span style="font-family: courier new,monospace;"><br>


</span>
</blockquote></div><br>