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