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: Ben Fowler <wapdev@xxxxxxxxxxxx>
Date: Sat, 22 Apr 2000 16:15:13 +0100

> 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?

I guess that they are the ones! I tried many times to get make to create
either a Makefile or a Makefile.in & it wouldn't. Perhaps (if it is right now)
it will in the future.

Ben.


--
Leedsnet - The information resource for Leeds and the West Riding
< URL:http://www.leedsnet.com/mobile/ >