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