makefile converter
Joseph Krauze
krauze at cse.Buffalo.EDU
Fri May 18 09:37:56 CDT 2001
Thanks for the tip. I was already looking into installing wine on my
RedHat 7.1. By the way, what is the "best" site to do this from?
I am mainly dealing with makefiles that are generated by MS VC++ project
(.dsp) as you assumed. Looks like I will be abandoning my ambitious
attempt to write a converter script. However, if the need arises I will
definitely take a close look to see if I can expand winemaker's capability
to parse the .dsp files and generate the makefiles. Since I am working on
a project for a company that has written all their code in VC++ I might
well have to do that or just rewrite all the makefiles (which I would
rather not do).
If you have any more suggestion or tips, they would be very much
appreciated.
Thanks,
Joseph
On Thu, 17 May 2001, Francois Gouget wrote:
> On Thu, 17 May 2001, Joseph Krauze wrote:
>
> > Hey,
> > Does anyone know of any VC++ to UNIX/LINUX makefile converter? If
> > there is anything in the works or should I just bit the bullet and write
> > my own script?
>
> There's winemaker. It will not make use of your existing makefiles
> but instead create whole new ones based on its understanding of the
> sources (it will also rename your existing Makefiles to Makefile.win32
> to not overwrite them). See the Winelib User Guide for more information
> on winemaker:
>
> http://wine.codeweavers.com/docs/winelib-user/
>
>
> But I'm curious. What kind of Makefiles do you have? Did you write
> them by hand or did you generate them from a VC++ project (.dsp)?
>
> Writing a tool to handle any makefile would be pretty hard /
> impossible. One impossible thing: a few years ago I wrote a windows
> makefile that was using rsh to start a script on a Unix machine to
> calculate the source file dependencies (gcc -M). I doubt you can write a
> script to handle this kind of thing. Of course it's an extreme case and
> with some hard work you can probably do something useful. winemaker is a
> proof of that: it does not handle everything, far from it, but I want to
> believe it is useful anyway.
> What would be more feasible is a to extend winemaker to parse dsp
> files and generate the appropriate Makefiles.
>
> Whatever you write it would be interesting to try to integrate it
> with winemaker. Ultimately winemaker should automatically pick the most
> reliable source of information it finds: .dsp, makefile or source
> analysis.
>
>
> --
> Francois Gouget fgouget at free.fr http://fgouget.free.fr/
> Good judgment comes from experience, and experience comes from bad judgment
> -- Barry LePatner
>
>
>
More information about the wine-users
mailing list