]> git.sur5r.net Git - glabels/blob - glabels1/src/Makefile.am
a7034c9e3185049670912803606c90f761c3e8f0
[glabels] / glabels1 / src / Makefile.am
1 LIB_BARCODE_DIR = ../barcode-0.98
2
3 SUBDIRS = pixmaps
4
5 INCLUDES = \
6         -I$(top_srcdir)/intl \
7         $(GNOME_INCLUDEDIR) \
8         $(GNOME_XML_CFLAGS) \
9         $(GNOME_PRINT_CFLAGS) \
10         $(GDK_PIXBUF_CFLAGS) \
11         $(GNOME_CANVAS_PIXBUF_CFLAGS) \
12         -I$(LIB_BARCODE_DIR)
13
14 bin_PROGRAMS = glabels glabels-batch
15
16 glabels_SOURCES = \
17         glabels.c \
18         splash.h \
19         splash.c \
20         mdi.h \
21         mdi.c \
22         display.c \
23         display.h \
24         item.c \
25         item.h \
26         item_text.c \
27         item_text.h \
28         item_line.c \
29         item_line.h \
30         item_box.c \
31         item_box.h \
32         item_ellipse.c \
33         item_ellipse.h \
34         item_image.c \
35         item_image.h \
36         item_barcode.c \
37         item_barcode.h \
38         highlight.c \
39         highlight.h \
40         propertybox.c \
41         propertybox.h \
42         prop_size.c \
43         prop_size.h \
44         prop_position.c \
45         prop_position.h \
46         prop_line.c \
47         prop_line.h \
48         prop_fill.c \
49         prop_fill.h \
50         prop_text.c \
51         prop_text.h \
52         prop_text_entry.c \
53         prop_text_entry.h \
54         prop_vector.c \
55         prop_vector.h \
56         prop_bc.c \
57         prop_bc.h \
58         prop_bc_style.c \
59         prop_bc_style.h \
60         prop_bc_data.c \
61         prop_bc_data.h \
62         label.h \
63         label.c \
64         template.h \
65         template.c \
66         text_node.h \
67         text_node.c \
68         merge_properties.h \
69         merge_properties.c \
70         merge.h \
71         merge.c \
72         merge_text.h \
73         merge_text.c \
74         merge_ui.h \
75         merge_ui.c \
76         merge_ui_text.h \
77         merge_ui_text.c \
78         bc.c \
79         bc.h \
80         bc_postnet.c \
81         bc_postnet.h \
82         bc_gnubarcode.c \
83         bc_gnubarcode.h \
84         tools.h \
85         tools.c \
86         stock.h \
87         stock.c \
88         menu.h \
89         menu.c \
90         file.c \
91         file.h \
92         media_select.c \
93         media_select.h \
94         rotate_select.c \
95         rotate_select.h \
96         print.c \
97         print.h \
98         print_dialog.c \
99         print_dialog.h \
100         print_copies.c \
101         print_copies.h \
102         print_merge.c \
103         print_merge.h \
104         mini_preview.c \
105         mini_preview.h \
106         edit.c \
107         edit.h \
108         prefs.h \
109         prefs.c \
110         util.c \
111         util.h \
112         hack.c \
113         hack.h \
114         gnome-canvas-hacktext.h \
115         debug.h 
116
117 glabels_LDADD = \
118         $(GNOME_LIBDIR) \
119         $(GNOMEUI_LIBS) \
120         $(INTLLIBS) \
121         $(GNOME_XML_LIBS) \
122         $(GNOME_PRINT_LIBS) \
123         $(GDK_PIXBUF_LIBS) \
124         $(GNOME_CANVAS_PIXBUF_LIBS) \
125         -L$(LIB_BARCODE_DIR) -lbarcode
126
127 glabels_batch_SOURCES = \
128         glabels_batch.c \
129         label.h \
130         label.c \
131         template.h \
132         template.c \
133         text_node.h \
134         text_node.c \
135         merge.h \
136         merge.c \
137         merge_text.h \
138         merge_text.c \
139         bc.c \
140         bc.h \
141         bc_postnet.c \
142         bc_postnet.h \
143         bc_gnubarcode.c \
144         bc_gnubarcode.h \
145         print.c \
146         print.h \
147         util.c \
148         util.h \
149         hack.c \
150         hack.h \
151         debug.h 
152
153 glabels_batch_LDADD = \
154         $(GNOME_LIBDIR) \
155         $(GNOMEUI_LIBS) \
156         $(INTLLIBS) \
157         $(GNOME_XML_LIBS) \
158         $(GNOME_PRINT_LIBS) \
159         $(GDK_PIXBUF_LIBS) \
160         $(GNOME_CANVAS_PIXBUF_LIBS) \
161         -L$(LIB_BARCODE_DIR) -lbarcode
162
163 $(bin_PROGRAMS): $(LIB_BARCODE_DIR)/libbarcode.a
164
165 $(LIB_BARCODE_DIR)/libbarcode.a:
166         cd $(LIB_BARCODE_DIR); $(MAKE)
167
168 clean: barcode_clean
169
170 barcode_clean:
171         cd $(LIB_BARCODE_DIR); $(MAKE) clean
172
173 distclean maintainer-clean: barcode_distclean
174
175 barcode_distclean:
176         cd $(LIB_BARCODE_DIR); $(MAKE) distclean