aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/Makefile.am
blob: 17dbc62d7465dba088cc155227a32c89cc4e66d8 (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
INCLUDES =                              \
    -I$(top_srcdir)                         \
    -I$(top_srcdir)/a11y/widgets/                   \
    -DMAP_DIR=\""$(imagesdir)"\"                    \
    -DEVOLUTION_PRIVDATADIR=\""$(privdatadir)"\"            \
    -DG_LOG_DOMAIN=__FILE__                     \
    $(SOURCE_SEL_CFLAGS)

privlib_LTLIBRARIES =   \
    libemiscwidgets.la

widgetsincludedir = $(privincludedir)/widgets

widgetsinclude_HEADERS =            \
    e-activity-handler.h            \
    e-calendar.h                \
    e-calendar-item.h           \
    e-cell-date-edit.h          \
    e-cell-percent.h            \
    e-cell-renderer-combo.h         \
    e-charset-picker.h          \
    e-clipped-label.h           \
    e-combo-cell-editable.h         \
    e-config-page.h             \
    e-combo-button.h            \
    e-dateedit.h                \
    e-dropdown-button.h         \
    e-error.h               \
    e-expander.h                \
    e-image-chooser.h           \
    e-info-label.h              \
    e-map.h                 \
    e-multi-config-dialog.h         \
    e-search-bar.h              \
    e-source-option-menu.h          \
    e-source-selector.h         \
    e-task-bar.h                \
    e-task-widget.h             \
    e-title-bar.h               \
    e-url-entry.h

libemiscwidgets_la_SOURCES =            \
    $(MARSHAL_GENERATED)            \
    $(widgetsinclude_HEADERS)       \
    e-activity-handler.c            \
    e-calendar.c                \
    e-calendar-item.c           \
    e-cell-date-edit.c          \
    e-cell-percent.c            \
    e-cell-renderer-combo.c         \
    e-charset-picker.c          \
    e-clipped-label.c           \
    e-combo-cell-editable.c         \
    e-config-page.c             \
    e-combo-button.c            \
    e-dateedit.c                \
    e-dropdown-button.c         \
    e-error.c               \
    e-expander.c                \
    e-image-chooser.c           \
    e-info-label.c              \
    e-map.c                 \
    e-multi-config-dialog.c         \
    e-search-bar.c              \
    e-source-option-menu.c          \
    e-source-selector.c         \
    e-task-bar.c                \
    e-task-widget.c             \
    e-title-bar.c               \
    e-url-entry.c

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

error_DATA = e-system-errors.xml
error_i18n = $(error_DATA:.xml=.xml.h)
errordir = $(privdatadir)/errors
%.xml.h: %.xml
    $(top_builddir)/e-util/e-error-tool $^

libemiscwidgets_la_LIBADD = $(top_builddir)/e-util/libeutil.la      \
    $(top_builddir)/a11y/widgets/libevolution-widgets-a11y.la   \
    $(SOURCE_SEL_LIBS)

noinst_LTLIBRARIES = libefilterbar.la

libefilterbar_la_SOURCES =  \
    e-filter-bar.c      \
    e-filter-bar.h

noinst_PROGRAMS =           \
    test-calendar           \
    test-dateedit           \
    test-dropdown-button        \
    test-error          \
    test-multi-config-dialog    \
    test-source-option-menu     \
    test-source-selector        \
    test-title-bar

# test-calendar

test_calendar_SOURCES =     \
    test-calendar.c

test_calendar_LDADD =                       \
    ./libemiscwidgets.la                    \
    $(top_builddir)/e-util/libeutil.la          \
    $(GNOME_FULL_LIBS)

# test-dateedit

test_dateedit_SOURCES =     \
    test-dateedit.c

test_dateedit_LDADD =           \
    ./libemiscwidgets.la        \
    $(top_builddir)/e-util/libeutil.la  \
    $(GNOME_FULL_LIBS)

# test-dropdown-button

test_dropdown_button_SOURCES =  \
    test-dropdown-button.c

test_dropdown_button_LDADD =    \
    ./libemiscwidgets.la    \
    $(top_builddir)/e-util/libeutil.la  \
    $(GNOME_FULL_LIBS)

# test-multi-config-dialog

test_multi_config_dialog_SOURCES =  \
    test-multi-config-dialog.c

test_multi_config_dialog_LDADD =    \
    ./libemiscwidgets.la        \
    $(top_builddir)/e-util/libeutil.la  \
    $(GNOME_FULL_LIBS)

# test-title-bar

test_title_bar_SOURCES =    \
    test-title-bar.c

test_title_bar_LDADD =      \
    ./libemiscwidgets.la    \
    $(top_builddir)/e-util/libeutil.la  \
    $(GNOME_FULL_LIBS)

# test-source-selector

test_source_selector_SOURCES =          \
    test-source-selector.c

test_source_selector_LDADD =            \
    $(top_builddir)/e-util/libeutil.la  \
    ./libemiscwidgets.la            \
    $(SOURCE_SEL_LIBS)


# test-source-option-menu

test_source_option_menu_SOURCES =       \
    test-source-option-menu.c

test_source_option_menu_LDADD =         \
    $(top_builddir)/e-util/libeutil.la  \
    ./libemiscwidgets.la            \
    $(SOURCE_SEL_LIBS)

test_error_SOURCES =    \
    test-error.c

test_error_LDADD =              \
    $(top_builddir)/e-util/libeutil.la  \
    ./libemiscwidgets.la            \
    $(GNOME_FULL_LIBS)


BUILT_SOURCES = $(MARSHAL_GENERATED) $(error_i18n)
CLEANFILES    = $(BUILT_SOURCES)

EXTRA_DIST =            \
    $(error_DATA)       \
    $(error_i18n)       \
    e-util-marshal.list \
    ChangeLog.pre-1-4

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