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