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