Ethereal-dev: Re: RE: [Ethereal-dev] "Makefile.nmake clean" patch

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, 1 Sep 2002 16:18:41 +0200
Khachaturov Vassilii <Vassilii.Khachaturov@xxxxxxxxxxxx> schrieb am 30.08.02 22:35:51:
> There are both native and gnuwin32 (a.k.a. cygwin)-based Perl ports on NT
> since before Ethereal was born - I think it's OK to require it for the build
> environment. It's installing out of the box, so I think it makes sense to
> ask
> the developer to fetch it before the build.
> 
> (If you disagree, maybe you'd like to move it up to "distclean" level for
> win32?)
> 
> > -----Original Message-----
> > From: Joerg Mayer [mailto:jmayer@xxxxxxxxx]
> > Sent: Friday, August 30, 2002 7:59 AM
> > To: Ulf Lamping
> > Cc: Ethereal
> > Subject: Re: [Ethereal-dev] "Makefile.nmake clean" patch
> > 
> > 
> > Ulf,
> > 
> > > which seems to be forgotten:
> > > 
> > > x11-declarations.h
> > > x11-register-info.h
> > 
> > I think we don't delete these files on purpose, as they 
> > require perl to
> > regenerate. I don't know whether that makes sense on the 
> > Windows platform,
> > but that's how things work on the Unix platform.

The first time I compiled ethereal, I found it nice to MUST NOT find all dependant tools,
but only used visual studio and cygwin. So I like the idea of seperating this cleanup.

Intention (as far as I understand it):
Do a "make clean" to remove all generated files which do not require special tools (perl, python) to regenerate.
Do a "make distclean" to remove all generated files (without exceptions).

Find attached a small patch to remove the following intermediate files on a "make distclean" call.

x11-declarations.h
x11-register-info.h

I have added the distclean target to the patch.

For the same reasons. I moved packet-ncp2222.c from clean to distclean also
(if python is not available, packet-ncp2222.obj will be only a fake generation on win32).

register.c was duplicated in the clean target. I have fixed this (or was it intentional?). 

Any suggestions?

Regards ULFL

P.S: INSTALL.configure mentioned a "make maintainer-clean" which I didn't find in the source tree, is this historical only?
______________________________________________________________________________
WEB.DE MyPage - Ohne Computerkenntnisse in nur 5 Minuten online! Alles
inklusive! Kinderleicht!  http://www.das.ist.aber.ne.lustige.sache.ms/

Attachment: x11.h.diff2
Description: Binary data