summaryrefslogtreecommitdiffstats
path: root/NAMING
blob: d0d1a8d458e956f935b6b9e57d7f90f8510ea0e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
This document describes the naming convention for the various kinds 
of DSOs (Dynamic Shared Objects).

NOTE: Files of the format xxxx.la are libtool files that describe the
actual DSO. The DSO itself is usually named xxxx.so or libxxxx.so.
Some platforms require that the name of a DSO starts with "lib". On
those platforms xxxx.la and libxxxx.la both generate DSOs with the
same name "libxxxx.so". Since this leads to problems you should never
use both "xxxx.la" and "libxxxx.la" as names for DSOs!!

*** Since <appname>.la is reserved for KDEInit loadable modules, it is 
*** strongly recommended NEVER to use lib<appname>.la as the name of a 
*** library.


KDEInit Loadable Modules
========================
Name: <appname>.la
Definition: tdeinit_LTLIBRARIES = <appname>.la
LDFLAGS: -module $(KDE_PLUGIN)


KParts
======
Name: lib<appname>part.la
Definition: kde_module_LTLIBRARIES = lib<appname>part.la
LDFLAGS: -module $(KDE_PLUGIN)


KImageIO plugin
===============
Name: kimg_<imageformat>.la
Definition: kde_module_LTLIBRARIES = kimg_<imageformat>.la
LDFLAGS: -module $(KIMGIO_PLUGIN)


KWin plugin
===========
Name: twin3_<clientname>.la
Definition: kde_module_LTLIBRARIES = twin3_<clientname>.la
LDFLAGS: -module $(KDE_PLUGIN)


KIOSlave
========
Name: tdeio_<protocol>.la
Definition: kde_module_LTLIBRARIES = tdeio_<protocol>.la
LDFLAGS: -module $(KDE_PLUGIN)


KControl Module
===============
Name: kcm_<modulename>.la
Definition: kde_module_LTLIBRARIES = kcm_<modulename>.la
LDFLAGS: -module $(KDE_PLUGIN)


KDED Module
===========
Name: kded_<modulename>.la
Definition: kde_module_LTLIBRARIES = kded_<modulename>.la
LDFLAGS: -module $(KDE_PLUGIN)


Kicker Applet
=============
Name: <appletname>_panelapplet.la
Definition: kde_module_LTLIBRARIES = <appletname>_panelapplet.la
LDFLAGS: -module $(KDE_PLUGIN)


A definition like kde_module_LTLIBRARIES = <Name>
means that the module is installed under $(kde_moduledir),
which is $prefix/lib/trinity/ in KDE3.