aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits/memo/Makefile.am
blob: 84ccf1b9d9968069a063cd26975d64af2a4e0f75 (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
# Memo Conduit
privconduit_LTLIBRARIES = libememo_conduit.la

libememo_conduit_la_CPPFLAGS =          \
    $(AM_CPPFLAGS)              \
    -I$(top_srcdir)/e-util          \
    -I$(top_builddir)/e-util        \
    -I$(top_srcdir)/widgets/misc        \
    -I$(top_builddir)/widgets/misc      \
    -I$(top_srcdir)/calendar/conduits/common        \
    -I$(top_builddir)/calendar/conduits/common      \
    $(EVOLUTION_CALENDAR_CONDUIT_CFLAGS)

libememo_conduit_la_SOURCES = memo-conduit.c

libememo_conduit_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED)

libememo_conduit_la_LIBADD =                        \
    $(top_builddir)/e-util/libeutil.la              \
    $(top_builddir)/e-util/libeconduit.la               \
    $(top_builddir)/widgets/misc/libemiscwidgets.la         \
    $(top_builddir)/calendar/conduits/common/libecalendar_common_conduit.la \
    $(EVOLUTION_CALENDAR_CONDUIT_LIBS)

e-memo.conduit: e-memo.conduit.in
    sed -e 's^\@privconduitdir\@^$(privconduitdir)^g'       \
        -e 's^\@datadir\@^$(datadir)^g'                 \
        -e 's^\@BASE_VERSION\@^$(BASE_VERSION)^g'           \
        $< > $@

conduitdir = $(datadir)/gnome-pilot/conduits/
conduit_DATA = e-memo.conduit

BUILT_SOURCES = $(conduit_DATA)
CLEANFILES = $(BUILT_SOURCES)

EXTRA_DIST = \
    e-memo.conduit.in

dist-hook:
    cd $(distdir); rm -f $(BUILT_SOURCES)

-include $(top_srcdir)/git.mk