summaryrefslogtreecommitdiffstats
path: root/kmobile/Makefile.am
blob: 75f643cde124fd430eb3ca8cac87fd32789b397e (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
## Makefile.am for kmobile

SUBDIRS = . devices		# tdeioslave

bin_PROGRAMS = kmobile

lib_LTLIBRARIES = libkmobiledevice.la libkmobileclient.la

INCLUDES         = $(all_includes)

kmobile_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kmobile_LDADD   = $(LIB_TDEFILE) $(LIB_TDEABC) libkmobiledevice.la
kmobile_SOURCES = main.cpp kmobile.cpp kmobileview.cpp kmobileitem.cpp\
			pref.cpp kmobileiface.skel kmobile_selectiondialog.ui \
			systemtray.cpp

KDE_ICON = kmobile

noinst_HEADERS = kmobile.h kmobileview.h kmobileitem.h pref.h

# the low-level devices driver library
libkmobiledevice_la_SOURCES = kmobiledevice.cpp
libkmobiledevice_la_LDFLAGS = $(all_libraries) -no-undefined -avoid-version
libkmobiledevice_la_LIBADD = $(LIB_TDEABC) ../libkcal/libkcal.la

# the KDE application's client library to KMobile
libkmobileclient_la_SOURCES = kmobileclient.cpp
libkmobileclient_la_LDFLAGS = $(all_libraries) -no-undefined -avoid-version
libkmobileclient_la_LIBADD = $(LIB_TDECORE) -lDCOP

EXTRA_PROGRAMS = testlibkmobile
testlibkmobile_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
testlibkmobile_LDADD = libkmobileclient.la
testlibkmobile_SOURCES = testlibkmobile.cpp

# the servicetype for mobile devices
kde_servicetypes_DATA = libkmobile.desktop

METASOURCES = AUTO

xdg_apps_DATA = kmobile.desktop

rc_DATA = kmobileui.rc
rcdir = $(kde_datadir)/kmobile

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