Ethereal-dev: Re: [Ethereal-dev] trying to make the Makefile.common really common between win3

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Sun, 22 Feb 2004 09:46:00 +0100
Joerg Mayer wrote:

On Sat, Feb 21, 2004 at 01:13:38PM +0100, Ulf Lamping wrote:
We have two files that are system dependant here:

pcap-util-unix.c (unix only) and
capture-wpcap.c (win32 only)

How about a) giving both files similar names and defining them
in the Makefile.am/Makefile.nmake before the include (renaming
caputre-wpcap.c to pcap-util-win32.c or pcap-util-unix.c to
capture-pcap.c comes to mind, I never understood the dirrerent
naming conventions anyhow :-)
Well, as I would like to see all the capture related files into a directory called "capture" in the future,
I don't want to rename existing things now.

or b) assign something like CAPTURE_TOOLS=... in the
Makefile.am/nmake before including Makefile.common and use
$(CAPTURE_TOOLS) instead of the actual filename.
I defined a PLATFORM_SRC both in Makefile.nmake and Makefile.am and use this in Makefile.common for this.

I'm unsure how this should be related to the EXTRAxxx things.


I've checked in my changes, it works well on win32.

Could please someone have a "in depth" try on automake, and also check if the distribution process wasn't affected (no files missing now).

Regards, ULFL