Disallow invalid char's in the filename passed to idl2wrs. Fixes bug 1129.
[obnox/wireshark/wip.git] / doc / README.plugins
index ece47891c3962ff34c1820fae46fbb8564ab8fc2..19ff49e12c93fc3371665026caf0794d4b31773f 100644 (file)
@@ -55,8 +55,9 @@ with "xxx".
 
 Your plugins/xxx/Makefile.common should only list the main source file(s),
 which exports register_*() and handoff_*(), for your dissector in the
-DISSECTOR_SRC variable, and all other supporting source files in the
-DISSECTOR_SUPPORT_SRC variable.
+DISSECTOR_SRC variable. All other supporting source files should be listed
+in the DISSECTOR_SUPPORT_SRC variable, and this variable added to the
+xxx_la_SOURCES variable in Makefile.am.
 The header files for your dissector, if any, must be listed in the
 DISSECTOR_INCLUDES variable. The DISSECTOR_INCLUDES variable should not
 include moduleinfo.h.
@@ -89,7 +90,6 @@ You will also need to change the following files:
        CMakeLists.txt
        epan/Makefile.am
        Makefile.am
-       Makefile.nmake
        packaging/nsis/Makefile.nmake
        packaging/nsis/wireshark.nsi
        plugins/Makefile.am
@@ -116,19 +116,9 @@ SUBDIRS = $(_CUSTOM_SUBDIRS_) \
 
 3.2 Changes to plugins/Makefile.nmake
 
-To the Makefile.nmake you need to add the following (in
-alphabetical order) for your plugin to the process-plugins: rule
-
-       cd xxx
-       $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
-       cd ..
-
-Then add a copy command to the install-plugins rule:
-
-       ...
-       xcopy plugins\xxx\*.dll $(INSTALL_DIR)\plugins\$(VERSION) /d
-       cd plugins
-       if exist Custom.nmake $(MAKE) /$(MAKEFLAGS) -f Custom.nmake install-plugins
+In plugins/Makefile.nmake you need to add to the PLUGINS_LIST  
+(in alphabetical order) the name of your dissector (actually:
+the name of the plugins sub-directory which contains your dissector).
 
 3.3 Changes to the top level Makefile.am