aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-list-editor/Makefile.am
blob: 32a08533d74142f4e796da7300b91630376466c1 (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
INCLUDES =                      \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/addressbook/            \
    -I$(top_srcdir)/addressbook/backend     \
    -I$(top_builddir)/addressbook/backend       \
    -I$(top_srcdir)/addressbook/gui/merging     \
    -I$(top_srcdir)/addressbook/gui/contact-editor  \
    -I$(top_builddir)/shell             \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"      \
    -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\"    \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"        \
    -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\"    \
    -DEVOLUTION_UIDIR=\""$(evolution_uidir)\""  \
    -DG_LOG_DOMAIN=\"contact-list-editor\"      \
    -DG_DISABLE_DEPRECATED              \
    -DGTK_DISABLE_DEPRECATED            \
    -DLIBGNOME_DISABLE_DEPRECATED           \
    -DLIBGNOMEUI_DISABLE_DEPRECATED         \
    $(EVOLUTION_ADDRESSBOOK_CFLAGS)

noinst_LTLIBRARIES =                \
    libecontactlisteditor.la

libecontactlisteditor_la_SOURCES =      \
    e-contact-list-editor.c         \
    e-contact-list-editor.h         \
    e-contact-list-editor-marshal.c     \
    e-contact-list-model.c          \
    e-contact-list-model.h

# GLib marshalling cruft

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

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

MARSHAL_GENERATED = e-contact-list-editor-marshal.c e-contact-list-editor-marshal.h


glade_DATA  = contact-list-editor.glade
etspec_DATA = e-contact-list-editor.etspec

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

EXTRA_DIST = $(glade_DATA)  \
         $(etspec_DATA) \
         e-contact-list-editor-marshal.list