aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/Makefile.am
blob: c0ab3955641d49cac635120ffc336fb701caf85b (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
noinst_PROGRAMS = test-card test-client test-client-list load-pine-addressbook

CORBA_SOURCE =                      \
    addressbook.h                   \
    addressbook-common.c                \
    addressbook-stubs.c             \
    addressbook-skels.c

idls =                          \
    $(srcdir)/../idl/addressbook.idl

idl_flags = `$(GNOME_CONFIG) --cflags idl` -I $(datadir)/idl

$(CORBA_SOURCE): $(idls)
    $(ORBIT_IDL) $(srcdir)/../idl/addressbook.idl $(idl_flags)

INCLUDES =                      \
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
    -DG_LOG_DOMAIN=\"EBook\"            \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/addressbook/backend     \
    -I$(top_srcdir)/addressbook/ename       \
    -I$(top_builddir)/addressbook/backend       \
    -I$(top_builddir)/addressbook/ename     \
        $(BONOBO_GNOME_CFLAGS)

lib_LTLIBRARIES = libebook.la

libebook_la_SOURCES =                   \
    $(CORBA_SOURCE)                 \
    e-book-listener.c               \
    e-book-view-listener.c              \
    e-book-view.c                   \
    e-book.c                    \
    e-card-cursor.c                 \
    e-card-iterator.c               \
    e-card-list-iterator.c              \
    e-card-list.c                   \
    e-card-simple.c                 \
    e-card.c

libebookincludedir = $(includedir)/evolution/ebook

libebookinclude_HEADERS =               \
    e-book-listener.h               \
    e-book-types.h                  \
    e-book-view-listener.h              \
    e-book-view.h                   \
    e-book.h                    \
    e-card-cursor.h                 \
    e-card-iterator.h               \
    e-card-list-iterator.h              \
    e-card-list.h                   \
    e-card-pairs.h                  \
    e-card-simple.h                 \
    e-card-types.h                  \
    e-card.h

test_client_SOURCES =                   \
    test-client.c

test_client_LDADD =                 \
    libebook.la                 \
    $(BONOBO_GNOME_LIBS)                \
    $(top_builddir)/libversit/libversit.la      \
    $(top_builddir)/addressbook/ename/libename.la   \
    $(top_builddir)/e-util/libeutil.la

test_client_list_SOURCES =              \
    test-client-list.c

test_client_list_LDADD =                \
    libebook.la                 \
    $(BONOBO_GNOME_LIBS)                \
    $(top_builddir)/addressbook/ename/libename.la   \
    $(top_builddir)/libversit/libversit.la      \
    $(top_builddir)/e-util/libeutil.la

test_card_SOURCES =                 \
    test-card.c

test_card_LDADD =                   \
    libebook.la                 \
    $(BONOBO_GNOME_LIBS)                \
    $(top_builddir)/addressbook/ename/libename.la   \
    $(top_builddir)/libversit/libversit.la      \
    $(top_builddir)/e-util/libeutil.la


load_pine_addressbook_SOURCES =                 \
    load-pine-addressbook.c

load_pine_addressbook_LDADD =                   \
    libebook.la                 \
    $(BONOBO_GNOME_LIBS)                \
    $(top_builddir)/addressbook/ename/libename.la   \
    $(top_builddir)/libversit/libversit.la      \
    $(top_builddir)/e-util/libeutil.la


BUILT_SOURCES = $(CORBA_SOURCE)
CLEANFILES   += $(BUILT_SOURCES)