diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-04-20 02:21:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-04-20 02:21:28 +0000 |
commit | fd1cec89175ac70bdac07e0de8087eca9bd49026 (patch) | |
tree | fceb11315955f31d51a8e2b2a8d67bb5bb1e04d7 /plugins/docsis | |
parent | 4a67045746756d775deedbbc949fbf786c2c4c8f (diff) |
Rename "make-reg-dotc" to "make-dissector-reg", and do the same for the
Python versions, as it no longer makes only "register.c", it can also
make a "plugin.c" file for a plugin.
When making "plugin.c", there's no need to include "register.h", as it's
not defining any functions declared there.
svn path=/trunk/; revision=17919
Diffstat (limited to 'plugins/docsis')
-rw-r--r-- | plugins/docsis/Makefile.am | 8 | ||||
-rw-r--r-- | plugins/docsis/Makefile.nmake | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/docsis/Makefile.am b/plugins/docsis/Makefile.am index bcf6f4f10f..46cc8355a2 100644 --- a/plugins/docsis/Makefile.am +++ b/plugins/docsis/Makefile.am @@ -75,15 +75,15 @@ LIBS = # a plugin.c file for a plugin. # All subsequent arguments are the files to scan. # -plugin.c: $(DISSECTOR_SRC) $(top_srcdir)/tools/make-reg-dotc \ - $(top_srcdir)/tools/make-reg-dotc.py +plugin.c: $(DISSECTOR_SRC) $(top_srcdir)/tools/make-dissector-reg \ + $(top_srcdir)/tools/make-dissector-reg.py @if test -n $(PYTHON); then \ echo Making plugin.c with python ; \ - $(PYTHON) $(top_srcdir)/tools/make-reg-dotc.py $(srcdir) \ + $(PYTHON) $(top_srcdir)/tools/make-dissector-reg.py $(srcdir) \ plugin $(DISSECTOR_SRC) ; \ else \ echo Making plugin.c with shell script ; \ - $(top_srcdir)/tools/make-reg-dotc $(srcdir) \ + $(top_srcdir)/tools/make-dissector-reg $(srcdir) \ $(plugin_src) plugin $(DISSECTOR_SRC) ; \ fi diff --git a/plugins/docsis/Makefile.nmake b/plugins/docsis/Makefile.nmake index 32883427d9..383dbf300d 100644 --- a/plugins/docsis/Makefile.nmake +++ b/plugins/docsis/Makefile.nmake @@ -63,10 +63,10 @@ docsis.dll docsis.exp docsis.lib : $(OBJECTS) $(LINK_PLUGIN_WITH) plugin.c: $(DISSECTOR_SRC) !IFDEF PYTHON @echo Making plugin.c (using python) - @$(PYTHON) ../../tools/make-reg-dotc.py . plugin $(DISSECTOR_SRC) + @$(PYTHON) ../../tools/make-dissector-reg.py . plugin $(DISSECTOR_SRC) !ELSE @echo Making plugin.c (using sh) - @$(SH) ../../tools/make-reg-dotc . plugin $(DISSECTOR_SRC) + @$(SH) ../../tools/make-dissector-reg . plugin $(DISSECTOR_SRC) !ENDIF !ENDIF |