Ethereal-dev: [Ethereal-dev] Makefile.common [Was: Re: Many thanks for your effort!]

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Fri, 23 Jan 2004 02:11:07 +0100
I'm sending this to ethereal-dev, as I assume that it is of general
interest.

On Thu, Jan 22, 2004 at 03:34:22PM -0800, Guy Harris wrote:
> On Jan 22, 2004, at 3:10 PM, Ulf Lamping wrote:
> 
> >One thing about the Makefile changes in gtk dir: I like the idea of 
> >having the header files in the Makefile.common.
> >As this results in having all sources in one file, and reminds to add 
> >header file when adding other source files.
> 
> Yes - but that'd apply to all the Makefile.common files, not just the 
> gtk one.  Should we do that to the top-level one, too?  (And should we 
> create Makefile.common files for wiretap, and for each of the plugin 
> directories, and for the subdirectories of epan?  That might make sense 
> as well.)

I like the idea too. Basically, all stuff that is shareable between
Makefile.nmake and Makefile.am should be shared.

> A really perverse idea would be "autonmake", to generate Makefile.nmake 
> files from automake files, if possible.  If it can be done, it should 
> probably be a Perl script to run on both UNIX and Windows.

This looks like an interesting idea, but after a first glance at
gtk/Makefile.nmake, I'm not sure this can be done. Mayebe things will
become more clear after the trivial things have been moved to 
Makefile.common. If anyone has an idea how to do it, go ahead of course :)

 ciao
          Jörg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.