summaryrefslogtreecommitdiff
path: root/multimedia/kdemultimedia3/patches/patch-ab
blob: 62c0b48922f05ba7c46a47a378a294b22c244155 (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
$NetBSD: patch-ab,v 1.1.1.1 2004/01/26 15:41:59 jmmv Exp $

--- kaboodle/Makefile.am.orig	Mon Sep 16 09:14:51 2002
+++ kaboodle/Makefile.am
@@ -2,7 +2,7 @@ INCLUDES = -I$(kde_includes)/kio -I$(kde
 
 SUBDIRS = pics actions
 
-lib_LTLIBRARIES = kaboodle.la
+lib_LTLIBRARIES = libkaboodle_main.la kaboodle.la
 
 kde_module_LTLIBRARIES = libkaboodlepart.la
 
@@ -16,25 +16,24 @@ libkaboodlepart_la_SOURCES = conf.cpp \
 libkaboodlepart_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
 libkaboodlepart_la_LIBADD = $(LIB_KFILE) $(LIB_KPARTS) -lqtmcop -lkmedia2_idl -lsoundserver_idl -lartskde -lkmediaplayer
 
-kaboodle_la_SOURCES = main.cpp \
+libkaboodle_main_la_SOURCES = main.cpp \
 	kaboodleapp.cpp \
 	userinterface.cpp
 
-kaboodle_la_LIBADD = libkaboodlepart.la
+libkaboodle_main_la_LIBADD = libkaboodlepart.la
+libkaboodle_main_la_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+
+kaboodle_la_SOURCES = kaboodle_main.cpp
+kaboodle_la_LIBADD = libkaboodle_main.la
 kaboodle_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version
 
 bin_PROGRAMS = kaboodle
 
-kaboodle_LDADD = kaboodle.la
+kaboodle_LDADD = libkaboodle_main.la
 kaboodle_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-kaboodle_SOURCES = dummy.cpp
+kaboodle_SOURCES = kaboodle_main.cpp
 
 libkaboodlepart_la_METASOURCES = AUTO
-
-CLEANFILES = dummy.cpp
-
-dummy.cpp:
-	echo > dummy.cpp
 
 applnk_DATA = kaboodle.desktop
 applnkdir = $(kde_appsdir)/Multimedia