aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/Makefile.am
blob: 66aa442a3f50f618845b7523e20b6d44417b521a (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
# FIXME we use the EClippedLabel widget from EShortcutBar.  Probably
# it should be moved somewhere else.

INCLUDES =                      \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/widgets/shortcut-bar        \
    -DMAP_DIR=\""$(datadir)/evolution/images"\" \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"      \
    -DG_LOG_DOMAIN=__FILE__             \
    $(GNOME_FULL_CFLAGS)

privlib_LIBRARIES = \
    libemiscwidgets.a

widgetsincludedir = $(includedir)/evolution/widgets

widgetsinclude_HEADERS =    \
    e-calendar.h        \
    e-calendar-item.h   \
    e-cell-date-edit.h  \
    e-cell-percent.h    \
    e-charset-picker.h  \
    e-clipped-label.h   \
    e-config-page.h     \
    e-combo-button.h    \
    e-dateedit.h        \
    e-dropdown-button.h \
    e-map.h         \
    e-messagebox.h      \
    e-multi-config-dialog.h \
    e-search-bar.h      \
    e-title-bar.h       \
    e-url-entry.h

libemiscwidgets_a_SOURCES =     \
    $(widgetsinclude_HEADERS) \
    e-calendar.c        \
    e-calendar-item.c   \
    e-cell-date-edit.c  \
    e-cell-percent.c    \
    e-charset-picker.c  \
    e-clipped-label.c   \
    e-config-page.c     \
    e-combo-button.c    \
    e-dateedit.c        \
    e-dropdown-button.c \
    e-map.c         \
    e-messagebox.c      \
    e-multi-config-dialog.c \
    e-search-bar.c      \
    e-title-bar.c       \
    e-url-entry.c       \
    e-util-marshal.c

# GLib marshalling cruft

e-util-marshal.h: e-util-marshal.list
    ( @GLIB_GENMARSHAL@ --prefix=e_util_marshal e-util-marshal.list --header > e-util-marshal.tmp \
    && mv e-util-marshal.tmp e-util-marshal.h ) \
    || ( rm -f e-util-marshal.tmp && exit 1 )

e-util-marshal.c: e-util-marshal.h
    ( @GLIB_GENMARSHAL@ --prefix=e_util_marshal e-util-marshal.list --body > e-util-marshal.tmp \
    && mv e-util-marshal.tmp e-util-marshal.c ) \
    || ( rm -f e-util-marshal.tmp && exit 1 )

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

libemiscwidgets_a_LIBADD = $(top_builddir)/e-util/libeutil.la

noinst_LIBRARIES = libefilterbar.a

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

noinst_PROGRAMS =           \
    test-calendar           \
    test-dateedit           \
    test-dropdown-button        \
    test-multi-config-dialog    \
    test-title-bar

# test-calendar

test_calendar_SOURCES =     \
    test-calendar.c

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

# test-dateedit

test_dateedit_SOURCES =     \
    test-dateedit.c

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

# test-dropdown-button

test_dropdown_button_SOURCES =  \
    test-dropdown-button.c

test_dropdown_button_LDADD =    \
    ./libemiscwidgets.a \
    $(GNOME_FULL_LIBS)

# test-multi-config-dialog

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

test_multi_config_dialog_LDADD =    \
    ./libemiscwidgets.a     \
    $(GNOME_FULL_LIBS)

# test-title-bar

test_title_bar_SOURCES =    \
    test-title-bar.c

test_title_bar_LDADD =      \
    ./libemiscwidgets.a \
    $(GNOME_FULL_LIBS)


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

EXTRA_DIST = e-book-marshal.list