[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: any tool(or gmake option) to rewrite GNUMakefiles into plain-make Ma
Re: any tool(or gmake option) to rewrite GNUMakefiles into plain-make Makefile ?
Thu, 21 Aug 2003 14:40:48 +0200
On Wed, Aug 20, 2003 at 03:05:17PM +0300, Yakov Lerner wrote:
# Is there any option of gmake, or any automatic tool
# that can do the following:
# - given the GNUMakefile on input, produce equivalent
# plain-make makefile ? That is, to rewrite the gnu makefile
# into plain-vanilla makefile (expanding %-ss, rewriting
# inlining includes and ifs, inlining all $() functions etc etc)
# This is similar to '-n' option, but the output would be
# in the plainMakefile format, (including dependencies).
# Such a tool would allow us to use Sun's dmake
# (Sun's distribute make) with out gnu makefiles.
# Any clue ?
How often do you think such a tool is needed? Can equivalent output be
produced at all (It can't for all GNU features)? Who could spend the
resources to do it? What's your conclusion?
The only "tool" to do it is called a "programmer", I'm afraid. And this
would be the best tool, as in general the result of a mechanical
translation from language A to language B is not human readable any
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)