summaryrefslogtreecommitdiffstats
path: root/kandy/src/Makefile.am
blob: 87f3eb8e0e08e2b18b790abd1ba10c75df1c4d3e (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
bin_PROGRAMS = kandy kandy_client

INCLUDES = -I$(top_srcdir) $(all_includes)

kandy_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
kandy_LDADD   = $(KANDY_LIBLOCKDEV) $(LIB_TDEFILE) -lkabc $(top_builddir)/libtdepim/libtdepim.la
kandy_SOURCES =	main.cpp kandy.cpp \
                cmdpropertiesdialog_base.ui cmdpropertiesdialog.cpp \
                kandyview.cpp \
		kandyiface.skel \
                modem.cpp \
                atcommand.cpp commanditem.cpp mobilegui_base.ui mobilegui.cpp \
                commandscheduler.cpp commandset.cpp \
                kandyprefs.kcfgc kandyprefsdialog.cpp \
                mobilemain.cpp

KDE_ICON = kandy

noinst_HEADERS   = kandy.h kandyview.h modem.h atcommand.h \
                   commanditem.h mobilegui.h commandscheduler.h

kandy_client_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
kandy_client_LDADD   = $(LIB_TDECORE)
kandy_client_SOURCES = kandy_client.cpp

METASOURCES = AUTO

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

xdg_apps_DATA = kandy.desktop

kde_kcfg_DATA = kandy.kcfg

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

rcdir = $(kde_datadir)/kandy
rc_DATA = kandyui.rc kandymobileui.rc