summaryrefslogtreecommitdiffstats
path: root/kcalc/Makefile.am
blob: e72f732327cf0ecd5bf775476fe632dc6bb01db0 (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
AM_CPPFLAGS= -I$(srcdir)/knumber -D_ISOC99_SOURCE $(all_includes)

SUBDIRS = knumber

bin_PROGRAMS =
lib_LTLIBRARIES =
tdeinit_LTLIBRARIES = kcalc.la

kcalc_la_SOURCES = kcalc.cpp kcalc_button.cpp kcalc_const_button.cpp \
			kcalc_const_menu.cpp kcalc_core.cpp kcalcdisplay.cpp \
			dlabel.cpp stats.cpp colors.ui general.ui \
			constants.ui kcalc_settings.kcfgc


METASOURCES = AUTO

noinst_HEADERS  = kcalc.h kcalc_button.h kcalc_const_button.h \
			kcalc_const_menu.h kcalc_core.h kcalcdisplay.h \
			kcalctype.h dlabel.h stats.h

kcalc_la_LDFLAGS = $(all_libraries) -module -avoid-version
kcalc_la_LIBADD = $(LIB_KDEUI) knumber/libknumber.la

KDE_ICON = kcalc

xdg_apps_DATA = kcalc.desktop
kde_kcfg_DATA = kcalc.kcfg

rcdir = $(kde_datadir)/kcalc
rc_DATA = kcalcui.rc

messages: rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kcalc.pot

updatedir = $(kde_datadir)/kconf_update
update_DATA = kcalcrc.upd

DOXYGEN_EMPTY = YES
include $(top_srcdir)/admin/Doxyfile.am