Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
244e50dc
Commit
244e50dc
authored
Feb 13, 2004
by
Rocky Bernstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better worded.
parent
d53ea004
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
22 deletions
+26
-22
doc/developer/interface.xml
doc/developer/interface.xml
+26
-22
No files found.
doc/developer/interface.xml
View file @
244e50dc
...
@@ -293,36 +293,40 @@ a <filename>Modules.am</filename> file in it. In this file, put
...
@@ -293,36 +293,40 @@ a <filename>Modules.am</filename> file in it. In this file, put
something like :
<constant>
SOURCES_yourmodule = myfile1.c
something like :
<constant>
SOURCES_yourmodule = myfile1.c
myfile2.c
</constant></para>
myfile2.c
</constant></para>
<para>
Then, go to the main
<filename>
configure.ac
</filename>
file, and
<para>
Then go to the main
<filename>
configure.ac
</filename>
file, and
at the end, in the
<constant>
AC_CONFIG_FILES
</constant>
section, add a
add in the
<constant>
AC_CONFIG_FILES
</constant>
section (towards the
line similar to the others.
</para>
end of the file) a line similar to the others.
</para>
<para>
If you don't create a directory for your plugin (just put it in
<para>
If you don't create a directory for your plugin (but instead
an existing one), you only have to add the two SOURCES_... lines to
just put it in an existing directory), you only have to add the two
the existing
<filename>
Modules.am
</filename>
file
</para>
SOURCES_... lines to the existing
<filename>
Modules.am
</filename>
file
</para>
<para>
By doing this, your module is declared, but it will never automatically
compile.
</para>
<para>
This declares your module; it does not arrange for it to be
automatically compiled; automatic compilatoin is described further
below.
</para>
<para>
You do not write a
<filename>
Makefile
</filename>
for your
module. Instead this is done via the bootstrap and configuration
process. So now run:
</para>
<para>
You then have to restart from the beginning the build sequence, so:
</para>
<!---don't know if <xmp> or <example> works. Until then... -->
<!---don't know if <xmp> or <example> works. Until then... -->
<para><filename>
./bootstrap
</filename></para>
<para><filename>
./bootstrap
</filename></para>
<para><filename>
./configure
...
</filename
></para>
<para><filename>
./configure
</filename>
<emphasis>
configure-options
</emphasis
></para>
<para><filename>
make
</filename></para>
<para><filename>
make
</filename></para>
<para>
To build the module
, you have to do it manually, by going to its
<para>
To build the module
manually, go to the
directory
, and typing
directory
it resides and type
<constant>
make libyourmodule_plugin.so
</constant>
(or .dll, or
a
<constant>
make libyourmodule_plugin.so
</constant>
(or .dll, or
whatever the file type for a shared library is on your Operating
whatever the file type for a shared library is on your Operating
System.)
</para>
System.)
</para>
<para>
To automatize the build of your module, you must ask this in the
<para>
To
<emphasis>
automatically
</emphasis>
have your module get
configure.ac file.
</para>
built, you also set this in the
<filename>
configure.ac
</filename>
file; add your module name to the
<constant>
default modules
</constant>
<para>
If you want it to be always built, add it to
section in one of the
the
<constant>
default modules
</constant>
section
<constant>
AX_ADD_PLUGINS
</constant>
directives.
</para>
in
<filename>
configure.ac
</filename>
, in one
<constant>
AX_ADD_PLUGINS
</constant>
directive.
</para>
</sect2>
</sect2>
</sect1>
</sect1>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment