aboutsummaryrefslogtreecommitdiffstats
path: root/executive-summary/component/Makefile.am
blob: 1af1dd7df158ef66abbc157ffbaf0e77e7154bfd (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
bin_PROGRAMS =  evolution-executive-summary

INCLUDES = \
    -I$(top_srcdir)/widgets                 \
    -I$(top_srcdir)/widgets/e-text              \
    -I$(top_srcdir)                     \
    -I$(top_builddir)/shell                 \
    -I$(top_srcdir)/shell                   \
    -I$(top_builddir)/executive-summary         \
    -I$(top_srcdir)/executive-summary           \
    -I$(top_builddir)/executive-summary/evolution-services  \
    -I$(top_srcdir)/executive-summary/evolution-services    \
    $(EXTRA_GNOME_CFLAGS)                   \
    $(GNOME_VFS_CFLAGS)                 \
    $(UNICODE_CFLAGS)                   \
    $(GTKHTML_CFLAGS)                   \
    -DEVOLUTION_VERSION=\""$(VERSION)"\"            \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"          \
    -DEVOLUTION_ICONSDIR=\""$(iconsdir)"\"          \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"        \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"                \
    -DG_LOG_DOMAIN=\"evolution-executive-summary\"

COMPOSER_GENERATED = \
    Composer.h          \
    Composer-common.c       \
    Composer-skels.c        \
    Composer-stubs.c

Composer-impl.o: Composer.h

selectnamesdir = $(top_srcdir)/addressbook/gui/component/select-names

IDLS = \
    $(selectnamesdir)/Evolution-Addressbook-SelectNames.idl \
    $(top_srcdir)/composer/Evolution-Composer.idl       \
    $(top_srcdir)/composer/Composer.idl

$(COMPOSER_GENERATED): $(IDLS)
    $(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl `$(GNOME_CONFIG) --cflags idl` \
        $(top_srcdir)/composer/Composer.idl

evolution_executive_summary_SOURCES =       \
    $(COMPOSER_GENERATED)       \
    component-factory.c     \
    component-factory.h     \
    e-summary.c         \
    e-summary.h         \
    e-summary-callbacks.c       \
    e-summary-callbacks.h       \
    e-summary-factory.c     \
    e-summary-factory.h     \
    e-summary-prefs.c       \
    e-summary-prefs.h       \
    e-summary-url.c         \
    e-summary-url.h         \
    e-summary-util.c        \
    e-summary-util.h        \
    main.c

evolution_executive_summary_LDADD =                     \
    $(top_builddir)/shell/libeshell.a       \
    $(top_builddir)/widgets/misc/libemiscwidgets.a  \
    $(top_builddir)/e-util/libeutil.la      \
    $(top_builddir)/executive-summary/evolution-services/libevolution-services.la   \
    $(BONOBO_VFS_GNOME_LIBS)            \
    $(EXTRA_GNOME_LIBS)             \
    -lgal                       \
    $(GTKHTML_LIBS)                 \
    $(UNICODE_LIBS)

gladedir = $(datadir)/evolution/glade
glade_DATA = executive-summary-config.glade

if ENABLE_PURIFY
PLINK = $(LIBTOOL) --mode=link $(PURIFY) $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@

all-local: evolution-executive-summary.pure

evolution-executive-summary.pure: evolution-executive-summary
    @rm -f evolution-executive-summary.pure
    $(PLINK) $(evolution_executive_summary_OBJECTS) $(evolution_executive_summary_LDADD) $(LIBS)

endif

EXTRA_DIST = $(glade_DATA)
CLEANFILES += $(COMPOSER_GENERATED)
BUILT_SOURCES = $(COMPOSER_GENERATED)

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