Move "make-reg-dotc" and "make-reg-dotc.py" to the "tools" directory, so

that it can more easily be used when building plugins.

svn path=/trunk/; revision=17881
This commit is contained in:
Guy Harris 2006-04-17 00:41:54 +00:00
parent 1c26abfe29
commit e7d75a821d
4 changed files with 6 additions and 5 deletions

View File

@ -33,8 +33,6 @@ libdissectors_la_SOURCES = \
EXTRA_DIST = \
Makefile.common \
Makefile.nmake \
make-reg-dotc \
make-reg-dotc.py \
ncp2222.py \
packet-ncp2222.inc \
process-x11-fields.pl \
@ -77,13 +75,14 @@ x11-declarations.h x11-register-info.h: $(PROC_X11_FIELDS) $(X11_FIELDS)
# The second argument is the directory in which the source files live.
# All subsequent arguments are the files to scan.
#
register.c: $(plugin_src) $(DISSECTOR_SRC) $(srcdir)/make-reg-dotc $(srcdir)/make-reg-dotc.py
register.c: $(plugin_src) $(DISSECTOR_SRC) $(top_srcdir)/tools/make-reg-dotc \
$(top_srcdir)/tools/make-reg-dotc.py
@if test -n $(PYTHON); then \
echo Making register.c with python ; \
$(PYTHON) $(srcdir)/make-reg-dotc.py $(srcdir) $(DISSECTOR_SRC) ; \
$(PYTHON) $(top_srcdir)/tools/make-reg-dotc.py $(srcdir) $(DISSECTOR_SRC) ; \
else \
echo Making register.c with shell script ; \
$(srcdir)/make-reg-dotc register.c $(srcdir) \
$(top_srcdir)/tools/make-reg-dotc register.c $(srcdir) \
$(plugin_src) $(DISSECTOR_SRC) ; \
fi

View File

@ -72,6 +72,8 @@ EXTRA_DIST = \
dfilter-test.py \
fuzz-test.sh \
lex.py \
make-reg-dotc \
make-reg-dotc.py \
msnchat \
netscreen2dump.py \
pkt-from-core.py \