aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/Makefile.am
blob: e83e3e1411857b001025a64c9f3f24cd575bdee5 (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
# CORBA stuff

SUBDIRS = . tests

CORBA_ADDRESSBOOK_SOURCE_H =            \
    addressbook.h
CORBA_ADDRESSBOOK_SOURCE_C =            \
    addressbook-common.c            \
    addressbook-stubs.c         \
    addressbook-skels.c
CORBA_ADDRESSBOOK_IDL = $(srcdir)/../idl/addressbook.idl

$(CORBA_ADDRESSBOOK_SOURCE_H): $(CORBA_ADDRESSBOOK_IDL)
    $(ORBIT_IDL) -I $(srcdir) $(IDL_INCLUDES) $(CORBA_ADDRESSBOOK_IDL)

$(CORBA_ADDRESSBOOK_SOURCE_C): $(CORBA_ADDRESSBOOK_SOURCE_H)

CORBA_SOURCE_H = $(CORBA_ADDRESSBOOK_SOURCE_H)
CORBA_SOURCE_C = $(CORBA_ADDRESSBOOK_SOURCE_C)
CORBA_SOURCE = $(CORBA_SOURCE_H) $(CORBA_SOURCE_C)


# The component 

INCLUDES =                      \
    -DPREFIX=\"$(prefix)\"              \
    -DSYSCONFDIR=\"$(sysconfdir)\"          \
    -DDATADIR=\"$(datadir)\"            \
    -DLIBDIR=\"$(libdir)\"              \
    -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     \
    -DG_DISABLE_DEPRECATED              \
    -DLIBGNOME_DISABLE_DEPRECATED           \
        $(EVOLUTION_ADDRESSBOOK_CFLAGS)

privlib_LTLIBRARIES = libebook.la

libebook_la_SOURCES =                   \
    $(CORBA_SOURCE)                 \
    addressbook.h                   \
    e-book-marshal.c                \
    e-book-query.c                  \
    e-book-view-listener.c              \
    e-book-view.c                   \
    e-book-listener.c               \
    e-book.c                    \
    e-book-async.c                  \
    e-contact.c                 \
    e-vcard.c

libebook_la_LIBADD =                    \
    $(top_builddir)/libversit/libversit.la      \
    $(top_builddir)/e-util/ename/libename.la    \
    $(top_builddir)/e-util/libeutil.la

libebookincludedir = $(privincludedir)/ebook

libebookinclude_HEADERS =               \
    e-book-query.h                  \
    e-book-view-listener.h              \
    e-book-view.h                   \
    e-book-types.h                  \
    e-book-listener.h               \
    e-book.h                    \
    e-contact.h                 \
    e-vcard.h

MARSHAL_GENERATED = e-book-marshal.c e-book-marshal.h
@EVO_MARSHAL_RULE@

BUILT_SOURCES = $(CORBA_SOURCE) $(MARSHAL_GENERATED)
CLEANFILES    = $(BUILT_SOURCES)

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