aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/Makefile.am
blob: 0cb6e8ca027a0a0a5b1c15ad5df4831c9bb8bb2f (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
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           \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"          \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"            \
    -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\"        \
    -DEVOLUTION_BUTTONSDIR=\""$(buttonsdir)"\"      \
    -DEVOLUTION_UIDIR=\""$(evolutionuidir)"\"       \
    -DLOCATIONDIR=\""$(Locationdir)"\"          \
    -DG_LOG_DOMAIN=\"evolution-executive-summary\"      \
    $(EVOLUTION_EXECUTIVE_SUMMARY_CFLAGS)

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

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

$(MAIL_GENERATED): $(IDLS)
    $(ORBIT_IDL) -I $(srcdir) $(IDL_INCLUDES) $(top_srcdir)/mail/Mailer.idl

summary_sources =               \
    $(MAIL_GENERATED)           \
    component-factory.c         \
    component-factory.h         \
    e-cell-tri.c                \
    e-cell-tri.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-shown.c           \
    e-summary-shown.h           \
    e-summary-table.c           \
    e-summary-table.h           \
    e-summary-tasks.c           \
    e-summary-tasks.h           \
    e-summary-type.h            \
    e-summary-weather.c         \
    e-summary-weather.h         \
    metar.c                 \
    metar.h                 \
    my-evolution-html.h         \
    weather.h

summary_libs =                              \
    $(top_builddir)/calendar/gui/alarm-notify/libalarm.a        \
    $(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.a               \
    $(top_builddir)/libical/src/libical/libical-evolution.la    \
    $(top_builddir)/libwombat/libwombat.la              \
    $(EVOLUTION_EXECUTIVE_SUMMARY_LIBS)

component_LTLIBRARIES = libevolution-executive-summary.la
libevolution_executive_summary_la_SOURCES = $(summary_sources)
libevolution_executive_summary_la_LIBADD = $(summary_libs)
libevolution_executive_summary_la_LDFLAGS = -module -avoid-version 

Locationdir = $(privdatadir)
Location_DATA = Locations

# .server files

server_in_files = GNOME_Evolution_Summary.server.in.in

server_DATA = $(server_in_files:.server.in.in=.server)
$(server_in_files:.server.in.in=.server.in): $(server_in_files)
    sed -e "s|\@COMPONENTDIR\@|$(componentdir)|" $< > $@

@INTLTOOL_SERVER_RULE@


# Glade

glade_DATA = my-evolution.glade

# GConf schemas

schemadir   = $(GCONF_SCHEMA_FILE_DIR)
schema_DATA = apps_evolution_summary.schemas

install-data-local:
    if test -z "$(DESTDIR)" ; then \
        for p in $(schema_DATA) ; do \
            GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p; \
        done \
    fi

# Extra

EXTRA_DIST =                \
    $(schema_DATA)          \
    $(summary_sources)      \
    $(server_in_files)      \
    $(server_DATA)          \
    $(Location_DATA)        \
    $(glade_DATA)           \
    Locations.h         \
    Location-translation-script \
    check-empty.xpm         \
    check-filled.xpm        \
    check-none.xpm

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