aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits/todo/Makefile.am
blob: 5f93c81f72e52bd1d77be4f66a34b59ee0951c87 (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
INCLUDES =                  \
    -I$(top_srcdir)             \
    -I$(top_srcdir)/calendar        \
    -I$(top_srcdir)/libical/src/libical \
    -I$(top_builddir)/libical/src/libical   \
    $(BONOBO_GNOME_CFLAGS)          \
    $(GNOME_PILOT_CFLAGS)

# ToDo Capplet
bin_PROGRAMS = todo-conduit-control-applet

todo_conduit_control_applet_SOURCES = todo-conduit-control-applet.c

todo_conduit_control_applet_LDADD = \
        $(CAPPLET_LIBS)  \
        $(GNOME_LIBDIR) \
        $(GNOME_PILOT_LIBS) \
        $(PISOCK_LIBDIR) $(PISOCK_LIBS) \
        $(GNOME_CAPPLET_LIBS) \
        $(BONOBO_VFS_GNOME_LIBS) \
        $(GNOME_XML_LIB) \
            $(GNOMEUI_LIBS) \
                $(INTLLIBS)



# ToDo Conduit
todo_conduitsdir=$(libdir)/gnome-pilot/conduits
todo_conduits_LTLIBRARIES = libtodo_conduit.la

libtodo_conduit_la_SOURCES = todo-conduit.c

libtodo_conduit_la_LDFLAGS = \
    -rpath $(libdir)

libtodo_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       \
    $(BONOBO_VFS_GNOME_LIBS)                    \
    $(PISOCK_LIBDIR) $(PISOCK_LIBS)                 \
    $(GNOME_LIBDIR)                         \
    $(GNOME_LIBS)

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


ccenterdir = $(datadir)/control-center
ccenterPalmPilotdir = $(ccenterdir)/Peripherals
ccenterConduitsdir = $(ccenterPalmPilotdir)/Conduits
ccenterConduits_DATA = todo-conduit-control-applet.desktop 

panelConduitsdir = $(datadir)/gnome/apps/Settings/Peripherals/Conduits
panelConduits_DATA = $(ccenterConduits_DATA)

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

EXTRA_DIST = \
    todo.conduit.in \
        $(ccenterConduits_DATA)

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