summaryrefslogtreecommitdiffstats
path: root/karm/Makefile.am
blob: 353d1fb6b1e4069e04c6685099c69b2dcba0df8f (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67

############ Autoconf-generated variables  ###################
INCLUDES = -I$(top_srcdir)/libkcal -I$(top_srcdir)/kresources/remote -I$(top_srcdir) $(all_includes)

bin_PROGRAMS = karm
SUBDIRS = support pics test

METASOURCES = AUTO

COMPILE_BEFORE_karm = libkdepim kresources

noinst_LTLIBRARIES = libkarm_shared.la

libkarm_shared_la_SOURCES = kaccelmenuwatch.cpp desktoptracker.cpp \
                edittaskdialog.cpp idletimedetector.cpp \
                printdialog.cpp timekard.cpp karmutility.cpp ktimewidget.cpp \
                karmstorage.cpp mainwindow.cpp preferences.cpp print.cpp \
                task.cpp taskview.cpp tray.cpp \
		csvexportdialog_base.ui csvexportdialog.cpp plannerparser.cpp \
		karmdcopiface.skel taskviewwhatsthis.cpp
libkarm_shared_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
	     $(top_builddir)/kresources/remote/libkcal_resourceremote.la \
             $(top_builddir)/libkdepim/libkdepim.la $(LIBXSS) -lkdeprint 
karm_SOURCES = main.cpp
karm_LDADD = libkarm_shared.la 
karm_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
noinst_HEADERS = desktoptracker.h edittaskdialog.h printdialog.h \
                 idletimedetector.h kaccelmenuwatch.h timekard.h \
		 karmutility.h ktimewidget.h karmstorage.h mainwindow.h \
		 preferences.h print.h task.h taskview.h toolicons.h \
		 tray.h version.h csvexportdialog.h plannerparser.h taskviewwhatsthis.h

KDE_ICON = karm

rcdir = $(kde_datadir)/karm
rc_DATA = karmui.rc

install-data-local: uninstall.desktop
	$(mkinstalldirs) $(DESTDIR)$(kde_appsdir)/Utilities
	$(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_appsdir)/Utilities/karm.desktop

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

srcdoc:
	kdoc -a -p -H -d $(HOME)/web/src/karm karm *.h -lkdecore -lkdeui -lqt

DOXYGEN_REFERENCES = kdeui
include $(top_srcdir)/admin/Doxyfile.am

#########################################################################
# KPART SECTION
#########################################################################
kde_module_LTLIBRARIES = libkarmpart.la

# the Part's source, library search path, and link libraries
libkarmpart_la_SOURCES = karm_part.cpp 
libkarmpart_la_LDFLAGS = -module -avoid-version -no-undefined $(KDE_PLUGIN) $(all_libraries)
libkarmpart_la_LIBADD  = libkarm_shared.la $(LIB_KPARTS)

# this is where the desktop file will go 
partdesktopdir   = $(kde_servicesdir)
partdesktop_DATA = karm_part.desktop

# this is where the part's XML-GUI resource file goes
partrcdir   = $(kde_datadir)/karmpart
partrc_DATA = karmui.rc