aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/conduit/Makefile.am
blob: 7d07d6bc96380b622e476aa2d986a95d5de37b9c (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
INCLUDES =                  \
    -I$(top_srcdir)             \
    -I$(top_srcdir)/addressbook     \
    -I$(top_srcdir)/addressbook/backend \
    -I$(top_srcdir)/e-util          \
    -I$(top_builddir)/e-util        \
    $(PISOCK_CFLAGS)            \
    $(GNOME_PILOT_CFLAGS)           \
    $(BONOBO_GNOME_CFLAGS)          \
    -DCAMEL_PROVIDERDIR=\""$(providerdir)"\"

# Address Conduit
e_address_conduitsdir=$(libdir)/gnome-pilot/conduits
e_address_conduits_LTLIBRARIES = libeaddress_conduit.la

libeaddress_conduit_la_SOURCES = \
    address-conduit.c

libeaddress_conduit_la_LDFLAGS = -module -avoid-version
libeaddress_conduit_la_LIBADD =                     \
    $(top_builddir)/addressbook/backend/ebook/libebook-static.la    \
    $(top_builddir)/e-util/ename/libename-static.la         \
    $(top_builddir)/libversit/libversit.la              \
    $(top_builddir)/e-util/libeconduit-static.la            \
    $(top_builddir)/camel/libcamel-static.la            \
    $(top_builddir)/libibex/libibex.la              \
    $(PISOCK_LIBS)                          \
    $(GNOME_PILOT_LIBS)                         \
    $(BONOBO_CONF_LIBS)                     \
    $(BONOBO_GNOME_LIBS)                        \
    $(GNOME_LIBDIR)                         \
    $(GNOME_LIBS)

e-address.conduit: e-address.conduit.in Makefile
    sed -e 's^\@prefix\@^$(prefix)^g'               \
        -e 's^\@datadir\@^$(datadir)^g'                 \
        < $(srcdir)/e-address.conduit.in > e-address.conduit.tmp    \
    && mv e-address.conduit.tmp e-address.conduit


Conduitdir = $(datadir)/gnome-pilot/conduits/
Conduit_DATA = e-address.conduit

EXTRA_DIST = \
    e-address.conduit.in

install-data-local:
    $(mkinstalldirs) $(Conduitdir)