Re: Makefile.am for both windows and linux
Nitin Goyal wrote: > Hi, > > How can I make use of variables in Makefile.am for automake primaries? I > want to write Makefile.am as > > lib_LIBRARIES = $(PREFIX)mylib.$(LIBSUFFIX) > libdir = ${prefix}/lib > $(PREFIX)_mylib_$(LIBSUFFIX)_SOURCES = mylib.c > > I can not use libtools. Is there a way, I can achieve this? I use autoconf/automake/libtool on two projects that compile quite happily on Unix and windows (MinGW). Erik -- - Erik de Castro Lopo - "We respect the right of everyone to believe whatever they like. But there are two important limits to religious tolerance. First, I have no right to legal protection against your scepticism, criticism or ridicule. Religion is too powerful a force, and is too often a cause of injustice or evil, for it to be immune from discussion and debate." -- David Pannick QC http://www.timesonline.co.uk/tol/life_and_style/career_and_jobs/legal/article729808.ece
Re: Makefile.am for both windows and linux
Nitin Goyal wrote: I can not use libtools. Is there a way, I can achieve this? Use Bakefile, or cmake, or jam, or something else that really understands Windowsisms. automake can be arm-twisted into supporting native Windows builds, but it isn't happy doing it. I use Bakefile myself; it lets you continue using autoconf on the Unixy side of things, and Visual Studio, nmake + cl, or mingw on the Windows side.
Makefile.am for both windows and linux
Hi, How can I make use of variables in Makefile.am for automake primaries? I want to write Makefile.am as lib_LIBRARIES = $(PREFIX)mylib.$(LIBSUFFIX) libdir = ${prefix}/lib $(PREFIX)_mylib_$(LIBSUFFIX)_SOURCES = mylib.c I can not use libtools. Is there a way, I can achieve this? Thanks & Regards Nitin