summaryrefslogtreecommitdiffstats
path: root/kmobile/Makefile.am
blob: 46a0725d0aef72ef5ed12bf0ca64dc3694374140 (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		# kioslave

bin_PROGRAMS = kmobile 

lib_LTLIBRARIES = libkmobiledevice.la libkmobileclient.la

INCLUDES         = $(all_includes)

kmobile_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kmobile_LDADD   = $(LIB_KFILE) $(LIB_KABC) 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_KABC) $(LIB_LOCKDEV) ../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_KDECORE) -lDCOP

EXTRA_PROGRAMS = testlibkmobile
testlibkmobile_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
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