summaryrefslogtreecommitdiffstats
path: root/kaddressbook/Makefile.am
blob: b411e6189adcde0345f5343228200099a521ef10 (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
SUBDIRS = interfaces common printing editors . views features xxport kcmconfigs pics csv-templates \
          thumbnailcreator
SRCDOC_DEST = $(kde_htmldir)/en/kaddressbook


INCLUDES= -I$(top_srcdir)/kaddressbook/interfaces \
          -I$(top_srcdir)/kaddressbook/features \
          -I$(top_srcdir)/kaddressbook/views \
          -I$(top_srcdir)/kaddressbook/printing \
          -I$(top_srcdir)/kaddressbook/common \
          -I$(top_srcdir)/kaddressbook/editors \
          -I$(top_builddir)/kaddressbook/common \
          -I$(top_srcdir) \
          -I$(top_buildir)/kaddressbook/editors \
          $(all_includes)

bin_PROGRAMS = kaddressbook

kaddressbook_SOURCES = main.cpp kaddressbookmain.cpp
kaddressbook_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
kaddressbook_LDADD = libkaddressbook.la

kde_module_LTLIBRARIES = libkaddressbookpart.la

libkaddressbookpart_la_SOURCES = kaddressbook_part.cpp
libkaddressbookpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -no-undefined
libkaddressbookpart_la_LIBADD = libkaddressbook.la $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_KPARTS) -lDCOP

lib_LTLIBRARIES = libkaddressbook.la
libkaddressbook_la_SOURCES = addresseeconfig.cpp addresseeeditordialog.cpp \
    addresseeeditorwidget.cpp addresseeeditorbase.cpp addresseeeditorextension.cpp addresseeutil.cpp addresseditwidget.cpp \
    addviewdialog.cpp emaileditwidget.cpp extensionmanager.cpp \
    filtereditdialog.cpp filterselectionwidget.cpp geowidget.cpp \
    imagewidget.cpp incsearchwidget.cpp jumpbuttonbar.cpp kabcore.cpp kablock.cpp \
    kaddressbookiface.skel kaddressbookservice.cpp \
    kaddressbookview.cpp keywidget.cpp ldapsearchdialog.cpp nameeditdialog.cpp \
    phoneeditwidget.cpp secrecywidget.cpp soundwidget.cpp \
    viewconfigurefieldspage.cpp viewconfigurefilterpage.cpp \
    viewconfigurewidget.cpp undocmds.cpp viewmanager.cpp \
    xxportmanager.cpp xxportselectdialog.cpp contacteditorwidgetmanager.cpp \
    simpleaddresseeeditor.cpp advancedcustomfields.cpp customfieldswidget.cpp \
    freebusywidget.cpp searchmanager.cpp imeditwidget.cpp kabtools.cpp distributionlistpicker.cpp distributionlisteditor.cpp distributionlistentryview.cpp
libkaddressbook_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined
libkaddressbook_la_LIBADD = $(top_builddir)/kaddressbook/printing/libprinter.la \
                            $(top_builddir)/kaddressbook/interfaces/libkabinterfaces.la \
                            $(top_builddir)/libtdepim/libtdepim.la \
                            $(top_builddir)/libkcal/libkcal.la \
                            -lkabc_file $(LIB_KABC) $(LIB_TDEHTML) \
                            $(top_builddir)/kaddressbook/common/libkabcommon.la \
                            $(top_builddir)/kaddressbook/editors/libkabim.la \
                            -ltdeprint
libkaddressbook_la_COMPILE_FIRST = $(top_srcdir)/libtdepim/categoryselectdialog.h \
                                   $(top_srcdir)/libtdepim/categoryeditdialog.h \
                                   $(top_builddir)/kaddressbook/common/kabprefs_base.h


noinst_HEADERS = \
    addresseditwidget.h addresseeconfig.h \
    addresseeeditordialog.h addresseeeditorwidget.h addresseeutil.h \
    addviewdialog.h emaileditwidget.h extensionmanager.h \
    filtereditdialog.h filterselectionwidget.h geowidget.h imagewidget.h \
    incsearchwidget.h jumpbuttonbar.h kablock.h kaddressbook_part.h \
    kaddressbookservice.h kaddressbookview.h keywidget.h \
    ldapsearchdialog.h nameeditdialog.h phoneeditwidget.h secrecywidget.h \
    soundwidget.h typecombo.h undocmds.h viewconfigurefieldspage.h \
    viewconfigurefilterpage.h viewconfigurewidget.h viewmanager.h xxportmanager.h \
    xxportselectdialog.h advancedcustomfields.h imeditwidget.h

kaddressbook_METASOURCES = AUTO

rcdir = $(kde_datadir)/kaddressbook
rc_DATA = kaddressbookui.rc kaddressbook_part.rc

kabdatadir = $(kde_datadir)/kaddressbook
kabdata_DATA = zone.tab

xdg_apps_DATA = kaddressbook.desktop

servicetypedir = $(kde_servicetypesdir)
servicetype_DATA = kaddressbook_view.desktop dcopaddressbook.desktop

KDE_ICON = kaddressbook

messages: rc.cpp
	$(EXTRACTRC) --context="Instant messaging" editors/im*.ui >> rc.cpp
	$(EXTRACTRC) printing/*.ui >> rc.cpp
	$(EXTRACTRC) */*.kcfg >> rc.cpp
	$(XGETTEXT) *.h *.cpp common/*.cpp editors/*.cpp features/*.cpp printing/*.cpp views/*.cpp xxport/*.cpp interfaces/*.h -o $(podir)/kaddressbook.pot

srcdoc:
	$(mkinstalldirs) $(SRCDOC_DEST)
	kdoc -H -d $(SRCDOC_DEST) kaddressbook $(noinst_HEADERS) -lqt

include $(top_srcdir)/admin/Doxyfile.am

kaddressbook_part.lo: common/kabprefs_base.h