]> Dogcows Code - chaz/openbox/blob - Makefile.am
49d94bf504529379ad3a1c23046b12608dfea59d
[chaz/openbox] / Makefile.am
1 SUBDIRS = m4 po
2
3 themedir = $(datadir)/openbox/themes
4 localedir = $(datadir)/locale
5 rcdir = $(datadir)/openbox
6 plugindir = $(libdir)/openbox/plugins
7 desktopfilesdir = $(datadir)/gnome/wm-properties
8 pixmapdir = $(datadir)/pixmaps
9
10 theme = thebear
11
12 AUTOMAKE_OPTIONS = subdir-objects
13 ACLOCAL_AMFLAGS = -I m4
14
15 INCLUDES = -I.
16
17 noinst_PROGRAMS = \
18 render/rendertest
19
20 lib_LTLIBRARIES = \
21 render/libobrender.la \
22 parser/libobparser.la
23
24 bin_PROGRAMS = \
25 kernel/openbox \
26 tools/kdetrayproxy/kdetrayproxy
27
28 plugin_LTLIBRARIES = \
29 plugins/menu/client_menu.la \
30 plugins/menu/client_list_menu.la
31 # plugins/menu/timed_menu.la \
32 # plugins/menu/fifo_menu.la \
33 # plugins/menu/include_menu.la \
34
35 if OBCONF
36 bin_PROGRAMS += \
37 tools/obconf/obconf
38 endif
39
40 ## render ##
41
42 render_rendertest_CPPFLAGS = \
43 $(XFT_CFLAGS) \
44 $(GLIB_CFLAGS) \
45 -DG_LOG_DOMAIN=\"RenderTest\"
46 render_rendertest_LDADD = render/libobrender.la
47 render_rendertest_SOURCES = render/test.c
48
49 render_libobrender_la_CPPFLAGS = \
50 $(X_CFLAGS) \
51 $(XFT_CFLAGS) \
52 $(GLIB_CFLAGS) \
53 -DG_LOG_DOMAIN=\"ObRender\" \
54 -DDEFAULT_THEME=\"$(theme)\" \
55 -DTHEMEDIR=\"$(themedir)\"
56 render_libobrender_la_LIBADD = \
57 $(X_LIBS) \
58 $(XFT_LIBS) \
59 $(GLIB_LIBS)
60 render_libobrender_la_SOURCES = \
61 gettext.h \
62 render/color.h \
63 render/color.c \
64 render/font.h \
65 render/font.c \
66 render/geom.h \
67 render/gradient.h \
68 render/gradient.c \
69 render/image.h \
70 render/image.c \
71 render/instance.h \
72 render/instance.c \
73 render/mask.h \
74 render/mask.c \
75 render/render.h \
76 render/render.c \
77 render/theme.h \
78 render/theme.c
79
80 ## parser ##
81
82 parser_libobparser_la_CPPFLAGS = \
83 $(GLIB_CFLAGS) \
84 $(XML_CFLAGS) \
85 -DG_LOG_DOMAIN=\"ObParser\" \
86 -DLOCALEDIR=\"$(localedir)\" \
87 -DRCDIR=\"$(rcdir)\"
88 parser_libobparser_la_LIBADD = \
89 $(GLIB_LIBS) \
90 $(XML_LIBS)
91 parser_libobparser_la_SOURCES = \
92 parser/parse.h \
93 parser/parse.c
94
95 ## kernel ##
96
97 kernel_openbox_CPPFLAGS = \
98 $(X_CFLAGS) \
99 $(SM_CFLAGS) \
100 $(XFT_CFLAGS) \
101 $(GLIB_CFLAGS) \
102 $(GMODULE_CFLAGS) \
103 $(LIBSN_CFLAGS) \
104 $(XML_CFLAGS) \
105 -DLOCALEDIR=\"$(localedir)\" \
106 -DPLUGINDIR=\"$(plugindir)\" \
107 -DRCDIR=\"$(rcdir)\" \
108 -DG_LOG_DOMAIN=\"Openbox\"
109 kernel_openbox_LDADD = \
110 $(SM_LIBS) \
111 $(XINERAMA_LIBS) \
112 $(XKB_LIBS) \
113 $(XRANDR_LIBS) \
114 $(VIDMODE_LIBS) \
115 $(XSHAPE_LIBS) \
116 $(GLIB_LIBS) \
117 $(GMODULE_LIBS) \
118 $(LIBSN_LIBS) \
119 $(XML_LIBS) \
120 $(EFENCE_LIBS) \
121 $(LIBINTL) \
122 render/libobrender.la \
123 parser/libobparser.la
124 kernel_openbox_LDFLAGS = -export-dynamic
125 kernel_openbox_SOURCES = \
126 gettext.h \
127 kernel/action.c \
128 kernel/action.h \
129 kernel/client.c \
130 kernel/client.h \
131 kernel/config.c \
132 kernel/config.h \
133 kernel/debug.c \
134 kernel/debug.h \
135 kernel/dock.c \
136 kernel/dock.h \
137 kernel/event.c \
138 kernel/event.h \
139 kernel/extensions.c \
140 kernel/extensions.h \
141 kernel/focus.c \
142 kernel/focus.h \
143 kernel/frame.c \
144 kernel/frame.h \
145 kernel/framerender.c \
146 kernel/framerender.h \
147 kernel/geom.h \
148 kernel/grab.c \
149 kernel/grab.h \
150 kernel/group.c \
151 kernel/group.h \
152 kernel/keyboard.c \
153 kernel/keyboard.h \
154 kernel/keytree.c \
155 kernel/keytree.h \
156 kernel/menuframe.c \
157 kernel/menuframe.h \
158 kernel/menu.c \
159 kernel/menu.h \
160 kernel/misc.h \
161 kernel/mouse.c \
162 kernel/mouse.h \
163 kernel/moveresize.c \
164 kernel/moveresize.h \
165 kernel/mwm.h \
166 kernel/openbox.c \
167 kernel/openbox.h \
168 kernel/place.c \
169 kernel/place.h \
170 kernel/plugin.c \
171 kernel/plugin.h \
172 kernel/popup.c \
173 kernel/popup.h \
174 kernel/prop.c \
175 kernel/prop.h \
176 kernel/resist.c \
177 kernel/resist.h \
178 kernel/screen.c \
179 kernel/screen.h \
180 kernel/session.c \
181 kernel/session.h \
182 kernel/stacking.c \
183 kernel/stacking.h \
184 kernel/startup.c \
185 kernel/startup.h \
186 kernel/timer.c \
187 kernel/timer.h \
188 kernel/translate.c \
189 kernel/translate.h \
190 kernel/window.c \
191 kernel/window.h \
192 kernel/xerror.c \
193 kernel/xerror.h \
194 plugins/interface.h
195
196 ## plugins/menu ##
197
198 plugins_menu_timed_menu_la_CPPFLAGS = \
199 $(XFT_CFLAGS) \
200 $(GLIB_CFLAGS) \
201 $(LIBSN_CFLAGS) \
202 $(XML_CFLAGS) \
203 -DPLUGINDIR=\"$(plugindir)\" \
204 -DG_LOG_DOMAIN=\"Plugin-Timed-Menu\"
205 plugins_menu_timed_menu_la_LDFLAGS = \
206 -module \
207 -avoid-version
208 plugins_menu_timed_menu_la_SOURCES = \
209 plugins/menu/timed_menu.c \
210 plugins/menu/timed_menu.h
211
212 plugins_menu_fifo_menu_la_CPPFLAGS = \
213 $(XFT_CFLAGS) \
214 $(GLIB_CFLAGS) \
215 $(LIBSN_CFLAGS) \
216 $(XML_CFLAGS) \
217 -DPLUGINDIR=\"$(plugindir)\" \
218 -DG_LOG_DOMAIN=\"Plugin-Fifo-Menu\"
219 plugins_menu_fifo_menu_la_LDFLAGS = \
220 -module \
221 -avoid-version
222 plugins_menu_fifo_menu_la_SOURCES = \
223 plugins/menu/fifo_menu.c \
224 plugins/menu/fifo_menu.h
225
226 plugins_menu_client_menu_la_CPPFLAGS = \
227 $(XFT_CFLAGS) \
228 $(GLIB_CFLAGS) \
229 $(LIBSN_CFLAGS) \
230 $(XML_CFLAGS) \
231 -DPLUGINDIR=\"$(plugindir)\" \
232 -DG_LOG_DOMAIN=\"Plugin-Client-Menu\"
233 plugins_menu_client_menu_la_LDFLAGS = \
234 -module \
235 -avoid-version
236 plugins_menu_client_menu_la_SOURCES = \
237 plugins/menu/client_menu.c
238
239 plugins_menu_include_menu_la_CPPFLAGS = \
240 $(XFT_CFLAGS) \
241 $(GLIB_CFLAGS) \
242 $(LIBSN_CFLAGS) \
243 $(XML_CFLAGS) \
244 -DPLUGINDIR=\"$(plugindir)\" \
245 -DG_LOG_DOMAIN=\"Plugin-Include-Menu\"
246 plugins_menu_include_menu_la_LDFLAGS = \
247 -module \
248 -avoid-version
249 plugins_menu_include_menu_la_SOURCES = \
250 plugins/menu/include_menu.c
251
252 plugins_menu_client_list_menu_la_CPPFLAGS = \
253 $(XFT_CFLAGS) \
254 $(GLIB_CFLAGS) \
255 $(LIBSN_CFLAGS) \
256 $(XML_CFLAGS) \
257 -DPLUGINDIR=\"$(plugindir)\" \
258 -DG_LOG_DOMAIN=\"Plugin-Client-List-Menu\"
259 plugins_menu_client_list_menu_la_LDFLAGS = \
260 -module \
261 -avoid-version
262 plugins_menu_client_list_menu_la_SOURCES = \
263 o plugins/menu/client_list_menu.c
264
265
266 ## obconf ##
267
268 tools_obconf_obconf_CPPFLAGS = \
269 $(GTK_CFLAGS) \
270 $(GDK_PIXBUF_CFLAGS) \
271 $(XML_CFLAGS) \
272 -DLOCALEDIR=\"$(localedir)\" \
273 -DPLUGINDIR=\"$(plugindir)\" \
274 -DRCDIR=\"$(rcdir)\" \
275 -DPIXMAPDIR=\"$(pixmapdir)\" \
276 -DG_LOG_DOMAIN=\"Obconf\"
277 tools_obconf_obconf_LDADD = \
278 $(GTK_LIBS) \
279 $(GDK_PIXBUF_LIBS) \
280 $(LIBINTL) \
281 render/libobrender.la \
282 parser/libobparser.la
283 tools_obconf_obconf_SOURCES = \
284 gettext.h \
285 tools/obconf/main.c \
286 plugins/obconf_interface.h
287
288
289 ## kdetrayproxy ##
290
291 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
292 $(X_CFLAGS)
293 tools_kdetrayproxy_kdetrayproxy_LDADD = \
294 $(X_LIBS)
295 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
296 tools/kdetrayproxy/kdetrayproxy.c
297
298
299 ## themes ##
300
301 thebear_themedir = $(themedir)/thebear
302 dist_thebear_theme_DATA = \
303 themes/thebear/themerc
304
305 planton_themedir = $(themedir)/planton
306 dist_planton_theme_DATA = \
307 themes/planton/themerc \
308 themes/planton/max.xbm \
309 themes/planton/max_toggled.xbm \
310 themes/planton/desk.xbm \
311 themes/planton/desk_toggled.xbm \
312 themes/planton/shade.xbm \
313 themes/planton/shade_toggled.xbm \
314 themes/planton/iconify.xbm \
315 themes/planton/close.xbm
316
317 lightindustry_themedir = $(themedir)/Light-Industry
318 dist_lightindustry_theme_DATA = \
319 themes/Light-Industry/themerc \
320 themes/Light-Industry/max.xbm \
321 themes/Light-Industry/iconify.xbm \
322 themes/Light-Industry/close.xbm
323
324 lightindustrybig_themedir = $(themedir)/Light-Industry-big
325 dist_lightindustrybig_theme_DATA = \
326 themes/Light-Industry-big/themerc \
327 themes/Light-Industry-big/max.xbm \
328 themes/Light-Industry-big/iconify.xbm \
329 themes/Light-Industry-big/close.xbm
330
331 imerry_themedir = $(themedir)/I-merry
332 dist_imerry_theme_DATA = \
333 themes/I-merry/themerc \
334 themes/I-merry/max.xbm \
335 themes/I-merry/iconify.xbm \
336 themes/I-merry/close.xbm
337
338 greenz_themedir = $(themedir)/greenz
339 dist_greenz_theme_DATA = \
340 themes/greenz/themerc
341
342 bbstyle_themedir = $(themedir)/BBstylE
343 dist_bbstyle_theme_DATA = \
344 themes/BBstylE/themerc \
345 themes/BBstylE/max.xbm \
346 themes/BBstylE/max_toggled.xbm \
347 themes/BBstylE/desk.xbm \
348 themes/BBstylE/desk_toggled.xbm \
349 themes/BBstylE/shade.xbm \
350 themes/BBstylE/shade_toggled.xbm \
351 themes/BBstylE/iconify.xbm \
352 themes/BBstylE/close.xbm
353
354 om4ob_themedir = $(themedir)/om4ob
355 dist_om4ob_theme_DATA = \
356 themes/om4ob/themerc \
357 themes/om4ob/close_hover.xbm \
358 themes/om4ob/close.xbm \
359 themes/om4ob/desk_hover.xbm \
360 themes/om4ob/desk_toggled.xbm \
361 themes/om4ob/desk.xbm \
362 themes/om4ob/iconify_hover.xbm \
363 themes/om4ob/iconify_pressed.xbm \
364 themes/om4ob/iconify.xbm \
365 themes/om4ob/max_disabled.xbm \
366 themes/om4ob/max_hover.xbm \
367 themes/om4ob/max_pressed.xbm \
368 themes/om4ob/max_toggled.xbm \
369 themes/om4ob/max.xbm \
370 themes/om4ob/shade_disabled.xbm \
371 themes/om4ob/shade_hover.xbm \
372 themes/om4ob/shade_toggled.xbm \
373 themes/om4ob/shade.xbm
374
375
376 ## data ##
377
378 dist_rc_DATA = \
379 data/rc3 \
380 data/menu
381
382 dist_desktopfiles_DATA = \
383 data/openbox.desktop
384
385 EXTRA_DIST = \
386 config.rpath \
387 mkinstalldirs \
388 README \
389 COPYING \
390 AUTHORS
391
392 #doc:
393 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
394
395 distclean-local:
396 for d in . m4 po render; do \
397 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
398 rm -f "$$d/$$p"; \
399 done \
400 done
401
402 .PHONY: doc
This page took 0.046833 seconds and 3 git commands to generate.