]> git.sur5r.net Git - glabels/blob - src/Makefile.am
Theme friendly, glabels specific, action icons.
[glabels] / src / Makefile.am
1
2 SUBDIRS= ../libglabels pixmaps
3
4 bin_PROGRAMS = glabels-3 glabels-3-batch
5
6 INCLUDES = \
7         -I$(top_builddir)/libglabels                            \
8         $(GLABELS_CFLAGS)                                       \
9         $(LIBEBOOK_CFLAGS)                                      \
10         $(LIBBARCODE_CFLAGS)                                    \
11         $(LIBZINT_CFLAGS)                                       \
12         $(LIBQRENCODE_CFLAGS)                                   \
13         $(LIBIEC16022_CFLAGS)                                   \
14         $(DISABLE_DEPRECATED_CFLAGS)                            \
15         -DGLABELS_LOCALE_DIR=\""$(datadir)/locale"\"            \
16         -DGLABELS_DATA_DIR=\""$(datadir)/$(GLABELS_BRANCH)"\"   \
17         -DGLABELS_ICON_NAME=\""$(GLABELS_BRANCH)\""             \
18         -DG_LOG_DOMAIN=\""glabels\""
19
20 glabels_3_LDFLAGS = -export-dynamic
21
22 glabels_3_LDADD =                               \
23         $(GLABELS_LIBS)                         \
24         ../libglabels/$(LIBGLABELS_BRANCH).la   \
25         $(LIBEBOOK_LIBS)                        \
26         $(LIBBARCODE_LIBS)                      \
27         $(LIBZINT_LIBS)                         \
28         $(LIBQRENCODE_LIBS)                     \
29         $(LIBIEC16022_LIBS)                     \
30         -lm
31
32 glabels_3_batch_LDFLAGS = -export-dynamic
33
34 glabels_3_batch_LDADD =                         \
35         $(GLABELS_LIBS)                         \
36         ../libglabels/$(LIBGLABELS_BRANCH).la   \
37         $(LIBEBOOK_LIBS)                        \
38         $(LIBBARCODE_LIBS)                      \
39         $(LIBZINT_LIBS)                         \
40         $(LIBQRENCODE_LIBS)                     \
41         $(LIBIEC16022_LIBS)                     \
42         -lm
43
44 BUILT_SOURCES =                         \
45         marshal.c                       \
46         marshal.h                       
47
48 glabels_3_SOURCES =                     \
49         glabels.c                       \
50         warning-handler.c               \
51         warning-handler.h               \
52         critical-error-handler.c        \
53         critical-error-handler.h        \
54         window.c                        \
55         window.h                        \
56         ui.h                            \
57         ui.c                            \
58         ui-util.h                       \
59         ui-util.c                       \
60         ui-commands.h                   \
61         ui-commands.c                   \
62         ui-property-bar.h               \
63         ui-property-bar.c               \
64         ui-sidebar.h                    \
65         ui-sidebar.c                    \
66         file.h                          \
67         file.c                          \
68         file-util.h                     \
69         file-util.c                     \
70         new-label-dialog.h              \
71         new-label-dialog.c              \
72         recent.h                        \
73         recent.c                        \
74         prefs.c                         \
75         prefs.h                         \
76         prefs-model.c                   \
77         prefs-model.h                   \
78         prefs-dialog.c                  \
79         prefs-dialog.h                  \
80         view.c                          \
81         view.h                          \
82         view-box.c                      \
83         view-box.h                      \
84         view-ellipse.c                  \
85         view-ellipse.h                  \
86         view-line.c                     \
87         view-line.h                     \
88         view-image.c                    \
89         view-image.h                    \
90         view-text.c                     \
91         view-text.h                     \
92         view-barcode.c                  \
93         view-barcode.h                  \
94         merge-properties-dialog.c       \
95         merge-properties-dialog.h       \
96         object-editor.c                 \
97         object-editor.h                 \
98         object-editor-private.h         \
99         object-editor-position-page.c   \
100         object-editor-size-page.c       \
101         object-editor-lsize-page.c      \
102         object-editor-line-page.c       \
103         object-editor-fill-page.c       \
104         object-editor-image-page.c      \
105         object-editor-text-page.c       \
106         object-editor-edit-page.c       \
107         object-editor-bc-page.c         \
108         object-editor-data-page.c       \
109         object-editor-shadow-page.c     \
110         print.c                         \
111         print.h                         \
112         print-op.c                      \
113         print-op.h                      \
114         print-op-dialog.c               \
115         print-op-dialog.h               \
116         template-designer.c             \
117         template-designer.h             \
118         bc.c                            \
119         bc.h                            \
120         bc-backends.c                   \
121         bc-backends.h                   \
122         bc-gnubarcode.c                 \
123         bc-gnubarcode.h                 \
124         bc-zint.c                       \
125         bc-zint.h                       \
126         bc-postnet.c                    \
127         bc-postnet.h                    \
128         bc-iec16022.c                   \
129         bc-iec16022.h                   \
130         bc-iec18004.c                   \
131         bc-iec18004.h                   \
132         label.c                         \
133         label.h                         \
134         label-object.c                  \
135         label-object.h                  \
136         label-text.c                    \
137         label-text.h                    \
138         label-box.c                     \
139         label-box.h                     \
140         label-line.c                    \
141         label-line.h                    \
142         label-ellipse.c                 \
143         label-ellipse.h                 \
144         label-image.c                   \
145         label-image.h                   \
146         label-barcode.c                 \
147         label-barcode.h                 \
148         pixbuf-util.c                   \
149         pixbuf-util.h                   \
150         xml-label.c                     \
151         xml-label.h                     \
152         xml-label-04.c                  \
153         xml-label-04.h                  \
154         pixbuf-cache.c                  \
155         pixbuf-cache.h                  \
156         svg-cache.c                     \
157         svg-cache.h                     \
158         merge.c                         \
159         merge.h                         \
160         merge-init.c                    \
161         merge-init.h                    \
162         merge-text.c                    \
163         merge-text.h                    \
164         merge-evolution.c               \
165         merge-evolution.h               \
166         merge-vcard.c                   \
167         merge-vcard.h                   \
168         text-node.c                     \
169         text-node.h                     \
170         mini-preview-pixbuf.c           \
171         mini-preview-pixbuf.h           \
172         mini-preview-pixbuf-cache.c     \
173         mini-preview-pixbuf-cache.h     \
174         media-select.c                  \
175         media-select.h                  \
176         message-bar.c                   \
177         message-bar.h                   \
178         template-history.c              \
179         template-history.h              \
180         template-history-model.c        \
181         template-history-model.h        \
182         mini-preview.c                  \
183         mini-preview.h                  \
184         mini-label-preview.c            \
185         mini-label-preview.h            \
186         wdgt-chain-button.c             \
187         wdgt-chain-button.h             \
188         field-button.c                  \
189         field-button.h                  \
190         field-button-menu.c             \
191         field-button-menu.h             \
192         color-combo.c                   \
193         color-combo.h                   \
194         color-combo-button.c            \
195         color-combo-button.h            \
196         color-combo-menu.c              \
197         color-combo-menu.h              \
198         color-combo-color-menu-item.c   \
199         color-combo-color-menu-item.h   \
200         color-history-model.c           \
201         color-history-model.h           \
202         color-swatch.c                  \
203         color-swatch.h                  \
204         font-combo.c                    \
205         font-combo.h                    \
206         font-combo-menu.c               \
207         font-combo-menu.h               \
208         font-combo-menu-item.c          \
209         font-combo-menu-item.h          \
210         font-sample.c                   \
211         font-sample.h                   \
212         font-util.c                     \
213         font-util.h                     \
214         font-history.c                  \
215         font-history.h                  \
216         font-history-model.c            \
217         font-history-model.h            \
218         cairo-label-path.c              \
219         cairo-label-path.h              \
220         cairo-markup-path.c             \
221         cairo-markup-path.h             \
222         cairo-ellipse-path.c            \
223         cairo-ellipse-path.h            \
224         combo-util.c                    \
225         combo-util.h                    \
226         builder-util.c                  \
227         builder-util.h                  \
228         units-util.c                    \
229         units-util.h                    \
230         str-util.c                      \
231         str-util.h                      \
232         color.c                         \
233         color.h                         \
234         debug.c                         \
235         debug.h                         \
236         $(BUILT_SOURCES)
237
238
239 glabels_3_batch_SOURCES =               \
240         glabels-batch.c                 \
241         file-util.h                     \
242         file-util.c                     \
243         print.c                         \
244         print.h                         \
245         print-op.c                      \
246         print-op.h                      \
247         bc.c                            \
248         bc.h                            \
249         bc-backends.c                   \
250         bc-backends.h                   \
251         bc-gnubarcode.c                 \
252         bc-gnubarcode.h                 \
253         bc-zint.c                       \
254         bc-zint.h                       \
255         bc-postnet.c                    \
256         bc-postnet.h                    \
257         bc-iec16022.c                   \
258         bc-iec16022.h                   \
259         bc-iec18004.c                   \
260         bc-iec18004.h                   \
261         label.c                         \
262         label.h                         \
263         label-object.c                  \
264         label-object.h                  \
265         label-text.c                    \
266         label-text.h                    \
267         label-box.c                     \
268         label-box.h                     \
269         label-line.c                    \
270         label-line.h                    \
271         label-ellipse.c                 \
272         label-ellipse.h                 \
273         label-image.c                   \
274         label-image.h                   \
275         label-barcode.c                 \
276         label-barcode.h                 \
277         pixbuf-util.c                   \
278         pixbuf-util.h                   \
279         xml-label.c                     \
280         xml-label.h                     \
281         xml-label-04.c                  \
282         xml-label-04.h                  \
283         pixbuf-cache.c                  \
284         pixbuf-cache.h                  \
285         svg-cache.c                     \
286         svg-cache.h                     \
287         merge.c                         \
288         merge.h                         \
289         merge-init.c                    \
290         merge-init.h                    \
291         merge-text.c                    \
292         merge-text.h                    \
293         merge-evolution.c               \
294         merge-evolution.h               \
295         merge-vcard.c                   \
296         merge-vcard.h                   \
297         text-node.c                     \
298         text-node.h                     \
299         prefs.c                         \
300         prefs.h                         \
301         prefs-model.c                   \
302         prefs-model.h                   \
303         font-util.c                     \
304         font-util.h                     \
305         font-history.c                  \
306         font-history.h                  \
307         font-history-model.c            \
308         font-history-model.h            \
309         template-history.c              \
310         template-history.h              \
311         template-history-model.c        \
312         template-history-model.h        \
313         str-util.c                      \
314         str-util.h                      \
315         color.c                         \
316         color.h                         \
317         debug.c                         \
318         debug.h                         \
319         cairo-label-path.c              \
320         cairo-label-path.h              \
321         cairo-ellipse-path.c            \
322         cairo-ellipse-path.h            \
323         $(BUILT_SOURCES)
324
325 marshal.h: marshal.list $(GLIB_GENMARSHAL)
326         $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=gl_marshal > $@
327
328 marshal.c: marshal.list $(GLIB_GENMARSHAL)
329         $(AM_V_GEN) echo "#include \"marshal.h\"" > $@ && \
330         $(GLIB_GENMARSHAL) $< --body --prefix=gl_marshal >> $@
331
332 EXTRA_DIST = \
333         marshal.list                    
334
335 CLEANFILES = $(BUILT_SOURCES)
336
337 $(bin_PROGRAMS): ../libglabels/$(LIBGLABELS_BRANCH).la
338
339 ../libglabels/$(LIBGLABELS_BRANCH).la:
340         cd ../libglabels; $(MAKE)
341