blob: b21c5ebb035099d8570e282626099e9f6f8e8113 (
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
|
$NetBSD: patch-aa,v 1.3 2003/03/11 13:22:31 markd Exp $
--- kcalc/Makefile.am.orig Mon Sep 16 09:16:37 2002
+++ kcalc/Makefile.am
@@ -1,20 +1,24 @@
AM_CPPFLAGS=-D_GNU_SOURCE -D_ISOC99_SOURCE
bin_PROGRAMS = kcalc
-lib_LTLIBRARIES = kcalc.la
+lib_LTLIBRARIES = libkcalc_main.la kcalc.la
-kcalc_la_SOURCES = kcalc.cpp kcalc_core.cpp dlabel.cpp stats.cpp \
+libkcalc_main_la_SOURCES = kcalc.cpp kcalc_core.cpp dlabel.cpp stats.cpp \
optiondialog.cpp
+libkcalc_main_la_LDFLAGS = $(all_libraries)
+libkcalc_main_la_LIBADD = $(LIB_KDEUI) -lm
+
+kcalc_la_SOURCES = kcalc_main.cpp
+kcalc_la_LDFLAGS = $(all_libraries) -module -avoid-version
+kcalc_la_LIBADD = libkcalc_main.la
METASOURCES = AUTO
noinst_HEADERS = kcalc.h dlabel.h stats.h kcalctype.h
INCLUDES= $(all_includes)
-kcalc_la_LDFLAGS = $(all_libraries) -module -avoid-version
-kcalc_la_LIBADD = $(LIB_KDEUI) -lm
-kcalc_SOURCES = dummy.cpp
-kcalc_LDADD = kcalc.la
+kcalc_SOURCES = kcalc_main.cpp
+kcalc_LDADD = libkcalc_main.la
kcalc_LDFLAGS = $(all_libraries) $(KDE_RPATH)
pics_DATA =
@@ -29,6 +33,3 @@ EXTRA_DIST = $(pics_DATA) $(apps_DATA)
messages:
$(XGETTEXT) *.cpp -o $(podir)/kcalc.pot
-
-dummy.cpp:
- echo > dummy.cpp
|