]> git.sur5r.net Git - glabels/blob - src/Makefile.am
Imported Upstream version 3.0.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         pixbuf-util.c                   \
156         pixbuf-util.h                   \
157         xml-label.c                     \
158         xml-label.h                     \
159         xml-label-04.c                  \
160         xml-label-04.h                  \
161         pixbuf-cache.c                  \
162         pixbuf-cache.h                  \
163         svg-cache.c                     \
164         svg-cache.h                     \
165         merge.c                         \
166         merge.h                         \
167         merge-init.c                    \
168         merge-init.h                    \
169         merge-text.c                    \
170         merge-text.h                    \
171         merge-evolution.c               \
172         merge-evolution.h               \
173         merge-vcard.c                   \
174         merge-vcard.h                   \
175         text-node.c                     \
176         text-node.h                     \
177         mini-preview-pixbuf.c           \
178         mini-preview-pixbuf.h           \
179         mini-preview-pixbuf-cache.c     \
180         mini-preview-pixbuf-cache.h     \
181         media-select.c                  \
182         media-select.h                  \
183         message-bar.c                   \
184         message-bar.h                   \
185         template-history.c              \
186         template-history.h              \
187         template-history-model.c        \
188         template-history-model.h        \
189         mini-preview.c                  \
190         mini-preview.h                  \
191         mini-label-preview.c            \
192         mini-label-preview.h            \
193         wdgt-chain-button.c             \
194         wdgt-chain-button.h             \
195         field-button.c                  \
196         field-button.h                  \
197         field-button-menu.c             \
198         field-button-menu.h             \
199         color-combo.c                   \
200         color-combo.h                   \
201         color-combo-button.c            \
202         color-combo-button.h            \
203         color-combo-menu.c              \
204         color-combo-menu.h              \
205         color-combo-color-menu-item.c   \
206         color-combo-color-menu-item.h   \
207         color-history-model.c           \
208         color-history-model.h           \
209         color-swatch.c                  \
210         color-swatch.h                  \
211         font-combo.c                    \
212         font-combo.h                    \
213         font-combo-menu.c               \
214         font-combo-menu.h               \
215         font-combo-menu-item.c          \
216         font-combo-menu-item.h          \
217         font-sample.c                   \
218         font-sample.h                   \
219         font-util.c                     \
220         font-util.h                     \
221         font-history.c                  \
222         font-history.h                  \
223         font-history-model.c            \
224         font-history-model.h            \
225         cairo-label-path.c              \
226         cairo-label-path.h              \
227         cairo-markup-path.c             \
228         cairo-markup-path.h             \
229         cairo-ellipse-path.c            \
230         cairo-ellipse-path.h            \
231         combo-util.c                    \
232         combo-util.h                    \
233         builder-util.c                  \
234         builder-util.h                  \
235         units-util.c                    \
236         units-util.h                    \
237         str-util.c                      \
238         str-util.h                      \
239         color.c                         \
240         color.h                         \
241         debug.c                         \
242         debug.h                         \
243         $(BUILT_SOURCES)
244
245
246 glabels_3_batch_SOURCES =               \
247         glabels-batch.c                 \
248         file-util.h                     \
249         file-util.c                     \
250         print.c                         \
251         print.h                         \
252         print-op.c                      \
253         print-op.h                      \
254         bc-backends.c                   \
255         bc-backends.h                   \
256         bc-builtin.c                    \
257         bc-builtin.h                    \
258         bc-gnubarcode.c                 \
259         bc-gnubarcode.h                 \
260         bc-zint.c                       \
261         bc-zint.h                       \
262         bc-iec16022.c                   \
263         bc-iec16022.h                   \
264         bc-iec18004.c                   \
265         bc-iec18004.h                   \
266         label.c                         \
267         label.h                         \
268         label-object.c                  \
269         label-object.h                  \
270         label-text.c                    \
271         label-text.h                    \
272         label-box.c                     \
273         label-box.h                     \
274         label-line.c                    \
275         label-line.h                    \
276         label-ellipse.c                 \
277         label-ellipse.h                 \
278         label-image.c                   \
279         label-image.h                   \
280         label-barcode.c                 \
281         label-barcode.h                 \
282         pixbuf-util.c                   \
283         pixbuf-util.h                   \
284         xml-label.c                     \
285         xml-label.h                     \
286         xml-label-04.c                  \
287         xml-label-04.h                  \
288         pixbuf-cache.c                  \
289         pixbuf-cache.h                  \
290         svg-cache.c                     \
291         svg-cache.h                     \
292         merge.c                         \
293         merge.h                         \
294         merge-init.c                    \
295         merge-init.h                    \
296         merge-text.c                    \
297         merge-text.h                    \
298         merge-evolution.c               \
299         merge-evolution.h               \
300         merge-vcard.c                   \
301         merge-vcard.h                   \
302         text-node.c                     \
303         text-node.h                     \
304         prefs.c                         \
305         prefs.h                         \
306         prefs-model.c                   \
307         prefs-model.h                   \
308         font-util.c                     \
309         font-util.h                     \
310         font-history.c                  \
311         font-history.h                  \
312         font-history-model.c            \
313         font-history-model.h            \
314         template-history.c              \
315         template-history.h              \
316         template-history-model.c        \
317         template-history-model.h        \
318         str-util.c                      \
319         str-util.h                      \
320         color.c                         \
321         color.h                         \
322         debug.c                         \
323         debug.h                         \
324         cairo-label-path.c              \
325         cairo-label-path.h              \
326         cairo-ellipse-path.c            \
327         cairo-ellipse-path.h            \
328         $(BUILT_SOURCES)
329
330 marshal.h: marshal.list $(GLIB_GENMARSHAL)
331         $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=gl_marshal > $@
332
333 marshal.c: marshal.list $(GLIB_GENMARSHAL)
334         $(AM_V_GEN) echo "#include \"marshal.h\"" > $@ && \
335         $(GLIB_GENMARSHAL) $< --body --prefix=gl_marshal >> $@
336
337 EXTRA_DIST = \
338         marshal.list                    
339
340 CLEANFILES = $(BUILT_SOURCES)
341
342 $(bin_PROGRAMS): ../libglabels/$(LIBGLABELS_BRANCH).la ../libglbarcode/$(LIBGLBARCODE_BRANCH).la
343
344 ../libglabels/$(LIBGLABELS_BRANCH).la:
345         cd ../libglabels; $(MAKE)
346
347 ../libglbarcode/$(LIBGLBARCODE_BRANCH).la:
348         cd ../libglbarcode; $(MAKE)
349