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

INCLUDES = \
    -I$(top_srcdir)                     \
    -I$(top_srcdir)/shell                   \
    -I$(top_builddir)/shell                 \
    -I$(top_srcdir)/calendar                \
    -I$(top_builddir)/calendar/cal-client           \
    -I$(top_srcdir)/libical/src/libical         \
    -I$(top_builddir)/libical/src/libical           \
    $(EXTRA_GNOME_CFLAGS)                   \
    $(GNOME_VFS_CFLAGS)                 \
    $(GTKHTML_CFLAGS)                   \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"          \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"        \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"                \
    -DG_LOG_DOMAIN=\"evolution-executive-summary\"

IDLS =                              \
    $(top_srcdir)/mail/Mail.idl

MAIL_GENERATED =                        \
    Mail.h                          \
    Mail-common.c                       \
    Mail-skels.c                        \
    Mail-stubs.c

$(MAIL_GENERATED): $(IDLS)
    $(ORBIT_IDL) -I $(srcdir) `$(GNOME_CONFIG) --cflags idl` $(top_srcdir)/mail/Mail.idl

evolution_executive_summary_SOURCES =       \
    $(MAIL_GENERATED)           \
    component-factory.c     \
    component-factory.h     \
    e-summary.c         \
    e-summary.h         \
    e-summary-calendar.c        \
    e-summary-calendar.h        \
    e-summary-factory.c     \
    e-summary-factory.h     \
    e-summary-mail.c        \
    e-summary-mail.h        \
    e-summary-offline-handler.c \
    e-summary-offline-handler.h \
    e-summary-preferences.c     \
    e-summary-preferences.h     \
    e-summary-rdf.c         \
    e-summary-rdf.h         \
    e-summary-type.h        \
    e-summary-weather.c     \
    e-summary-weather.h     \
    main.c              \
    metar.c             \
    metar.h             \
    my-evolution-html.h     \
    weather.h

evolution_executive_summary_LDADD =                     \
    $(top_builddir)/shell/libeshell.la      \
    $(top_builddir)/widgets/misc/libemiscwidgets.a  \
    $(top_builddir)/e-util/libeutil.la      \
    $(top_builddir)/calendar/cal-client/libcal-client.la        \
    $(top_builddir)/calendar/cal-util/libcal-util.la        \
    $(top_builddir)/libversit/libversit.la      \
    $(top_builddir)/libical/src/libical/libical.la  \
    $(top_builddir)/libwombat/libwombat.la      \
    $(BONOBO_VFS_GNOME_LIBS)            \
    $(EXTRA_GNOME_LIBS)             \
    -lgal                       \
    $(GTKHTML_LIBS)

Locationdir = $(datadir)/evolution
Location_DATA = Locations

oafdir = $(datadir)/oaf
oaf_in_files = GNOME_Evolution_Summary.oaf.in
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)

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

@XML_I18N_MERGE_OAF_RULE@

EXTRA_DIST = $(oaf_in_files) $(oaf_DATA) $(Location_DATA) $(glade_DATA)

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

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