aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/Makefile.am
blob: 68b10e53c20f2279b0c90b4c5d71da76b2b9ab69 (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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
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_LOCALEDIR=\""$(localedir)"\"        \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"                \
    -DPREFIX=\"$(prefix)\"                  \
    -DSYSCONFDIR=\""$(sysconfdir)"\"            \
    -DDATADIR=\""$(datadir)"\"              \
    -DLIBDIR=\""$(datadir)"\"               \
    -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_exe_sources = \
    main.c

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)

if ENABLE_SHLIB_COMPONENTS

lib_LTLIBRARIES = libevolution-executive-summary.la

libevolution_executive_summary_la_SOURCES = \
    $(summary_sources)

libevolution_executive_summary_la_LIBADD = \
    $(summary_libs)

else

libexec_PROGRAMS = evolution-executive-summary

evolution_executive_summary_SOURCES =       \
    $(summary_sources)          \
    $(summary_exe_sources)

evolution_executive_summary_LDADD =     \
    $(summary_libs)

endif

Locationdir = $(datadir)/evolution
Location_DATA = Locations


# .server files

server_in_files = GNOME_Evolution_Summary.server.in.in

serverdir = $(libdir)/bonobo/servers
server_DATA = $(server_in_files:.server.in.in=.server)
$(server_in_files:.server.in.in=.server.in): $(server_in_files)
    sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@

@INTLTOOL_SERVER_RULE@


# Glade

gladedir = $(datadir)/evolution/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 =                \
    $(summary_sources)      \
    $(summary_exe_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)