| 24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 26 # POSSIBILITY OF SUCH DAMAGE. |
26 # POSSIBILITY OF SUCH DAMAGE. |
| 27 # |
27 # |
| 28 |
28 |
| 29 $(GTK_OBJPRE)%.o: gtk/%.c |
|
| 30 $(CC) -o $@ -c -I../ucx $(CFLAGS) $(SHLIB_CFLAGS) $(TK_CFLAGS) $< |
|
| 31 |
|
| 32 $(UI_LIB): $(OBJ) |
29 $(UI_LIB): $(OBJ) |
| 33 $(AR) $(ARFLAGS) $(UI_LIB) $(OBJ) |
30 $(AR) $(ARFLAGS) $(UI_LIB) $(OBJ) |
| 34 |
31 |
| 35 $(UI_SHLIB): $(OBJ) |
32 $(UI_SHLIB): $(OBJ) |
| 36 $(CC) -o $(UI_SHLIB) $(LDFLAGS) $(SHLIB_LDFLAGS) $(TK_LDFLAGS) $(OBJ) -L../build/lib -lucx |
33 $(CC) -o $(UI_SHLIB) $(LDFLAGS) $(SHLIB_LDFLAGS) $(TK_LDFLAGS) $(OBJ) -L../build/lib -lucx |
| |
34 |
| |
35 FORCE: |
| |
36 |
| |
37 $(GTK_OBJPRE)action.o: gtk/action.c gtk/action.h gtk/../ui/toolkit.h \ |
| |
38 gtk/../common/action.h gtk/../common/../ui/toolkit.h |
| |
39 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
40 |
| |
41 $(GTK_OBJPRE)button.o: gtk/button.c gtk/button.h gtk/../ui/toolkit.h \ |
| |
42 gtk/../ui/button.h gtk/../ui/toolkit.h gtk/toolkit.h \ |
| |
43 gtk/../common/context.h gtk/../common/../ui/toolkit.h \ |
| |
44 gtk/../common/action.h gtk/../common/object.h gtk/container.h \ |
| |
45 gtk/../ui/container.h gtk/widget.h gtk/../ui/widget.h \ |
| |
46 gtk/../common/action.h |
| |
47 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
48 |
| |
49 $(GTK_OBJPRE)container.o: gtk/container.c gtk/container.h \ |
| |
50 gtk/../ui/toolkit.h gtk/../ui/container.h gtk/../ui/toolkit.h \ |
| |
51 gtk/toolkit.h gtk/../common/context.h gtk/../common/../ui/toolkit.h \ |
| |
52 gtk/../common/action.h gtk/../common/object.h gtk/headerbar.h \ |
| |
53 gtk/../ui/toolbar.h gtk/../common/toolbar.h \ |
| |
54 gtk/../common/../ui/toolbar.h gtk/../common/menu.h \ |
| |
55 gtk/../common/../ui/menu.h gtk/../common/../ui/toolkit.h \ |
| |
56 gtk/../common/container.h gtk/../common/../ui/container.h \ |
| |
57 gtk/../ui/properties.h |
| |
58 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
59 |
| |
60 $(GTK_OBJPRE)display.o: gtk/display.c gtk/display.h gtk/../ui/toolkit.h \ |
| |
61 gtk/toolkit.h gtk/../common/context.h gtk/../common/../ui/toolkit.h \ |
| |
62 gtk/../common/action.h gtk/../common/object.h gtk/container.h \ |
| |
63 gtk/../ui/container.h gtk/../ui/toolkit.h gtk/../ui/display.h |
| |
64 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
65 |
| |
66 $(GTK_OBJPRE)dnd.o: gtk/dnd.c gtk/dnd.h gtk/../ui/dnd.h \ |
| |
67 gtk/../ui/toolkit.h gtk/toolkit.h gtk/../ui/toolkit.h \ |
| |
68 gtk/../common/context.h gtk/../common/../ui/toolkit.h \ |
| |
69 gtk/../common/action.h gtk/../common/object.h |
| |
70 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
71 |
| |
72 $(GTK_OBJPRE)draw_cairo.o: gtk/draw_cairo.c gtk/container.h \ |
| |
73 gtk/../ui/toolkit.h gtk/../ui/container.h gtk/../ui/toolkit.h \ |
| |
74 gtk/toolkit.h gtk/../common/context.h gtk/../common/../ui/toolkit.h \ |
| |
75 gtk/../common/action.h gtk/../common/object.h gtk/draw_cairo.h \ |
| |
76 gtk/graphics.h gtk/../ui/graphics.h |
| |
77 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
78 |
| |
79 $(GTK_OBJPRE)draw_gdk.o: gtk/draw_gdk.c gtk/container.h \ |
| |
80 gtk/../ui/toolkit.h gtk/../ui/container.h gtk/../ui/toolkit.h \ |
| |
81 gtk/toolkit.h gtk/../common/context.h gtk/../common/../ui/toolkit.h \ |
| |
82 gtk/../common/action.h gtk/../common/object.h gtk/draw_gdk.h \ |
| |
83 gtk/graphics.h gtk/../ui/graphics.h |
| |
84 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
85 |
| |
86 $(GTK_OBJPRE)entry.o: gtk/entry.c gtk/../common/context.h \ |
| |
87 gtk/../common/../ui/toolkit.h gtk/../common/action.h \ |
| |
88 gtk/../common/object.h gtk/container.h gtk/../ui/toolkit.h \ |
| |
89 gtk/../ui/container.h gtk/../ui/toolkit.h gtk/toolkit.h gtk/entry.h \ |
| |
90 gtk/../ui/entry.h |
| |
91 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
92 |
| |
93 $(GTK_OBJPRE)graphics.o: gtk/graphics.c gtk/graphics.h \ |
| |
94 gtk/../ui/graphics.h gtk/../ui/toolkit.h gtk/toolkit.h \ |
| |
95 gtk/../ui/toolkit.h gtk/../common/context.h \ |
| |
96 gtk/../common/../ui/toolkit.h gtk/../common/action.h \ |
| |
97 gtk/../common/object.h gtk/container.h gtk/../ui/container.h \ |
| |
98 gtk/draw_cairo.h |
| |
99 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
100 |
| |
101 $(GTK_OBJPRE)headerbar.o: gtk/headerbar.c gtk/headerbar.h gtk/toolkit.h \ |
| |
102 gtk/../ui/toolkit.h gtk/../common/context.h \ |
| |
103 gtk/../common/../ui/toolkit.h gtk/../common/action.h \ |
| |
104 gtk/../common/object.h gtk/../ui/toolbar.h gtk/../ui/toolkit.h \ |
| |
105 gtk/../common/toolbar.h gtk/../common/../ui/toolbar.h \ |
| |
106 gtk/../common/menu.h gtk/../common/../ui/menu.h \ |
| |
107 gtk/../common/../ui/toolkit.h gtk/button.h gtk/../ui/button.h gtk/menu.h \ |
| |
108 gtk/../ui/menu.h gtk/../common/menu.h gtk/../ui/properties.h |
| |
109 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
110 |
| |
111 $(GTK_OBJPRE)icon.o: gtk/icon.c gtk/toolkit.h gtk/../ui/toolkit.h \ |
| |
112 gtk/../common/context.h gtk/../common/../ui/toolkit.h \ |
| |
113 gtk/../common/action.h gtk/../common/object.h gtk/icon.h \ |
| |
114 gtk/../ui/icons.h gtk/../ui/toolkit.h gtk/../common/properties.h \ |
| |
115 gtk/../common/../ui/properties.h gtk/../common/../ui/toolkit.h |
| |
116 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
117 |
| |
118 $(GTK_OBJPRE)image.o: gtk/image.c gtk/image.h gtk/../ui/image.h \ |
| |
119 gtk/../ui/toolkit.h gtk/toolkit.h gtk/../ui/toolkit.h \ |
| |
120 gtk/../common/context.h gtk/../common/../ui/toolkit.h \ |
| |
121 gtk/../common/action.h gtk/../common/object.h gtk/container.h \ |
| |
122 gtk/../ui/container.h gtk/menu.h gtk/../ui/menu.h gtk/../common/menu.h \ |
| |
123 gtk/../common/../ui/menu.h gtk/widget.h gtk/../ui/widget.h |
| |
124 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
125 |
| |
126 $(GTK_OBJPRE)list.o: gtk/list.c gtk/../common/context.h \ |
| |
127 gtk/../common/../ui/toolkit.h gtk/../common/action.h \ |
| |
128 gtk/../common/object.h gtk/../common/action.h gtk/container.h \ |
| |
129 gtk/../ui/toolkit.h gtk/../ui/container.h gtk/../ui/toolkit.h \ |
| |
130 gtk/toolkit.h gtk/list.h gtk/../ui/list.h gtk/button.h \ |
| |
131 gtk/../ui/button.h gtk/icon.h gtk/../ui/icons.h gtk/menu.h \ |
| |
132 gtk/../ui/menu.h gtk/../common/menu.h gtk/../common/../ui/menu.h \ |
| |
133 gtk/dnd.h gtk/../ui/dnd.h |
| |
134 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
135 |
| |
136 $(GTK_OBJPRE)menu.o: gtk/menu.c gtk/menu.h gtk/../ui/menu.h \ |
| |
137 gtk/../ui/toolkit.h gtk/../common/menu.h gtk/../common/../ui/menu.h \ |
| |
138 gtk/toolkit.h gtk/../ui/toolkit.h gtk/../common/context.h \ |
| |
139 gtk/../common/../ui/toolkit.h gtk/../common/action.h \ |
| |
140 gtk/../common/object.h gtk/widget.h gtk/../ui/widget.h \ |
| |
141 gtk/../common/types.h gtk/../common/action.h gtk/../ui/properties.h \ |
| |
142 gtk/../ui/window.h gtk/container.h gtk/../ui/container.h |
| |
143 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
144 |
| |
145 $(GTK_OBJPRE)range.o: gtk/range.c gtk/range.h gtk/toolkit.h \ |
| |
146 gtk/../ui/toolkit.h gtk/../common/context.h \ |
| |
147 gtk/../common/../ui/toolkit.h gtk/../common/action.h \ |
| |
148 gtk/../common/object.h gtk/../ui/range.h gtk/../ui/toolkit.h \ |
| |
149 gtk/container.h gtk/../ui/container.h |
| |
150 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
151 |
| |
152 $(GTK_OBJPRE)text.o: gtk/text.c gtk/text.h gtk/../ui/text.h \ |
| |
153 gtk/../ui/toolkit.h gtk/toolkit.h gtk/../ui/toolkit.h \ |
| |
154 gtk/../common/context.h gtk/../common/../ui/toolkit.h \ |
| |
155 gtk/../common/action.h gtk/../common/object.h gtk/container.h \ |
| |
156 gtk/../ui/container.h gtk/widget.h gtk/../ui/widget.h \ |
| |
157 gtk/../common/types.h |
| |
158 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
159 |
| |
160 $(GTK_OBJPRE)toolbar.o: gtk/toolbar.c gtk/toolbar.h gtk/../ui/toolbar.h \ |
| |
161 gtk/../ui/toolkit.h gtk/../common/toolbar.h \ |
| |
162 gtk/../common/../ui/toolbar.h gtk/../common/menu.h \ |
| |
163 gtk/../common/../ui/menu.h gtk/../common/../ui/toolkit.h gtk/list.h \ |
| |
164 gtk/../ui/list.h gtk/toolkit.h gtk/../ui/toolkit.h \ |
| |
165 gtk/../common/context.h gtk/../common/../ui/toolkit.h \ |
| |
166 gtk/../common/action.h gtk/../common/object.h gtk/menu.h \ |
| |
167 gtk/../ui/menu.h gtk/../common/menu.h gtk/button.h gtk/../ui/button.h \ |
| |
168 gtk/icon.h gtk/../ui/icons.h |
| |
169 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
170 |
| |
171 $(GTK_OBJPRE)toolkit.o: gtk/toolkit.c gtk/toolkit.h gtk/../ui/toolkit.h \ |
| |
172 gtk/../common/context.h gtk/../common/../ui/toolkit.h \ |
| |
173 gtk/../common/action.h gtk/../common/object.h gtk/toolbar.h \ |
| |
174 gtk/../ui/toolbar.h gtk/../ui/toolkit.h gtk/../common/toolbar.h \ |
| |
175 gtk/../common/../ui/toolbar.h gtk/../common/menu.h \ |
| |
176 gtk/../common/../ui/menu.h gtk/../common/../ui/toolkit.h gtk/list.h \ |
| |
177 gtk/../ui/list.h gtk/window.h gtk/icon.h gtk/../ui/icons.h \ |
| |
178 gtk/../common/document.h gtk/../common/context.h \ |
| |
179 gtk/../common/properties.h gtk/../common/../ui/properties.h \ |
| |
180 gtk/../common/menu.h gtk/../common/threadpool.h gtk/../common/app.h |
| |
181 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
182 |
| |
183 $(GTK_OBJPRE)webview.o: gtk/webview.c gtk/toolkit.h gtk/../ui/toolkit.h \ |
| |
184 gtk/../common/context.h gtk/../common/../ui/toolkit.h \ |
| |
185 gtk/../common/action.h gtk/../common/object.h gtk/container.h \ |
| |
186 gtk/../ui/container.h gtk/../ui/toolkit.h gtk/webview.h \ |
| |
187 gtk/../ui/webview.h gtk/widget.h gtk/../ui/widget.h |
| |
188 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
189 |
| |
190 $(GTK_OBJPRE)widget.o: gtk/widget.c gtk/widget.h gtk/../ui/widget.h \ |
| |
191 gtk/../ui/toolkit.h gtk/container.h gtk/../ui/toolkit.h \ |
| |
192 gtk/../ui/container.h gtk/toolkit.h gtk/../common/context.h \ |
| |
193 gtk/../common/../ui/toolkit.h gtk/../common/action.h \ |
| |
194 gtk/../common/object.h |
| |
195 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
196 |
| |
197 $(GTK_OBJPRE)window.o: gtk/window.c gtk/../ui/window.h \ |
| |
198 gtk/../ui/toolkit.h gtk/../ui/properties.h gtk/../common/context.h \ |
| |
199 gtk/../common/../ui/toolkit.h gtk/../common/action.h \ |
| |
200 gtk/../common/menu.h gtk/../common/../ui/menu.h \ |
| |
201 gtk/../common/../ui/toolkit.h gtk/../common/toolbar.h \ |
| |
202 gtk/../common/../ui/toolbar.h gtk/../common/menu.h gtk/../common/utils.h \ |
| |
203 gtk/../common/../ui/text.h gtk/menu.h gtk/../ui/menu.h gtk/toolkit.h \ |
| |
204 gtk/../ui/toolkit.h gtk/../common/object.h gtk/toolbar.h \ |
| |
205 gtk/../ui/toolbar.h gtk/list.h gtk/../ui/list.h gtk/container.h \ |
| |
206 gtk/../ui/container.h gtk/headerbar.h gtk/button.h gtk/../ui/button.h \ |
| |
207 gtk/window.h |
| |
208 $(CC) -o $@ $(CFLAGS) -I../ucx $(SHLIB_CFLAGS) $(TK_CFLAGS) -c $< |
| |
209 |