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: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 10 May 2000 14:53:05 -0700 (PDT)
> 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.

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.