Ethereal-dev: Re: [ethereal-dev] Ethereal-0.8.8 fails to build on win32

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Wed, 10 May 2000 17:40:03 -0500
On Wed, May 10, 2000 at 04:57:44PM -0500, Guy Harris wrote:
> 
> 
> > The build fails as packet-giop.h and packet-h1.h are still included in 
> the
> > main makefile.nmake DISSECTOR_SOURCES section.
> 
> Is there some reason why *any* header files are in the
> "DISSECTOR_SOURCES" list? Makefile.nmake uses "DISSECTOR_SOURCES" only
> to build "register.c", but it only really needs to search the ".c"
> files.

In Makefile.name, no. They don't need to be there.

> 
> Perhaps "Makefile.am" should have separate "DISSECTOR_SOURCES" and
> "DISSECTOR_HEADER" lists, with "ethereal_SOURCES" and
> "tethereal_SOURCES" incorporating both "DISSECTOR_SOURCES" and
> "DISSECTOR_HEADERS", but with the rules to make "register.c" using only
> "DISSECTOR_SOURCES".
> 
> Is there a mechanism in "nmake" to turn a list of ".c" files, such as
> "DISSECTOR_SOURCES", into a list of ".obj" files?  If so, then we could
> use that to generate "DISSECTOR_OBJECTS" from "DISSECTOR_SOURCES",
> rather than having two lists that have to be kept in sync.

That would be nice.

--gilbert