blob: a7ca1b7792bab6659eab133d2e4e976ea969e266 (
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
|
$NetBSD: patch-aa,v 1.2 2002/08/25 19:23:50 jlam Exp $
--- arts/knotify/Makefile.am.orig Wed Feb 13 21:06:57 2002
+++ arts/knotify/Makefile.am
@@ -4,15 +4,20 @@
####### Files
bin_PROGRAMS = knotify
-lib_LTLIBRARIES = knotify.la
+lib_LTLIBRARIES = libknotify_main.la knotify.la
-knotify_la_SOURCES = knotify.cpp knotify.skel
-knotify_la_LIBADD = -lsoundserver_idl -lqtmcop $(LIB_KDEUI) $(LIB_KDECORE)
+libknotify_main_la_SOURCES = knotify.cpp knotify.skel
+libknotify_main_la_LIBADD = -lsoundserver_idl -lqtmcop $(LIB_KDEUI) $(LIB_KDECORE)
+libknotify_main_la_LDFLAGS = $(all_libraries)
+libknotify_main_la_METASOURCES = AUTO
+
+knotify_la_SOURCES = knotify_main.cpp
+knotify_la_LIBADD = libknotify_main.la
knotify_la_LDFLAGS = $(all_libraries) -module -avoid-version
knotify_la_METASOURCES = AUTO
-knotify_SOURCES = dummy.cpp
-knotify_LDADD = knotify.la
+knotify_SOURCES = knotify_main.cpp
+knotify_LDADD = libknotify_main.la
knotify_LDFLAGS = $(all_libraries) $(KDE_RPATH)
check_PROGRAMS = knotifytest
@@ -27,6 +32,3 @@
messages:
$(XGETTEXT) knotify.cpp -o $(podir)/knotify.pot
-
-dummy.cpp:
- echo > dummy.cpp
|