dlltool and Makefile.am
Fabrício Godoy
skarllot at gmail.com
Tue May 19 03:06:51 UTC 2009
To achieve this you need to modify following files:
*configure.ac
*. . .*
*# Add "-Woverride" option
AM_INIT_AUTOMAKE([1.9 -Wall -Werror -Woverride])
. . .
# Check for cross-compiling
AC_CHECK_TOOL([DLLTOOL], [dlltool], [:])
. . .
*Makefile.am*
# You need to put your own test
if PLATFORM_WIN32
# You need to put your own test
if WINVISTA
all-local:
# Here need to be tabbed not spaced
@DLLTOOL@ -k -l libiphlpapi2.a --def iphlpapi.def
CLEANFILES = \
libiphlpapi2.a
endif
endif
EXTRA_DIST = \
iphlpapi.def
Thanks.
2009/5/18 Fabrício Godoy <skarllot at gmail.com>
> Hi everyone,
>
> How I write a Makefile.am to run below command?
>
> i686-pc-mingw32-dlltool -k -l libiphlpapi2.a --def iphlpapi.def
>
> Thank you.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/mingw/attachments/20090519/bbe8e0f2/attachment.html
More information about the mingw
mailing list