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