]> git.sur5r.net Git - glabels/blob - glabels2/src/Makefile.am
fa5161b8b6b7bdd758eb37d3ba159da2819e3b51
[glabels] / glabels2 / src / Makefile.am
1 LIB_BARCODE_DIR = ../barcode-0.98
2 LIB_IEC16022_DIR = ../iec16022-0.2.1
3 LIB_QRENCODE_DIR = ../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         new-label-dialog.h              \
72         new-label-dialog.c              \
73         recent.h                        \
74         recent.c                        \
75         prefs.c                         \
76         prefs.h                         \
77         prefs-model.c                   \
78         prefs-model.h                   \
79         prefs-dialog.c                  \
80         prefs-dialog.h                  \
81         hig.h                           \
82         view.c                          \
83         view.h                          \
84         view-object.c                   \
85         view-object.h                   \
86         view-box.c                      \
87         view-box.h                      \
88         view-ellipse.c                  \
89         view-ellipse.h                  \
90         view-line.c                     \
91         view-line.h                     \
92         view-image.c                    \
93         view-image.h                    \
94         view-text.c                     \
95         view-text.h                     \
96         view-barcode.c                  \
97         view-barcode.h                  \
98         merge-properties-dialog.c       \
99         merge-properties-dialog.h       \
100         object-editor.c                 \
101         object-editor.h                 \
102         object-editor-private.h         \
103         object-editor-position-page.c   \
104         object-editor-size-page.c       \
105         object-editor-lsize-page.c      \
106         object-editor-line-page.c       \
107         object-editor-fill-page.c       \
108         object-editor-image-page.c      \
109         object-editor-text-page.c       \
110         object-editor-edit-page.c       \
111         object-editor-bc-page.c         \
112         object-editor-data-page.c       \
113         object-editor-shadow-page.c     \
114         print.c                         \
115         print.h                         \
116         print-op.c                      \
117         print-op.h                      \
118         print-op-dialog.c               \
119         print-op-dialog.h               \
120         template-designer.c             \
121         template-designer.h             \
122         bc.c                            \
123         bc.h                            \
124         bc-gnubarcode.c                 \
125         bc-gnubarcode.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         xml-label.c                     \
149         xml-label.h                     \
150         xml-label-04.c                  \
151         xml-label-04.h                  \
152         pixbuf-cache.c                  \
153         pixbuf-cache.h                  \
154         merge.c                         \
155         merge.h                         \
156         merge-init.c                    \
157         merge-init.h                    \
158         merge-text.c                    \
159         merge-text.h                    \
160         merge-evolution.c               \
161         merge-evolution.h               \
162         merge-vcard.c                   \
163         merge-vcard.h                   \
164         text-node.c                     \
165         text-node.h                     \
166         mini-preview-pixbuf.c           \
167         mini-preview-pixbuf.h           \
168         mini-preview-pixbuf-cache.c     \
169         mini-preview-pixbuf-cache.h     \
170         wdgt-media-select.c             \
171         wdgt-media-select.h             \
172         mini-preview.c                  \
173         mini-preview.h                  \
174         mini-label-preview.c            \
175         mini-label-preview.h            \
176         rotate-label-button.c           \
177         rotate-label-button.h           \
178         wdgt-chain-button.c             \
179         wdgt-chain-button.h             \
180         wdgt-merge-menu.c               \
181         wdgt-merge-menu.h               \
182         color-combo.c                   \
183         color-combo.h                   \
184         color-combo-button.c            \
185         color-combo-button.h            \
186         color-combo-menu.c              \
187         color-combo-menu.h              \
188         color-combo-color-menu-item.c   \
189         color-combo-color-menu-item.h   \
190         color-combo-history.c           \
191         color-combo-history.h           \
192         color-swatch.c                  \
193         color-swatch.h                  \
194         font-combo.c                    \
195         font-combo.h                    \
196         font-combo-menu.c               \
197         font-combo-menu.h               \
198         font-combo-menu-item.c          \
199         font-combo-menu-item.h          \
200         font-sample.c                   \
201         font-sample.h                   \
202         font-util.c                     \
203         font-util.h                     \
204         cairo-label-path.c              \
205         cairo-label-path.h              \
206         cairo-markup-path.c             \
207         cairo-markup-path.h             \
208         cairo-ellipse-path.c            \
209         cairo-ellipse-path.h            \
210         util.c                          \
211         util.h                          \
212         color.c                         \
213         color.h                         \
214         debug.c                         \
215         debug.h                         \
216         $(BUILT_SOURCES)
217
218
219 glabels_batch_SOURCES =                 \
220         glabels-batch.c                 \
221         print.c                         \
222         print.h                         \
223         print-op.c                      \
224         print-op.h                      \
225         bc.c                            \
226         bc.h                            \
227         bc-gnubarcode.c                 \
228         bc-gnubarcode.h                 \
229         bc-postnet.c                    \
230         bc-postnet.h                    \
231         bc-iec16022.c                   \
232         bc-iec16022.h                   \
233         bc-iec18004.c                   \
234         bc-iec18004.h                   \
235         label.c                         \
236         label.h                         \
237         label-object.c                  \
238         label-object.h                  \
239         label-text.c                    \
240         label-text.h                    \
241         label-box.c                     \
242         label-box.h                     \
243         label-line.c                    \
244         label-line.h                    \
245         label-ellipse.c                 \
246         label-ellipse.h                 \
247         label-image.c                   \
248         label-image.h                   \
249         label-barcode.c                 \
250         label-barcode.h                 \
251         xml-label.c                     \
252         xml-label.h                     \
253         xml-label-04.c                  \
254         xml-label-04.h                  \
255         pixbuf-cache.c                  \
256         pixbuf-cache.h                  \
257         merge.c                         \
258         merge.h                         \
259         merge-init.c                    \
260         merge-init.h                    \
261         merge-text.c                    \
262         merge-text.h                    \
263         merge-evolution.c               \
264         merge-evolution.h               \
265         merge-vcard.c                   \
266         merge-vcard.h                   \
267         text-node.c                     \
268         text-node.h                     \
269         prefs.c                         \
270         prefs.h                         \
271         prefs-model.c                   \
272         prefs-model.h                   \
273         font-util.c                     \
274         font-util.h                     \
275         util.c                          \
276         util.h                          \
277         color.c                         \
278         color.h                         \
279         debug.c                         \
280         debug.h                         \
281         hig.h                           \
282         cairo-label-path.c              \
283         cairo-label-path.h              \
284         cairo-ellipse-path.c            \
285         cairo-ellipse-path.h            \
286         $(BUILT_SOURCES)
287
288 marshal.h: marshal.list $(GLIB_GENMARSHAL)
289         $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=gl_marshal > $@
290
291 marshal.c: marshal.list $(GLIB_GENMARSHAL)
292         $(AM_V_GEN) echo "#include \"marshal.h\"" > $@ && \
293         $(GLIB_GENMARSHAL) $< --body --prefix=gl_marshal >> $@
294
295 EXTRA_DIST = \
296         marshal.list                    
297
298 CLEANFILES = $(BUILT_SOURCES)
299
300 $(bin_PROGRAMS): $(LIB_BARCODE_DIR)/libbarcode.la \
301                  $(LIB_IEC16022_DIR)/libiec16022.la \
302                  ../libglabels/libglabels.la
303
304 $(LIB_BARCODE_DIR)/libbarcode.la:
305         cd $(LIB_BARCODE_DIR); $(MAKE)
306
307 $(LIB_IEC16022_DIR)/libiec16022.la:
308         cd $(LIB_IEC16022_DIR); $(MAKE)
309
310 $(LIB_QRENCODE_DIR)/libqrencode.la:
311         cd $(LIB_QRENCODE_DIR); $(MAKE)
312
313 ../libglabels/libglabels.la:
314         cd ../libglabels; $(MAKE)
315