$NetBSD: patch-bl,v 1.1 2001/10/15 22:46:02 skrll Exp $

--- khotkeys/khotkeys/Makefile.am.orig	Sat May 19 02:07:18 2001
+++ khotkeys/khotkeys/Makefile.am
@@ -2,13 +2,17 @@
 
 bin_PROGRAMS = khotkeys
-lib_LTLIBRARIES = khotkeys.la
+lib_LTLIBRARIES = libkhotkeys_main.la khotkeys.la
 
-khotkeys_la_SOURCES = khkglobalaccel.cpp khotkeys.cpp main.cpp \
+libkhotkeys_main_la_SOURCES = khkglobalaccel.cpp khotkeys.cpp main.cpp \
 	khotkeys.skel
-khotkeys_la_LIBADD   = ../shared/libshared.la -lksycoca
+libkhotkeys_main_la_LIBADD   = ../shared/libshared.la -lksycoca
+libkhotkeys_main_la_LDFLAGS = $(all_libraries)
+
+khotkeys_la_SOURCES = khotkeys_main.cpp
+khotkeys_la_LIBADD  = libkhotkeys_main.la
 khotkeys_la_LDFLAGS = $(all_libraries) -module -avoid-version
 
-khotkeys_SOURCES = dummy.cpp 
-khotkeys_LDADD   = khotkeys.la
+khotkeys_SOURCES = khotkeys_main.cpp
+khotkeys_LDADD   = libkhotkeys_main.la
 khotkeys_LDFLAGS = $(all_libraries) $(KDE_RPATH)
 
@@ -21,5 +25,2 @@
 
 METASOURCES = AUTO
-
-dummy.cpp:
-	echo > dummy.cpp
