aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/Makefile.am
blob: dc921223f209109b475ce38b1a994f2bac65fb06 (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
103
104
105
# CORBA stuff

idldir = $(datadir)/idl

idl_DATA = \
    Evolution-Addressbook-SelectNames.idl

IDL_GENERATED = \
    Evolution-Addressbook-SelectNames.h     \
    Evolution-Addressbook-SelectNames-common.c  \
    Evolution-Addressbook-SelectNames-skels.c   \
    Evolution-Addressbook-SelectNames-stubs.c

Evolution-Addressbook-SelectNames-impl.o: Evolution-Addressbook-SelectNames.h

$(IDL_GENERATED): $(idl_DATA)
    $(ORBIT_IDL) -I $(srcdir) $(IDL_INCLUDES) \
        $(srcdir)/Evolution-Addressbook-SelectNames.idl

serversdir = $(libdir)/bonobo/servers

server_in_files = GNOME_Evolution_Addressbook_SelectNames.server.in
servers_DATA = $(server_in_files:.server.in=.server)

@INTLTOOL_SERVER_RULE@

INCLUDES =                      \
    -DG_LOG_DOMAIN=\"evolution-addressbook\"    \
    -I$(top_srcdir)                 \
    -I$(top_builddir)               \
    -I$(top_srcdir)/shell               \
    -I$(top_builddir)/shell             \
    -I$(top_srcdir)/widgets/e-text          \
    -I$(top_srcdir)/widgets/e-table         \
    -I$(top_srcdir)/addressbook/gui/minicard    \
    -I$(top_srcdir)/addressbook/gui/widgets     \
    -I$(top_srcdir)/addressbook/contact-editor  \
    -I$(top_srcdir)/addressbook/backend     \
    -I$(top_builddir)/addressbook/backend       \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"      \
    -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\"    \
    -DEVOLUTION_ICONSDIR=\""$(iconsdir)"\"      \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"    \
    -DCAMEL_PROVIDERDIR=\""$(providerdir)"\"    \
    $(EVOLUTION_ADDRESSBOOK_CFLAGS)

lib_LTLIBRARIES = libeselectnames.la

libeselectnames_la_SOURCES =            \
    $(IDL_GENERATED)            \
    e-select-names-bonobo.c         \
    e-select-names-bonobo.h         \
    e-select-names-completion.c     \
    e-select-names-completion.h     \
    e-select-names-factory.c        \
    e-select-names-factory.h        \
    e-select-names-manager.c        \
    e-select-names-manager.h        \
    e-select-names-marshal.c        \
    e-select-names-model.c          \
    e-select-names-model.h          \
    e-select-names-popup.c          \
    e-select-names-popup.h          \
    e-select-names-table-model.c        \
    e-select-names-table-model.h        \
    e-select-names-text-model.c     \
    e-select-names-text-model.h     \
    e-select-names.c            \
    e-select-names.h            \
    e-simple-card-bonobo.c          \
    e-simple-card-bonobo.h

# GLib marshalling cruft

e-select-names-marshal.h: e-select-names-marshal.list
    ( @GLIB_GENMARSHAL@ --prefix=e_select_names_marshal e-select-names-marshal.list --header > e-select-names-marshal.tmp \
    && mv e-select-names-marshal.tmp e-select-names-marshal.h ) \
    || ( rm -f e-select-names-marshal.tmp && exit 1 )

e-select-names-marshal.c: e-select-names-marshal.h
    ( @GLIB_GENMARSHAL@ --prefix=e_select_names_marshal e-select-names-marshal.list --body > e-select-names-marshal.tmp \
    && mv e-select-names-marshal.tmp e-select-names-marshal.c ) \
    || ( rm -f e-select-names-marshal.tmp && exit 1 )

MARSHAL_GENERATED = e-select-names-marshal.c e-select-names-marshal.h

gladedir   = $(datadir)/evolution/glade
glade_DATA = select-names.glade

etspecdir   = $(datadir)/evolution/etspec
etspec_DATA = e-select-names.etspec

EXTRA_DIST =            \
    $(glade_DATA)       \
    $(server_in_files)  \
    $(servers_DATA)     \
    $(idl_DATA)     \
    $(etspec_DATA)      \
    e-select-names-marshal.list

BUILT_SOURCES = $(IDL_GENERATED) $(MARSHAL_GENERATED)
CLEANFILES = $(BUILT_SOURCES)

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