aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/Makefile.am
blob: 5619e9ca84038a3e39617f38ed3abfe60f704712 (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
bin_PROGRAMS = test-card test-client

corbadir = $(sysconfdir)/CORBA/servers

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

idls =                          \
    ../idl/addressbook.idl

idl_flags = `$(GNOME_CONFIG) --cflags idl`

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

INCLUDES =                      \
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
    -DG_LOG_DOMAIN=\"EBook\"            \
    -I$(srcdir) -I$(top_srcdir)             \
    -I.                         \
    -I..                        \
    -I$(top_builddir)               \
        -I$(includedir)                                 \
        $(GNOME_INCLUDEDIR)

gnome_libs =                        \
    $(GNOME_LIBDIR)                 \
        $(GNOMEUI_LIBS)                 \
    $(GNOMEGNORBA_LIBS)             \
    $(INTLLIBS)

ebook_libs =                        \
    libebook.la                     \
    $(gnome_libs)

lib_LTLIBRARIES = libebook.la

libebook_la_SOURCES =                   \
    $(CORBA_SOURCE)                 \
    e-book-listener.c               \
    e-book.c                    \
    e-card-cursor.c                 \
    e-card.c

libebookincludedir = $(includedir)/backend

libebookinclude_HEADERS =               \
    e-book.h                    \
    e-book-listener.h               \
    e-card-cursor.h                 \
    e-card.h

test_client_SOURCES =                   \
    test-client.c

test_client_LDADD =                 \
    $(GTK_LIBS)                 \
    $(GNOME_LIBDIR)                 \
    $(GNOMEGNORBA_LIBS)             \
    $(INTLLIBS)                 \
    -lbonobo                    \
    $(ebook_libs)                   \
    $(top_builddir)/libversit/libversit.la

test_card_SOURCES =                 \
    test-card.c

test_card_LDADD =                   \
    $(GTK_LIBS)                 \
    $(GNOME_LIBDIR)                 \
    $(GNOMEGNORBA_LIBS)             \
    $(INTLLIBS)                 \
    -lbonobo                    \
    $(ebook_libs)                   \
    $(top_builddir)/libversit/libversit.la

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