aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/Makefile.am
blob: 445c47c83a6015d5ebed1dd1be209aa50e5f8fb8 (plain) (blame)
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
97
98
99
100
101
102
SUBDIRS = select-names

INCLUDES =                          \
    -DG_LOG_DOMAIN=\"evolution-addressbook\"        \
    -DPREFIX=\"$(prefix)\"                  \
    -DSYSCONFDIR=\"$(sysconfdir)\"              \
    -DDATADIR=\"$(datadir)\"                \
    -DLIBDIR=\"$(libdir)\"                  \
    -I$(top_srcdir)                     \
    -I$(top_builddir)                   \
    -I$(top_srcdir)/shell                   \
    -I$(top_builddir)/shell                 \
    -I$(top_srcdir)/widgets/misc                \
    -I$(top_srcdir)/addressbook/gui/contact-editor      \
    -I$(top_srcdir)/addressbook/gui/contact-list-editor \
    -I$(top_srcdir)/addressbook/gui/minicard        \
    -I$(top_srcdir)/addressbook/gui/widgets         \
    -I$(top_srcdir)/addressbook/backend         \
    -I$(top_builddir)/addressbook/backend           \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"            \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"          \
    -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\"        \
    -DEVOLUTION_ICONSDIR=\""$(iconsdir)"\"          \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"        \
    -DCAMEL_PROVIDERDIR=\""$(providerdir)"\"        \
    -DEVOLUTION_IMAGESDIR=\""$(datadir)"/images/evolution\" \
    $(LDAP_CFLAGS)                      \
    $(EVOLUTION_ADDRESSBOOK_CFLAGS)

bin_PROGRAMS =  \
    evolution-addressbook

evolution_addressbook_SOURCES =     \
    addressbook-component.c     \
    addressbook-component.h     \
    addressbook-config.c        \
    addressbook-config.h        \
    addressbook-factory.c       \
    addressbook-storage.c       \
    addressbook-storage.h       \
    addressbook.c           \
    addressbook.h           \
    e-cardlist-model.c      \
    e-cardlist-model.h      \
    e-address-widget.h      \
    e-address-widget.c      \
    e-address-popup.h       \
    e-address-popup.c

evolution_addressbook_LDADD =                               \
    select-names/libeselectnames.la                         \
    $(top_builddir)/shell/libeshell.la                      \
    $(top_builddir)/addressbook/gui/widgets/libeminicard.a              \
    $(top_builddir)/addressbook/backend/ebook/libebook.la               \
    $(top_builddir)/e-util/ename/libename.la                    \
    $(top_builddir)/addressbook/gui/contact-list-editor/libecontactlisteditor.a \
    $(top_builddir)/addressbook/gui/contact-editor/libecontacteditor.a      \
    $(top_builddir)/libversit/libversit.a                       \
    $(top_builddir)/widgets/misc/libemiscwidgets.a                  \
    $(top_builddir)/addressbook/gui/merging/libecardmerging.a           \
    $(top_builddir)/e-util/libeutil.la                      \
    $(top_builddir)/widgets/menus/libmenus.la                   \
    $(EVOLUTION_ADDRESSBOOK_LIBS) $(LDAP_LIBS)

# not done yet:
#   $(top_builddir)/addressbook/gui/search/libeaddressbooksearch.a
#   $(top_builddir)/filter/libfilter.la
#   $(top_builddir)/addressbook/printing/libecontactprint.a
#   $(top_builddir)/camel/libcamel.la

#evolution_addressbook_LDFLAGS = `gnome-config --libs gdk_pixbuf` -export-dynamic

@INTLTOOL_SERVER_RULE@

serversdir = $(libdir)/bonobo/servers
server_in_files = GNOME_Evolution_Addressbook.server.in
servers_DATA = $(server_in_files:.server.in=.server)

gladedir   = $(datadir)/evolution/glade
glade_DATA = ldap-config.glade

iconsdir = $(datadir)/images/evolution

etspecdir = $(datadir)/evolution/etspec
etspec_DATA = addressbook-config.etspec

EXTRA_DIST =                \
    $(glade_DATA)           \
    $(servers_DATA)         \
    $(server_in_files)      \
    $(etspec_DATA)

if ENABLE_PURIFY
PLINK = $(LIBTOOL) --mode=link $(PURIFY) $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@

all-local: evolution-addressbook.pure

evolution-addressbook.pure: evolution-addressbook
    @rm -f evolution-addressbook.pure
    $(PLINK) $(evolution_addressbook_LDFLAGS) $(evolution_addressbook_OBJECTS) $(evolution_addressbook_LDADD) $(LIBS)

endif