File: NAMING

package info (click to toggle)
kdelibs 4:2.2.2-13.woody.14
  • links: PTS
  • area: main
  • in suites: woody
  • size: 36,832 kB
  • ctags: 40,077
  • sloc: cpp: 313,284; ansic: 20,558; xml: 11,448; sh: 11,318; makefile: 2,426; perl: 2,084; yacc: 1,663; java: 1,538; lex: 629; python: 300
file content (67 lines) | stat: -rw-r--r-- 1,533 bytes parent folder | download
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
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
LDFLAGS: -module -avoid-version


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


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


KWin plugin
===========
Name: libkwin<clientname>.la
LDFLAGS: $(KDE_PLUGIN)


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


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


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


Kicker Applet
=============
Name: lib<appletname>applet.la
LDFLAGS: -module -no-undefined


The last seven (not kdeinit modules) should be defined with 
kde_module_LTLIBRARIES = <Name>
so that they are installed under $(kde_moduledir), which is usually $prefix/lib/kde2/