aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/Makefile.am
blob: 4f85b3bfd0020d03411d71cd7922d6410f5f1bcb (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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
eutilincludedir = $(privincludedir)/e-util
econdincludedir = $(privincludedir)/e-conduit
ecpsdir = $(privdatadir)/ecps
ruledir = $(privdatadir)

if OS_WIN32
PLATFORM_SOURCES = e-win32-reloc.c
endif

privsolib_LTLIBRARIES = libeutil.la libeconduit.la

eutilinclude_HEADERS =              \
    e-account-utils.h           \
    e-activity.h                \
    e-alert.h               \
    e-alert-activity.h          \
    e-alert-dialog.h            \
    e-binding.h             \
    e-bit-array.h               \
    e-categories-config.h           \
    e-charset.h             \
    e-config.h              \
    e-datetime-format.h         \
    e-dialog-utils.h            \
    e-dialog-widgets.h          \
    e-event.h               \
    e-extensible.h              \
    e-extension.h               \
    e-file-utils.h              \
    e-html-utils.h              \
    e-icon-factory.h            \
    e-import.h              \
    e-io-activity.h             \
    e-logger.h              \
    e-marshal.h             \
    e-mktemp.h              \
    e-module.h              \
    e-non-intrusive-error-dialog.h      \
    e-poolv.h               \
    e-print.h               \
    e-plugin.h              \
    e-plugin-ui.h               \
    e-plugin-util.h             \
    e-profile-event.h           \
    e-selection.h               \
    e-signature.h               \
    e-signature-list.h          \
    e-signature-utils.h         \
    e-sorter.h              \
    e-sorter-array.h            \
    e-text-event-processor-emacs-like.h \
    e-text-event-processor-types.h      \
    e-text-event-processor.h        \
    e-timeout-activity.h            \
    e-ui-manager.h              \
    e-util.h                \
    e-unicode.h             \
    e-xml-utils.h               \
    gconf-bridge.h

libeutil_la_CPPFLAGS =                          \
    $(AM_CPPFLAGS)                          \
    -I$(top_srcdir)                         \
    -I$(top_builddir)                       \
    -I$(top_srcdir)/widgets                     \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"                \
    -DEVOLUTION_ECPSDIR=\""$(ecpsdir)"\"                \
    -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\"            \
    -DEVOLUTION_GALVIEWSDIR=\""$(viewsdir)"\"           \
    -DEVOLUTION_HELPDIR=\""$(evolutionhelpdir)"\"           \
    -DEVOLUTION_ICONDIR=\""$(icondir)"\"                \
    -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\"            \
    -DEVOLUTION_LIBDIR=\""$(datadir)"\"             \
    -DEVOLUTION_LIBEXECDIR=\""$(privlibexecdir)"\"          \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"            \
    -DEVOLUTION_MODULEDIR=\""$(moduledir)"\"        \
    -DEVOLUTION_PLUGINDIR=\""$(plugindir)"\"            \
    -DEVOLUTION_PREFIX=\""$(prefix)"\"              \
    -DEVOLUTION_PRIVDATADIR=\""$(privdatadir)"\"            \
    -DEVOLUTION_SOUNDDIR=\""$(soundsdir)"\"             \
    -DEVOLUTION_SYSCONFDIR=\""$(sysconfdir)"\"          \
    -DEVOLUTION_TOOLSDIR=\""$(privlibexecdir)"\"            \
    -DEVOLUTION_UIDIR=\""$(uidir)"\"                \
    -DEVOLUTION_RULEDIR=\"$(ruledir)\"              \
    -DG_LOG_DOMAIN=\"e-utils\"                  \
    $(GNOME_PLATFORM_CFLAGS)                    \
    $(GNOME_PILOT_CFLAGS)                       \
    $(E_UTIL_CFLAGS)

libeutil_la_SOURCES =               \
    $(eutilinclude_HEADERS)         \
    e-account-utils.c           \
    e-activity.c                \
    e-alert.c               \
    e-alert-activity.c          \
    e-alert-dialog.c            \
    e-binding.c             \
    e-bit-array.c               \
    e-categories-config.c           \
    e-charset.c             \
    e-config.c              \
    e-datetime-format.c         \
    e-dialog-utils.c            \
    e-dialog-widgets.c          \
    e-event.c               \
    e-extensible.c              \
    e-extension.c               \
    e-file-utils.c              \
    e-html-utils.c              \
    e-icon-factory.c            \
    e-import.c              \
    e-io-activity.c             \
    e-logger.c              \
    e-marshal.c             \
    e-mktemp.c              \
    e-module.c              \
    e-non-intrusive-error-dialog.c      \
    e-poolv.c               \
    e-plugin.c              \
    e-plugin-ui.c               \
    e-plugin-util.c             \
    e-print.c               \
    e-profile-event.c           \
    e-selection.c               \
    e-signature.c               \
    e-signature-list.c          \
    e-signature-utils.c         \
    e-sorter.c              \
    e-sorter-array.c            \
    e-text-event-processor-emacs-like.c \
    e-text-event-processor.c        \
    e-timeout-activity.c            \
    e-ui-manager.c              \
    e-util.c                \
    e-unicode.c             \
    e-util-private.h            \
    e-xml-utils.c               \
    gconf-bridge.c              \
    $(PLATFORM_SOURCES)

MARSHAL_GENERATED = e-marshal.c e-marshal.h
@EVO_MARSHAL_RULE@

libeutil_la_LDFLAGS = $(NO_UNDEFINED)

libeutil_la_LIBADD =        \
    $(ICONV_LIBS)       \
    $(E_UTIL_LIBS)      \
    $(GNOME_PILOT_LIBS) \
    $(GNOME_PLATFORM_LIBS)  \
    $(INTLLIBS)

econdinclude_HEADERS =      \
    e-pilot-map.h       \
    e-pilot-util.h

pilot_sources = \
    $(econdinclude_HEADERS) \
    e-pilot-map.c       \
    e-pilot-util.c

if ENABLE_PILOT_CONDUITS
pilot_compile = $(pilot_sources)
else
pilot_compile = e-html-utils.c
endif

libeconduit_la_CPPFLAGS =                           \
    $(AM_CPPFLAGS)                          \
    -I$(top_srcdir)                         \
    -I$(top_builddir)                       \
    -I$(top_srcdir)/widgets                     \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"                \
    -DEVOLUTION_ECPSDIR=\""$(ecpsdir)"\"                \
    -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\"            \
    -DEVOLUTION_GALVIEWSDIR=\""$(viewsdir)"\"           \
    -DEVOLUTION_HELPDIR=\""$(evolutionhelpdir)"\"           \
    -DEVOLUTION_ICONDIR=\""$(icondir)"\"                \
    -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\"            \
    -DEVOLUTION_LIBDIR=\""$(datadir)"\"             \
    -DEVOLUTION_LIBEXECDIR=\""$(privlibexecdir)"\"          \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"            \
    -DEVOLUTION_PLUGINDIR=\""$(plugindir)"\"            \
    -DEVOLUTION_PREFIX=\""$(prefix)"\"              \
    -DEVOLUTION_PRIVDATADIR=\""$(privdatadir)"\"            \
    -DEVOLUTION_SOUNDDIR=\""$(soundsdir)"\"             \
    -DEVOLUTION_SYSCONFDIR=\""$(sysconfdir)"\"          \
    -DEVOLUTION_TOOLSDIR=\""$(privlibexecdir)"\"            \
    -DEVOLUTION_UIDIR=\""$(uidir)"\"                \
    -DEVOLUTION_RULEDIR=\"$(ruledir)\"              \
    -DG_LOG_DOMAIN=\"e-utils\"                  \
    $(GNOME_PILOT_CFLAGS)                       \
    $(E_UTIL_CFLAGS)

libeconduit_la_SOURCES = $(pilot_compile)

libeconduit_la_LDFLAGS = $(NO_UNDEFINED)

libeconduit_la_LIBADD = $(E_UTIL_LIBS)  $(GNOME_PILOT_LIBS)

error_DATA = e-system.error
errordir = $(privdatadir)/errors
@EVO_PLUGIN_RULE@

EXTRA_DIST =                \
    e-system.error.xml      \
    $(pilot_sources)        \
    e-marshal.list

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

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

-include $(top_srcdir)/git.mk