Ethereal-dev: [Ethereal-dev] trying to make the Makefile.common really common between win32 an

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: Sat, 21 Feb 2004 13:13:38 +0100
Hi List!

I'm trying to make the Makefile.common really common between the unix and windows builds.

Currently the win32 build doesn't use all the defines in Makefile.common.

To do this, I seperated the sources and headers into seperate definitions.

We have two files that are system dependant here:

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

I've put the capture-wpcap.c in the appropriate places into the Makefile.nmake, no problem with this.

But I don't know how to handle the pcap-util-unix.c file, as this will not compile on win32, so this has to be placed somewhere in the Makefile.am.

I could check in the changes I've made, but this will break all the unix builds.

Regards, ULFL