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