aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/Makefile.am
blob: e59d90cf500ee7e1c4490e74b44a040f70610e8b (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
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)/widgets/e-table         \
    -I$(top_builddir)/shell             \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"      \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"        \
    -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\"    \
    -DEVOLUTION_UIDIR=\""$(evolutionuidir)\""   \
    -DG_LOG_DOMAIN=\"contact-editor\"       \
    -DG_DISABLE_DEPRECATED              \
    -DGTK_DISABLE_DEPRECATED            \
    -DLIBGNOME_DISABLE_DEPRECATED           \
    -DLIBGNOMEUI_DISABLE_DEPRECATED         \
    $(EVOLUTION_ADDRESSBOOK_CFLAGS)

noinst_LTLIBRARIES =                \
    libecontacteditor.la

libecontacteditor_la_SOURCES =          \
    e-contact-editor-address.c      \
    e-contact-editor-address.h      \
    e-contact-editor-fullname.c     \
    e-contact-editor-fullname.h     \
    e-contact-editor-marshal.c      \
    e-contact-editor.c          \
    e-contact-editor.h          \
    e-contact-save-as.c         \
    e-contact-save-as.h         \
    e-contact-quick-add.c           \
    e-contact-quick-add.h

# GLib marshalling cruft

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

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

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

glade_DATA =                \
    contact-editor.glade        \
    fulladdr.glade          \
    fullname.glade

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

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