From 453d491eaefd919477b56668d6620b43f360ba70 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 20 Apr 2011 17:08:40 +0000 Subject: [PATCH] Add Makefile.common to the dependency list for register.c. svn path=/trunk/; revision=36736 --- epan/dissectors/Makefile.am | 2 +- epan/dissectors/Makefile.nmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/epan/dissectors/Makefile.am b/epan/dissectors/Makefile.am index 587ea3232d..2b405214f7 100644 --- a/epan/dissectors/Makefile.am +++ b/epan/dissectors/Makefile.am @@ -96,7 +96,7 @@ x11-dissector: $(top_srcdir)/tools/process-x11-fields.pl x11-fields $(top_srcdir # a register.c file for libwireshark. # All subsequent arguments are the files to scan. # -register.c: $(plugin_src) $(ALL_DISSECTORS_SRC) $(top_srcdir)/tools/make-dissector-reg \ +register.c: $(plugin_src) $(ALL_DISSECTORS_SRC) Makefile.common $(top_srcdir)/tools/make-dissector-reg \ $(top_srcdir)/tools/make-dissector-reg.py @if test -n "$(PYTHON)"; then \ echo Making register.c with python ; \ diff --git a/epan/dissectors/Makefile.nmake b/epan/dissectors/Makefile.nmake index 598b44898b..721dee92b4 100644 --- a/epan/dissectors/Makefile.nmake +++ b/epan/dissectors/Makefile.nmake @@ -76,7 +76,7 @@ packet-rrc.obj : packet-rrc.c # All subsequent arguments are the files to scan. # -register.c: $(ALL_DISSECTORS_SRC) ..\..\tools\make-dissector-reg.py ..\..\tools\make-dissector-reg +register.c: $(ALL_DISSECTORS_SRC) Makefile.common ..\..\tools\make-dissector-reg.py ..\..\tools\make-dissector-reg !IFDEF PYTHON @echo Making register.c (using python) @$(PYTHON) "../../tools/make-dissector-reg.py" . dissectors $(ALL_DISSECTORS_SRC)