From: Fabrício G. <ska...@gm...> - 2009-05-19 03:07:16
|
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 <ska...@gm...> > 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. > |