aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/Makefile.am
blob: aa9d26e067d2a79b2deb62791cdbd7067eaec685 (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
INCLUDES =                                      \
    -DG_LOG_DOMAIN=\"e-minicard\"           \
    -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\"    \
    -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\"    \
    -DEVOLUTION_GALVIEWSDIR=\""$(viewsdir)"\"   \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/addressbook/backend     \
    -I$(top_builddir)/addressbook/backend       \
    -I$(top_srcdir)/addressbook/gui/contact-editor  \
    -I$(top_srcdir)/addressbook/gui/merging     \
    -I$(top_srcdir)/addressbook/gui/component   \
    -I$(top_srcdir)/widgets/misc            \
    -I$(top_builddir)/shell             \
    -DG_DISABLE_DEPRECATED              \
    -DGTK_DISABLE_DEPRECATED            \
    -DLIBGNOME_DISABLE_DEPRECATED           \
    -DLIBGNOMEUI_DISABLE_DEPRECATED         \
    $(EVOLUTION_ADDRESSBOOK_CFLAGS)

CORBA_COMPOSER_SOURCE_H =           \
    Evolution-Composer.h
CORBA_COMPOSER_SOURCE_C =           \
    Evolution-Composer-common.c     \
    Evolution-Composer-skels.c      \
    Evolution-Composer-stubs.c
CORBA_COMPOSER_IDL = $(srcdir)/../../../composer/Evolution-Composer.idl

$(CORBA_COMPOSER_SOURCE_H): $(CORBA_COMPOSER_IDL)
    $(ORBIT_IDL) -I $(srcdir) $(IDL_INCLUDES) $(CORBA_COMPOSER_IDL)

$(CORBA_COMPOSER_SOURCE_C): $(CORBA_COMPOSER_SOURCE_H)

CORBA_SOURCE_H = $(CORBA_COMPOSER_SOURCE_H)
CORBA_SOURCE_C = $(CORBA_COMPOSER_SOURCE_C)
CORBA_SOURCE = $(CORBA_SOURCE_H) $(CORBA_SOURCE_C)

noinst_LIBRARIES =              \
    libeminicard.a

libeminicard_a_SOURCES =            \
    $(CORBA_SOURCE)             \
    e-addressbook-marshal.c         \
    e-addressbook-reflow-adapter.c      \
    e-addressbook-reflow-adapter.h      \
    e-addressbook-table-adapter.c       \
    e-addressbook-table-adapter.h       \
    e-addressbook-model.c           \
    e-addressbook-model.h           \
    e-addressbook-util.c            \
    e-addressbook-util.h            \
    e-addressbook-view.c            \
    e-addressbook-view.h            \
    e-minicard-control.c            \
    e-minicard-control.h            \
    e-minicard-label.c          \
    e-minicard-label.h          \
    e-minicard-view-widget.c        \
    e-minicard-view-widget.h        \
    e-minicard-view.c           \
    e-minicard-view.h           \
    e-minicard-widget.c         \
    e-minicard-widget.h         \
    e-minicard.c                \
    e-minicard.h                \
    gal-view-factory-minicard.c     \
    gal-view-factory-minicard.h     \
    gal-view-minicard.c         \
    gal-view-minicard.h

#TREEVIEW_SOURCES=  e-addressbook-treeview-adapter.c    \
#           e-addressbook-treeview-adapter.h    \
#           gal-view-factory-treeview.c     \
#           gal-view-factory-treeview.h     \
#           gal-view-treeview.c         \
#           gal-view-treeview.h

# GLib marshalling cruft

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

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

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

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

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

#noinst_PROGRAMS =              \
#    minicard-widget-test           \
#    minicard-label-test            \
#    minicard-test
##  reflow-test
##  minicard-view-test
#
#minicard_label_test_SOURCES =  \
#    test-minicard-label.c
#
#minicard_label_test_LDADD =                \
#    libeminicard.a                 \
#    $(EVOLUTION_ADDRESSBOOK_LIBS)          \
#    $(top_builddir)/e-util/libeutil.la
#
#minicard_test_SOURCES =    \
#    test-minicard.c
#
#minicard_test_LDADD =                          \
#    libeminicard.a                         \
#    $(top_builddir)/addressbook/backend/ebook/libebook.la      \
#    $(top_builddir)/addressbook/gui/contact-editor/libecontacteditor.a \
#    $(top_builddir)/addressbook/gui/contact-list-editor/libecontactlisteditor.a \
#    $(top_builddir)/addressbook/printing/libecontactprint.a        \
#    $(top_builddir)/addressbook/gui/merging/libecardmerging.a  \
#    $(top_builddir)/widgets/misc/libemiscwidgets.la            \
#    $(top_builddir)/addressbook/gui/component/select-names/libeselectnames.la  \
#   $(EVOLUTION_ADDRESSBOOK_LIBS)                   \
#    libeminicard.a
#
#reflow_test_SOURCES =  \
#    test-reflow.c
#
#reflow_test_LDADD =                            \
#    libeminicard.a                         \
#    $(top_builddir)/addressbook/backend/ebook/libebook.la      \
#    $(top_builddir)/addressbook/contact-editor/libecontacteditor.a \
#    $(top_builddir)/addressbook/printing/libecontactprint.a        \
#    $(top_builddir)/widgets/misc/libemiscwidgets.la            \
#   $(EVOLUTION_ADDRESSBOOK_LIBS)

#minicard_view_test_SOURCES =   \
#   test-minicard-view.c

#minicard_view_test_LDADD =                     \
#   $(EVOLUTION_ADDRESSBOOK_LIBS)
#   libeminicard.a                          \
#   $(top_builddir)/addressbook/backend/ebook/libebook.la       \
#   $(top_builddir)/addressbook/contact-editor/libecontacteditor.a  \
#   $(top_builddir)/addressbook/printing/libecontactprint.a     \
#   $(top_builddir)/widgets/misc/libemiscwidgets.la
#
#minicard_widget_test_SOURCES =     \
#    e-minicard-widget-test.c
#
#minicard_widget_test_LDADD =                       \
#    libeminicard.a                         \
#    $(top_builddir)/addressbook/backend/ebook/libebook.la      \
#    $(top_builddir)/addressbook/gui/contact-editor/libecontacteditor.a \
#    $(top_builddir)/addressbook/gui/contact-list-editor/libecontactlisteditor.a \
#    $(top_builddir)/addressbook/gui/component/select-names/libeselectnames.la  \
#    $(top_builddir)/addressbook/printing/libecontactprint.a        \
#    $(top_builddir)/widgets/misc/libemiscwidgets.la            \
#    $(top_builddir)/addressbook/gui/merging/libecardmerging.a  \
#   $(EVOLUTION_ADDRESSBOOK_LIBS)

etspec_DATA= e-addressbook-view.etspec

EXTRA_DIST =            \
    $(etspec_DATA)      \
    e-addressbook-marshal.list