From bb7d8b3b5bdf35ff088c90120cd60c0e9c532e0c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 1 Feb 2013 12:57:53 +0100 Subject: [PATCH] Added some notes about plugin Makefiles to PLUGINS.html --- HISTORY | 1 + PLUGINS.html | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index d7e22972..7dee0748 100644 --- a/HISTORY +++ b/HISTORY @@ -7559,3 +7559,4 @@ Video Disk Recorder Revision History - Updated the Slovakian language texts (thanks to Milan Hrala). - Improved LIRC timing for repeat function. - When pausing live video, the current audio and subtitle tracks are now retained. +- Added some notes about plugin Makefiles to PLUGINS.html. diff --git a/PLUGINS.html b/PLUGINS.html index 0c7d223a..fafd6feb 100644 --- a/PLUGINS.html +++ b/PLUGINS.html @@ -173,9 +173,15 @@ The src directory contains one subdirectory for each plugin, which carr the name of that plugin (in the above example that would be hello). What's inside the individual source directory of a plugin is entirely up to the author of that plugin. The only prerequisites are -that there is a Makefile that provides the targets all and +that there is a Makefile that provides the targets all, install and clean, and that a call to make all actually produces a dynamically loadable library file for that plugin (we'll get to the details later). + +The dynamically loadable library file for the plugin shall be located directly under +the plugin's source directory. +See the section Initializing a new plugin directory +for how to generate an example Makefile. +

The lib directory contains the dynamically loadable libraries of all available plugins. Note that the names of these files are created by concatenating