summaryrefslogtreecommitdiff
path: root/plugins/irda
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/irda')
-rw-r--r--plugins/irda/Makefile.nmake13
1 files changed, 1 insertions, 12 deletions
diff --git a/plugins/irda/Makefile.nmake b/plugins/irda/Makefile.nmake
index d13b42a3c3..13e868c491 100644
--- a/plugins/irda/Makefile.nmake
+++ b/plugins/irda/Makefile.nmake
@@ -65,25 +65,14 @@ $(PLUGIN_NAME).dll $(PLUGIN_NAME).exp $(PLUGIN_NAME).lib : $(OBJECTS) $(LINK_PLU
# reason.
#
# Therefore, we use a script to generate the register.c file.
-# There are two versions of the script, a shell and a Python version.
-# The Python script runs faster, since it uses caching to speed up
-# repeated runs and doesn't invoke external processes, so we prefer
-# that if Python is available.
-#
# The first argument is the directory in which the source files live.
# The second argument is "plugin", to indicate that we should build
# a plugin.c file for a plugin.
# All subsequent arguments are the files to scan.
#
-!IFDEF PYTHON
plugin.c: $(REGISTER_SRC_FILES) moduleinfo.h Makefile.common ../../tools/make-dissector-reg.py
- @echo Making plugin.c (using python)
+ @echo Making plugin.c
@$(PYTHON) "../../tools/make-dissector-reg.py" . plugin $(REGISTER_SRC_FILES)
-!ELSE
-plugin.c: $(REGISTER_SRC_FILES) moduleinfo.h Makefile.common ../../tools/make-dissector-reg
- @echo Making plugin.c (using sh)
- @$(SH) ../../tools/make-dissector-reg . plugin $(REGISTER_SRC_FILES)
-!ENDIF
!ENDIF