aboutsummaryrefslogtreecommitdiffstats
path: root/wombat/Makefile.am
blob: 9d7443da6c598c57529b0882c1b4dad028773d22 (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
INCLUDES =                      \
    -DG_LOG_DOMAIN=\"wombat\"           \
    -I$(top_srcdir)/e-util              \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/addressbook/backend     \
    -I$(top_builddir)/addressbook/backend       \
    -I$(top_srcdir)/calendar            \
    -I$(top_srcdir)/calendar/pcs            \
    -I$(top_builddir)/calendar/pcs          \
    -I$(top_srcdir)/libical/src/libical     \
    -I$(top_builddir)/libical/src/libical       \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"            \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"    \
    $(WOMBAT_CFLAGS)

bin_PROGRAMS =  \
    wombat

wombat_SOURCES =            \
    wombat-moniker.c        \
    wombat-moniker.h        \
    wombat-private-moniker.c    \
    wombat-private-moniker.h    \
    wombat.c

wombat_LDADD =                              \
    $(top_builddir)/addressbook/backend/pas/libpas.a        \
    $(DB3_LDADD)                            \
    $(LDAP_LIBS)                            \
    $(top_builddir)/addressbook/backend/ebook/libebook.la       \
    $(top_builddir)/camel/libcamel.la               \
    $(top_builddir)/libibex/libibex.la              \
    $(top_builddir)/e-util/ename/libename.la            \
    $(top_builddir)/calendar/pcs/libpcs.a               \
    $(top_builddir)/calendar/cal-util/libcal-util.la        \
    $(top_builddir)/libical/src/libical/libical-evolution.la    \
    $(top_builddir)/libversit/libversit.a               \
    $(top_builddir)/e-util/libedb3util.la               \
    $(top_builddir)/e-util/libeutil.la              \
    $(top_builddir)/libwombat/libwombat.la

oafdir = $(datadir)/oaf

if ENABLE_LDAP
OAF_IN_FILE=GNOME_Evolution_WombatLDAP.oaf.in
else
OAF_IN_FILE=GNOME_Evolution_WombatNOLDAP.oaf.in
endif

GNOME_Evolution_Wombat.oaf.in: $(OAF_IN_FILE)
    cp $< $@

oaf_in_files = GNOME_Evolution_Wombat.oaf.in
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)

@XML_I18N_MERGE_OAF_RULE@


EXTRA_DIST = $(oaf_DATA) $(oaf_in_files) wombat.idl \
         GNOME_Evolution_WombatLDAP.oaf.in GNOME_Evolution_WombatNOLDAP.oaf.in

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

all-local: wombat.pure

wombat.pure: wombat
    @rm -f wombat.pure
    $(PLINK) $(wombat_LDFLAGS) $(wombat_OBJECTS) $(wombat_LDADD) $(LIBS)

endif