summaryrefslogtreecommitdiff
path: root/audio/kdemultimedia3/patches/patch-ab
blob: 8083368de3b1cf67a9c396f817009f1f17ce09a9 (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
$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 14:46:47 skrll Exp $

--- kaboodle/Makefile.am.orig	Fri Jul 27 01:53:45 2001
+++ kaboodle/Makefile.am
@@ -2,7 +2,7 @@
 
 SUBDIRS = pics actions
 
-lib_LTLIBRARIES = libkaboodlepart.la kaboodle.la
+lib_LTLIBRARIES = libkaboodlepart.la libkaboodle_main.la kaboodle.la
 
 libkaboodlepart_la_SOURCES = conf.cpp \
 	controls.cpp \
@@ -15,25 +15,24 @@
 libkaboodlepart_la_LDFLAGS = $(KDE_RPATH) $(KDE_PLUGIN) $(all_libraries) 
 libkaboodlepart_la_LIBADD = $(LIB_KFILE) $(LIB_KPARTS) -lqtmcop -lkmedia2_idl -lsoundserver_idl -lartskde
 
-kaboodle_la_SOURCES = main.cpp \
+kaboodle_la_SOURCES = kaboodle_main.cpp
+kaboodle_la_LIBADD = libkaboodle_main.la
+kaboodle_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version
+
+libkaboodle_main_la_SOURCES = main.cpp \
 		      kaboodleapp.cpp \
 		      userinterface.cpp
 
-kaboodle_la_LIBADD = libkaboodlepart.la
-kaboodle_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version
+libkaboodle_main_la_LIBADD = libkaboodlepart.la
+libkaboodle_main_la_LDFLAGS = $(all_libraries) $(KDE_RPATH)
 
 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