aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/profinet
diff options
context:
space:
mode:
authorРоман Донченко <dpb@corrigendum.ru>2014-08-03 23:47:42 +0400
committerEvan Huus <eapache@gmail.com>2014-08-09 20:23:39 +0000
commitdc748b1e7f1fc5c8e84966844a5185dd3ac5a0f2 (patch)
tree080ac7bbabbf6ebb09f38efe690ac334999c0eb5 /plugins/profinet
parenta4a94af0f7c223c95eb1601054b62ecd0e16c61a (diff)
Now that Python is mandatory on Windows, remove checks for it from nmakefiles
Change-Id: I2ca6abb372ec4bda0af1aa40089082533a61df3a Reviewed-on: https://code.wireshark.org/review/3392 Petri-Dish: Evan Huus <eapache@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'plugins/profinet')
-rw-r--r--plugins/profinet/Makefile.nmake13
1 files changed, 1 insertions, 12 deletions
diff --git a/plugins/profinet/Makefile.nmake b/plugins/profinet/Makefile.nmake
index d431fcc680..852255e95c 100644
--- a/plugins/profinet/Makefile.nmake
+++ b/plugins/profinet/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