]> git.sur5r.net Git - glabels/blob - glabels2/src/Makefile.am
2009-02-28 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         merge.c                         \
147         merge.h                         \
148         merge-init.c                    \
149         merge-init.h                    \
150         merge-text.c                    \
151         merge-text.h                    \
152         merge-evolution.c               \
153         merge-evolution.h               \
154         merge-vcard.c                   \
155         merge-vcard.h                   \
156         text-node.c                     \
157         text-node.h                     \
158         mini-preview-pixbuf.c           \
159         mini-preview-pixbuf.h           \
160         mini-preview-pixbuf-cache.c     \
161         mini-preview-pixbuf-cache.h     \
162         wdgt-print-copies.c             \
163         wdgt-print-copies.h             \
164         wdgt-print-merge.c              \
165         wdgt-print-merge.h              \
166         wdgt-media-select.c             \
167         wdgt-media-select.h             \
168         wdgt-mini-preview.c             \
169         wdgt-mini-preview.h             \
170         wdgt-rotate-label.c             \
171         wdgt-rotate-label.h             \
172         wdgt-chain-button.c             \
173         wdgt-chain-button.h             \
174         wdgt-merge-menu.c               \
175         wdgt-merge-menu.h               \
176         color-combo.c                   \
177         color-combo.h                   \
178         color-combo-menu.c              \
179         color-combo-menu.h              \
180         color-combo-color-menu-item.c   \
181         color-combo-color-menu-item.h   \
182         color-combo-history.c           \
183         color-combo-history.h           \
184         cairo-label-path.c              \
185         cairo-label-path.h              \
186         cairo-markup-path.c             \
187         cairo-markup-path.h             \
188         cairo-ellipse-path.c            \
189         cairo-ellipse-path.h            \
190         util.c                          \
191         util.h                          \
192         color.c                         \
193         color.h                         \
194         debug.c                         \
195         debug.h                         \
196         $(BUILT_SOURCES)
197
198
199 glabels_batch_SOURCES =                 \
200         glabels-batch.c                 \
201         print.c                         \
202         print.h                         \
203         print-op.c                      \
204         print-op.h                      \
205         bc.c                            \
206         bc.h                            \
207         bc-gnubarcode.c                 \
208         bc-gnubarcode.h                 \
209         bc-postnet.c                    \
210         bc-postnet.h                    \
211         bc-iec16022.c                   \
212         bc-iec16022.h                   \
213         label.c                         \
214         label.h                         \
215         label-object.c                  \
216         label-object.h                  \
217         label-text.c                    \
218         label-text.h                    \
219         label-box.c                     \
220         label-box.h                     \
221         label-line.c                    \
222         label-line.h                    \
223         label-ellipse.c                 \
224         label-ellipse.h                 \
225         label-image.c                   \
226         label-image.h                   \
227         label-barcode.c                 \
228         label-barcode.h                 \
229         xml-label.c                     \
230         xml-label.h                     \
231         xml-label-04.c                  \
232         xml-label-04.h                  \
233         pixbuf-cache.c                  \
234         pixbuf-cache.h                  \
235         merge.c                         \
236         merge.h                         \
237         merge-init.c                    \
238         merge-init.h                    \
239         merge-text.c                    \
240         merge-text.h                    \
241         merge-evolution.c               \
242         merge-evolution.h               \
243         merge-vcard.c                   \
244         merge-vcard.h                   \
245         text-node.c                     \
246         text-node.h                     \
247         prefs.c                         \
248         prefs.h                         \
249         prefs-model.c                   \
250         prefs-model.h                   \
251         util.c                          \
252         util.h                          \
253         color.c                         \
254         color.h                         \
255         debug.c                         \
256         debug.h                         \
257         wdgt-print-copies.c             \
258         wdgt-print-copies.h             \
259         wdgt-print-merge.c              \
260         wdgt-print-merge.h              \
261         wdgt-mini-preview.c             \
262         wdgt-mini-preview.h             \
263         hig.h                           \
264         cairo-label-path.c              \
265         cairo-label-path.h              \
266         cairo-ellipse-path.c            \
267         cairo-ellipse-path.h            \
268         $(BUILT_SOURCES)
269
270 marshal.h: marshal.list $(GLIB_GENMARSHAL)
271         $(GLIB_GENMARSHAL) $< --header --prefix=gl_marshal > $@
272
273 marshal.c: marshal.list $(GLIB_GENMARSHAL)
274         echo "#include \"marshal.h\"" > $@ && \
275         $(GLIB_GENMARSHAL) $< --body --prefix=gl_marshal >> $@
276
277 EXTRA_DIST = \
278         marshal.list                    
279
280 CLEANFILES = $(BUILT_SOURCES)
281
282 $(bin_PROGRAMS): $(LIB_BARCODE_DIR)/libbarcode.la \
283                  $(LIB_IEC16022_DIR)/libiec16022.la \
284                  ../libglabels/libglabels.la
285
286 $(LIB_BARCODE_DIR)/libbarcode.la:
287         cd $(LIB_BARCODE_DIR); $(MAKE)
288
289 $(LIB_IEC16022_DIR)/libiec16022.la:
290         cd $(LIB_IEC16022_DIR); $(MAKE)
291
292 ../libglabels/libglabels.la:
293         cd ../libglabels; $(MAKE)
294