Ethereal-dev: Re: [ethereal-dev] Automatically generating "proto_register_XXX()" calls

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: Thu, 21 Oct 1999 14:52:52 -0700 (PDT)
> Why not?  If "randpkt.c" is in "$(srcdir)", and if "print.ps" is in that
> directory as well, you presumably have to tell "make" about that, so
> that it knows where to find those files so that it can check their
> modification times.

Of course, dependency lines such as

	register.c: packet.c $(DISSECTOR_SOURCES) @SNMP_C@

would require a bit more work....

Then again, so does the "automake"/"autoconf"-generated stuff such as

	TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)

unless "autoconf" puts "$(srcdir)" in the appropriate places if
"$(srcdir)" is something *other* than "."  (The *rules* it generates
include "$(srcdir)", but the *dependencies* don't.)