diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-10-09 16:39:34 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-10-09 16:39:34 +0000 |
commit | 8b8399b7114d9c0202028ec67c4979ad490501b2 (patch) | |
tree | ab855999d495b64567e811139941a6750661decc /plugins/wimax | |
parent | 6d93ca7c961a2ecbc08e53bd0c48e355d388af49 (diff) |
Use register_dissector_files in the plugins dissectors
svn path=/trunk/; revision=30435
Diffstat (limited to 'plugins/wimax')
-rw-r--r-- | plugins/wimax/CMakeLists.txt | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/plugins/wimax/CMakeLists.txt b/plugins/wimax/CMakeLists.txt index 3745be5846..6dd6092f1c 100644 --- a/plugins/wimax/CMakeLists.txt +++ b/plugins/wimax/CMakeLists.txt @@ -77,31 +77,9 @@ set(PLUGIN_FILES include_directories(${CMAKE_CURRENT_SOURCE_DIR}) -ADD_CUSTOM_COMMAND( -# FIXME: Only the Python stuff has been implemented -# Make this into a MACRO, to avoid duplication with epan/ -#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-dissector-reg.py $(srcdir) \ -# plugin $(DISSECTOR_SRC) ; \ -# else \ -# echo Making plugin.c with shell script ; \ -# $(top_srcdir)/tools/make-dissector-reg $(srcdir) \ -# $(plugin_src) plugin $(DISSECTOR_SRC) ; \ -# fi - - OUTPUT plugin.c - COMMAND ${PYTHON_EXECUTABLE} - ${CMAKE_SOURCE_DIR}/tools/make-dissector-reg.py - ${CMAKE_CURRENT_SOURCE_DIR} - plugin - ${DISSECTOR_SRC} - DEPENDS - ${DISSECTOR_SRC} - ${CMAKE_SOURCE_DIR}/tools/make-dissector-reg - ${CMAKE_SOURCE_DIR}/tools/make-dissector-reg.py +register_dissector_files(plugin.c + plugin + ${DISSECTOR_SRC} ) # todo |