From Didier Gautheron: make the rule to build "ethereal-tap-register.c"

work when a build is done outside the source tree, and make
"ethereal-tap-register.c" depend on the script that builds it.

svn path=/trunk/; revision=6626
This commit is contained in:
Guy Harris 2002-11-14 08:07:12 +00:00
parent 08a5409f1a
commit f002ffd9ce
2 changed files with 4 additions and 3 deletions

View File

@ -1203,6 +1203,7 @@ Didier Gautheron <dgautheron[AT]magic.fr> {
addresses
AppleTalk Zone Information Protocol support
Fix to work with automake 1.7
Fix gtk Makefile entry to rebuild "ethereal-tap-register.c"
}
Phil Williams <csypbw[AT]comp.leeds.ac.uk> {

View File

@ -1,7 +1,7 @@
# Makefile.am
# Automake file for the GTK interface routines for Ethereal
#
# $Id: Makefile.am,v 1.47 2002/11/09 20:00:35 oabad Exp $
# $Id: Makefile.am,v 1.48 2002/11/14 08:07:12 guy Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@ethereal.com>
@ -35,9 +35,9 @@ ETHEREAL_TAP_SRC = \
rpc_progs.c \
rpc_progs.h
ethereal-tap-register.c: $(ETHEREAL_TAP_SRC)
ethereal-tap-register.c: $(ETHEREAL_TAP_SRC) $(top_srcdir)/make-tapreg-dotc
@echo Making ethereal-tap-register.c
../make-tapreg-dotc ethereal-tap-register.c . $(ETHEREAL_TAP_SRC)
@$(top_srcdir)/make-tapreg-dotc ethereal-tap-register.c $(top_srcdir) $(ETHEREAL_TAP_SRC)
if USE_GTK2