blob: 2aeaf497ef439a104a0697cf0320fd2a2152caaf (
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
76
77
78
79
80
81
82
83
84
|
$NetBSD: patch-an,v 1.1.1.1 2002/05/31 13:18:42 skrll Exp $
--- kcontrol/kcontrol/Makefile.am.orig Wed May 8 19:21:01 2002
+++ kcontrol/kcontrol/Makefile.am
@@ -22,41 +22,52 @@
SUBDIRS = . pics
-CLEANFILES = dummy.cpp
-
bin_PROGRAMS = kcontrol kcmshell kcminit
-lib_LTLIBRARIES = kcontrol.la kcmshell.la kcminit.la
-
-kcontrol_la_SOURCES = main.cpp toplevel.cpp indexwidget.cpp searchwidget.cpp \
- helpwidget.cpp moduleinfo.cpp modules.cpp proxywidget.cpp \
- modloader.cpp dockcontainer.cpp aboutwidget.cpp global.cpp \
- quickhelp.cpp moduletreeview.cpp moduleiconview.cpp \
+lib_LTLIBRARIES = libkcontrol_main.la kcontrol.la \
+ libkcmshell_main.la kcmshell.la \
+ libkcminit_main.la kcminit.la
+
+libkcontrol_main_la_SOURCES = main.cpp toplevel.cpp indexwidget.cpp \
+ searchwidget.cpp helpwidget.cpp moduleinfo.cpp modules.cpp \
+ proxywidget.cpp modloader.cpp dockcontainer.cpp aboutwidget.cpp \
+ global.cpp quickhelp.cpp moduletreeview.cpp moduleiconview.cpp \
kecdialog.cpp kcrootonly.cpp moduleIface.cpp moduleIface.skel
-kcontrol_la_LIBADD = $(LIB_KDEUI) $(LIB_KSYCOCA)
+libkcontrol_main_la_LIBADD = $(LIB_KDEUI) $(LIB_KSYCOCA)
+libkcontrol_main_la_LDFLAGS = $(all_libraries)
+
+kcontrol_la_SOURCES = kcontrol_main.cpp
+kcontrol_la_LIBADD = libkcontrol_main.la
kcontrol_la_LDFLAGS = $(all_libraries) -module -avoid-version
-kcmshell_la_SOURCES = kcmshell.cpp moduleinfo.cpp modloader.cpp kecdialog.cpp \
- proxywidget.cpp kcdialog.cpp global.cpp \
- kcdialog.skel
-kcmshell_la_LIBADD = $(LIB_KDEUI) $(LIB_KSYCOCA)
+libkcmshell_main_la_SOURCES = kcmshell.cpp moduleinfo.cpp modloader.cpp \
+ kecdialog.cpp proxywidget.cpp kcdialog.cpp global.cpp \
+ kcdialog.skel
+libkcmshell_main_la_LIBADD = $(LIB_KDEUI) $(LIB_KSYCOCA)
+libkcmshell_main_la_LDFLAGS = $(all_libraries)
+
+kcmshell_la_SOURCES = kcmshell_main.cpp
+kcmshell_la_LIBADD = libkcmshell_main.la
kcmshell_la_LDFLAGS = $(all_libraries) -module -avoid-version
+libkcminit_main_la_SOURCES = kcminit.cpp global.cpp
+libkcminit_main_la_LIBADD = $(LIB_KDEUI) $(LIB_KSYCOCA)
+libkcminit_main_la_LDFLAGS = $(all_libraries)
kcminit_la_SOURCES = kcminit.cpp global.cpp
-kcminit_la_LIBADD = $(LIB_KDEUI) $(LIB_KSYCOCA)
+kcminit_la_LIBADD = libkcminit_main.la
kcminit_la_LDFLAGS = $(all_libraries) -module -avoid-version
-kcontrol_SOURCES = dummy.cpp
-kcontrol_LDADD = kcontrol.la
+kcontrol_SOURCES = kcontrol_main.cpp
+kcontrol_LDADD = libkcontrol_main.la
kcontrol_LDFLAGS = $(all_libraries) $(KDE_RPATH) -export-dynamic
-kcmshell_SOURCES = dummy.cpp
-kcmshell_LDADD = kcmshell.la
+kcmshell_SOURCES = kcmshell_main.cpp
+kcmshell_LDADD = libkcmshell_main.la
kcmshell_LDFLAGS = $(all_libraries) $(KDE_RPATH) -export-dynamic
-kcminit_SOURCES = dummy.cpp
-kcminit_LDADD = kcminit.la
+kcminit_SOURCES = kcminit_main.cpp
+kcminit_LDADD = libkcminit_main.la
kcminit_LDFLAGS = $(all_libraries) $(KDE_RPATH) -export-dynamic
rcdir = $(kde_datadir)/kcontrol
@@ -71,6 +82,3 @@
messages: rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/kcontrol.pot
-
-dummy.cpp:
- echo > dummy.cpp
|