aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits/todo/Makefile.am
blob: b5ccaf429fc8dd99c99cd9c2ab507d5cb0fbbb43 (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)/calendar        \
    -I$(top_builddir)/calendar/cal-client   \
    -I$(top_srcdir)/libical/src/libical \
    -I$(top_builddir)/libical/src/libical   \
    -I$(top_srcdir)/e-util          \
    -I$(top_builddir)/e-util        \
    $(BONOBO_GNOME_CFLAGS)          \
    $(BONOBO_CONF_CFLAGS)           \
    $(PISOCK_CFLAGS)            \
    $(GNOME_PILOT_CFLAGS)

# ToDo Conduit
e_todo_conduitsdir=$(libdir)/gnome-pilot/conduits
e_todo_conduits_LTLIBRARIES = libetodo_conduit.la

libetodo_conduit_la_SOURCES =   \
    todo-conduit.c

libetodo_conduit_la_LDFLAGS = -module -avoid-version
libetodo_conduit_la_LIBADD =                        \
    $(top_builddir)/calendar/cal-client/libcal-client-static.la \
    $(top_builddir)/calendar/cal-util/libcal-util-static.la     \
    $(top_builddir)/libversit/libversit.la              \
    $(top_builddir)/libical/src/libical/libical-static.la       \
    $(top_builddir)/libwombat/libwombat-static.la           \
    $(top_builddir)/e-util/libeconduit-static.la            \
    $(BONOBO_GNOME_LIBS)                        \
    $(BONOBO_CONF_LIBS)                     \
    $(PISOCK_LIBS)                          \
    $(GNOME_LIBDIR)                         \
    $(GNOME_LIBS)

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

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

EXTRA_DIST = \
    e-todo.conduit.in

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