summaryrefslogtreecommitdiff
path: root/x11/kdebase3/patches/patch-cm
blob: 0500a1f7c0bfe511ef5f8f90a00dfa0876d2614e (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
$NetBSD: patch-cm,v 1.1.1.1 2002/05/31 13:19:17 skrll Exp $

--- konqueror/keditbookmarks/Makefile.am.orig	Sun Mar  3 04:35:00 2002
+++ konqueror/keditbookmarks/Makefile.am
@@ -2,23 +2,25 @@
 
 METASOURCES = AUTO
 
-lib_LTLIBRARIES = keditbookmarks.la
+lib_LTLIBRARIES = libkeditbookmarks_main.la keditbookmarks.la
 
-keditbookmarks_la_SOURCES = main.cpp toplevel.cpp toplevel.skel commands.cpp
+libkeditbookmarks_main_la_SOURCES = main.cpp toplevel.cpp toplevel.skel commands.cpp
+
+keditbookmarks_la_SOURCES = keditbookmarks_main.cpp
 kbookmarklistener_DIR = $(top_srcdir)/libkonq
 
-keditbookmarks_la_LIBADD  = $(top_builddir)/libkonq/libkonq.la
+libkeditbookmarks_main_la_LIBADD  = $(top_builddir)/libkonq/libkonq.la
+libkeditbookmarks_main_la_LDFLAGS = $(all_libraries)
+libkeditbookmarks_main_la_METASOURCES = AUTO
+
+keditbookmarks_la_LIBADD  = libkeditbookmarks_main.la
 keditbookmarks_la_LDFLAGS = $(all_libraries) -module -avoid-version
-keditbookmarks_la_METASOURCES = AUTO
 
 bin_PROGRAMS = keditbookmarks
 
-keditbookmarks_SOURCES = dummy.cpp
-keditbookmarks_LDADD = keditbookmarks.la
+keditbookmarks_SOURCES = keditbookmarks_main.cpp
+keditbookmarks_LDADD = libkeditbookmarks_main.la
 keditbookmarks_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-
-dummy.cpp:
-	echo > dummy.cpp
 
 rcdir = $(kde_datadir)/keditbookmarks
 rc_DATA = keditbookmarksui.rc