Ethereal-dev: Re: [ethereal-dev] Targets dependent on proto.h

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: Fri, 21 Apr 2000 13:28:12 -0700 (PDT)
(Retransmission - the initial copy bounced due to a problem on
"mail.zing.org".)

> Should there be a clause in the Makefile that generates
> a new Makefile.in and Makefile whenever Makefile.am is modified?

Such as

$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
	cd $(top_builddir) \
	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status

as generated in the top-level Ethereal Makefile.in by automake, for
example?