]> Dogcows Code - chaz/openbox/blob - Makefile.am
look mom, I made an openbox toolkit
[chaz/openbox] / Makefile.am
1 SUBDIRS = m4 po
2
3 docxbmdir = $(docdir)/xbm
4 themedir = $(datadir)/themes
5 localedir = $(datadir)/locale
6 configdir = $(sysconfdir)/xdg
7 rcdir = $(configdir)/openbox
8 xsessionsdir = $(datadir)/xsessions
9 gnomewmfilesdir = $(datadir)/gnome/wm-properties
10 pkgconfigdir = $(libdir)/pkgconfig
11 pubincludedir = $(includedir)/openbox/@OB_VERSION@/openbox
12 pixmapdir = $(datadir)/pixmaps
13 xsddir = $(datadir)/openbox
14
15 theme = Clearlooks
16
17 AUTOMAKE_OPTIONS = subdir-objects foreign
18
19 ACLOCAL_AMFLAGS = -I m4
20
21 INCLUDES = -I.
22
23 check_PROGRAMS = \
24 render/rendertest
25
26 lib_LTLIBRARIES = \
27 parser/libobparser.la \
28 render/libobrender.la \
29 obt/libobt.la
30
31 bin_PROGRAMS = \
32 openbox/openbox \
33 tools/gnome-panel-control/gnome-panel-control
34
35 nodist_bin_SCRIPTS = \
36 data/xsession/openbox-session \
37 data/xsession/openbox-gnome-session \
38 data/xsession/openbox-kde-session
39
40 ## render ##
41
42 render_rendertest_CPPFLAGS = \
43 $(PANGO_CFLAGS) \
44 $(XFT_CFLAGS) \
45 $(GLIB_CFLAGS) \
46 -DG_LOG_DOMAIN=\"RenderTest\"
47 render_rendertest_LDADD = \
48 parser/libobparser.la \
49 render/libobrender.la \
50 $(GLIB_LIBS) \
51 $(PANGO_LIBS) \
52 $(XFT_LIBS) \
53 $(XML_LIBS) \
54 $(X_LIBS)
55 render_rendertest_SOURCES = render/test.c
56
57 render_libobrender_la_CPPFLAGS = \
58 $(X_CFLAGS) \
59 $(GLIB_CFLAGS) \
60 $(XML_CFLAGS) \
61 $(PANGO_CFLAGS) \
62 $(XFT_CFLAGS) \
63 -DG_LOG_DOMAIN=\"ObRender\" \
64 -DDEFAULT_THEME=\"$(theme)\"
65 render_libobrender_la_LDFLAGS = \
66 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
67 render_libobrender_la_LIBADD = \
68 parser/libobparser.la \
69 $(X_LIBS) \
70 $(PANGO_LIBS) \
71 $(XFT_LIBS) \
72 $(GLIB_LIBS) \
73 $(XML_LIBS)
74 render_libobrender_la_SOURCES = \
75 gettext.h \
76 render/color.h \
77 render/color.c \
78 render/font.h \
79 render/font.c \
80 render/geom.h \
81 render/gradient.h \
82 render/gradient.c \
83 render/icon.h \
84 render/image.h \
85 render/image.c \
86 render/instance.h \
87 render/instance.c \
88 render/mask.h \
89 render/mask.c \
90 render/render.h \
91 render/render.c \
92 render/theme.h \
93 render/theme.c
94
95 ## parser ##
96
97 parser_libobparser_la_CPPFLAGS = \
98 $(GLIB_CFLAGS) \
99 $(XML_CFLAGS) \
100 -DG_LOG_DOMAIN=\"ObParser\" \
101 -DLOCALEDIR=\"$(localedir)\" \
102 -DDATADIR=\"$(datadir)\" \
103 -DCONFIGDIR=\"$(configdir)\"
104 parser_libobparser_la_LDFLAGS = \
105 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
106 parser_libobparser_la_LIBADD = \
107 $(GLIB_LIBS) \
108 $(XML_LIBS)
109 parser_libobparser_la_SOURCES = \
110 parser/parse.h \
111 parser/parse.c
112
113 ## obt ##
114
115 obt_libobt_la_CPPFLAGS = \
116 $(GLIB_CFLAGS) \
117 $(XML_CFLAGS) \
118 -DG_LOG_DOMAIN=\"Obt\" \
119 -DLOCALEDIR=\"$(localedir)\" \
120 -DDATADIR=\"$(datadir)\" \
121 -DCONFIGDIR=\"$(configdir)\"
122 obt_libobt_la_LDFLAGS = \
123 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
124 obt_libobt_la_LIBADD = \
125 $(GLIB_LIBS) \
126 $(XML_LIBS)
127 obt_libobt_la_SOURCES = \
128 obt/obt.h \
129 obt/instance.c
130
131 ## openbox ##
132
133 openbox_openbox_CPPFLAGS = \
134 $(SM_CFLAGS) \
135 $(XINERAMA_CFLAGS) \
136 $(XKB_CFLAGS) \
137 $(XRANDR_CFLAGS) \
138 $(XSHAPE_CFLAGS) \
139 $(XSYNC_CFLAGS) \
140 $(X_CFLAGS) \
141 $(XCURSOR_CFLAGS) \
142 $(SM_CFLAGS) \
143 $(PANGO_CFLAGS) \
144 $(GLIB_CFLAGS) \
145 $(LIBSN_CFLAGS) \
146 $(XML_CFLAGS) \
147 -DLOCALEDIR=\"$(localedir)\" \
148 -DDATADIR=\"$(datadir)\" \
149 -DCONFIGDIR=\"$(configdir)\" \
150 -DG_LOG_DOMAIN=\"Openbox\"
151 openbox_openbox_LDADD = \
152 $(SM_LIBS) \
153 $(XINERAMA_LIBS) \
154 $(XKB_LIBS) \
155 $(XRANDR_LIBS) \
156 $(XSHAPE_LIBS) \
157 $(XSYNC_LIBS) \
158 $(GLIB_LIBS) \
159 $(X_LIBS) \
160 $(XCURSOR_LIBS) \
161 $(LIBSN_LIBS) \
162 $(XML_LIBS) \
163 $(EFENCE_LIBS) \
164 $(LIBINTL) \
165 render/libobrender.la \
166 parser/libobparser.la \
167 obt/libobt.la
168 openbox_openbox_LDFLAGS = -export-dynamic
169 openbox_openbox_SOURCES = \
170 gettext.h \
171 openbox/actions/all.c \
172 openbox/actions/all.h \
173 openbox/actions/addremovedesktop.c \
174 openbox/actions/breakchroot.c \
175 openbox/actions/close.c \
176 openbox/actions/cyclewindows.c \
177 openbox/actions/debug.c \
178 openbox/actions/decorations.c \
179 openbox/actions/desktop.c \
180 openbox/actions/dockautohide.c \
181 openbox/actions/directionalwindows.c \
182 openbox/actions/execute.c \
183 openbox/actions/exit.c \
184 openbox/actions/focus.c \
185 openbox/actions/focustobottom.c \
186 openbox/actions/fullscreen.c \
187 openbox/actions/growtoedge.c \
188 openbox/actions/iconify.c \
189 openbox/actions/if.c \
190 openbox/actions/kill.c \
191 openbox/actions/layer.c \
192 openbox/actions/lower.c \
193 openbox/actions/maximize.c \
194 openbox/actions/move.c \
195 openbox/actions/moverelative.c \
196 openbox/actions/moveresizeto.c \
197 openbox/actions/movetoedge.c \
198 openbox/actions/omnipresent.c \
199 openbox/actions/raise.c \
200 openbox/actions/raiselower.c \
201 openbox/actions/reconfigure.c \
202 openbox/actions/resize.c \
203 openbox/actions/resizerelative.c \
204 openbox/actions/restart.c \
205 openbox/actions/shade.c \
206 openbox/actions/showdesktop.c \
207 openbox/actions/showmenu.c \
208 openbox/actions/unfocus.c \
209 openbox/actions.c \
210 openbox/actions.h \
211 openbox/client.c \
212 openbox/client.h \
213 openbox/client_list_menu.c \
214 openbox/client_list_menu.h \
215 openbox/client_list_combined_menu.c \
216 openbox/client_list_combined_menu.h \
217 openbox/client_menu.c \
218 openbox/client_menu.h \
219 openbox/config.c \
220 openbox/config.h \
221 openbox/debug.c \
222 openbox/debug.h \
223 openbox/dock.c \
224 openbox/dock.h \
225 openbox/event.c \
226 openbox/event.h \
227 openbox/extensions.c \
228 openbox/extensions.h \
229 openbox/focus.c \
230 openbox/focus.h \
231 openbox/focus_cycle.c \
232 openbox/focus_cycle.h \
233 openbox/focus_cycle_indicator.c \
234 openbox/focus_cycle_indicator.h \
235 openbox/focus_cycle_popup.c \
236 openbox/focus_cycle_popup.h \
237 openbox/frame.c \
238 openbox/frame.h \
239 openbox/framerender.c \
240 openbox/framerender.h \
241 openbox/geom.h \
242 openbox/grab.c \
243 openbox/grab.h \
244 openbox/group.c \
245 openbox/group.h \
246 openbox/keyboard.c \
247 openbox/keyboard.h \
248 openbox/keytree.c \
249 openbox/keytree.h \
250 openbox/mainloop.c \
251 openbox/mainloop.h \
252 openbox/menuframe.c \
253 openbox/menuframe.h \
254 openbox/menu.c \
255 openbox/menu.h \
256 openbox/misc.h \
257 openbox/modkeys.c \
258 openbox/modkeys.h \
259 openbox/mouse.c \
260 openbox/mouse.h \
261 openbox/moveresize.c \
262 openbox/moveresize.h \
263 openbox/mwm.h \
264 openbox/openbox.c \
265 openbox/openbox.h \
266 openbox/ping.c \
267 openbox/ping.h \
268 openbox/place.c \
269 openbox/place.h \
270 openbox/popup.c \
271 openbox/popup.h \
272 openbox/prop.c \
273 openbox/prop.h \
274 openbox/resist.c \
275 openbox/resist.h \
276 openbox/screen.c \
277 openbox/screen.h \
278 openbox/session.c \
279 openbox/session.h \
280 openbox/stacking.c \
281 openbox/stacking.h \
282 openbox/startupnotify.c \
283 openbox/startupnotify.h \
284 openbox/translate.c \
285 openbox/translate.h \
286 openbox/window.c \
287 openbox/window.h \
288 openbox/xerror.c \
289 openbox/xerror.h
290
291
292 ## gnome-panel-control ##
293
294 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
295 $(X_CFLAGS)
296 tools_gnome_panel_control_gnome_panel_control_LDADD = \
297 $(X_LIBS)
298 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
299 tools/gnome-panel-control/gnome-panel-control.c
300
301
302 ## default button masks ##
303 dist_docxbm_DATA = \
304 data/xbm/bullet.xbm \
305 data/xbm/close.xbm \
306 data/xbm/desk_toggled.xbm \
307 data/xbm/desk.xbm \
308 data/xbm/iconify.xbm \
309 data/xbm/max_toggled.xbm \
310 data/xbm/max.xbm \
311 data/xbm/shade_toggled.xbm \
312 data/xbm/shade.xbm
313
314
315 ## themes ##
316
317 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
318 dist_clearlooks_theme_DATA= \
319 themes/Clearlooks/openbox-3/themerc
320
321 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
322 dist_clearlooksolive_theme_DATA= \
323 themes/Clearlooks-Olive/openbox-3/themerc
324
325 mikachu_themedir = $(themedir)/Mikachu/openbox-3
326 dist_mikachu_theme_DATA= \
327 themes/Mikachu/openbox-3/bullet.xbm \
328 themes/Mikachu/openbox-3/close.xbm \
329 themes/Mikachu/openbox-3/desk.xbm \
330 themes/Mikachu/openbox-3/iconify.xbm \
331 themes/Mikachu/openbox-3/max.xbm \
332 themes/Mikachu/openbox-3/themerc
333
334
335 natura_themedir = $(themedir)/Natura/openbox-3
336 dist_natura_theme_DATA= \
337 themes/Natura/openbox-3/close_hover.xbm \
338 themes/Natura/openbox-3/close.xbm \
339 themes/Natura/openbox-3/desk_toggled.xbm \
340 themes/Natura/openbox-3/desk_hover.xbm \
341 themes/Natura/openbox-3/desk.xbm \
342 themes/Natura/openbox-3/iconify_hover.xbm \
343 themes/Natura/openbox-3/iconify.xbm \
344 themes/Natura/openbox-3/max_hover.xbm \
345 themes/Natura/openbox-3/max_toggled.xbm \
346 themes/Natura/openbox-3/max.xbm \
347 themes/Natura/openbox-3/shade.xbm \
348 themes/Natura/openbox-3/shade_hover.xbm \
349 themes/Natura/openbox-3/themerc
350
351 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
352 dist_artwizboxed_theme_DATA= \
353 themes/Artwiz-boxed/openbox-3/themerc
354
355 bear2_themedir = $(themedir)/Bear2/openbox-3
356 dist_bear2_theme_DATA= \
357 themes/Bear2/openbox-3/close_pressed.xbm \
358 themes/Bear2/openbox-3/close.xbm \
359 themes/Bear2/openbox-3/desk_toggled.xbm \
360 themes/Bear2/openbox-3/desk.xbm \
361 themes/Bear2/openbox-3/iconify_pressed.xbm \
362 themes/Bear2/openbox-3/iconify.xbm \
363 themes/Bear2/openbox-3/max_pressed.xbm \
364 themes/Bear2/openbox-3/max_toggled.xbm \
365 themes/Bear2/openbox-3/max.xbm \
366 themes/Bear2/openbox-3/shade_pressed.xbm \
367 themes/Bear2/openbox-3/shade.xbm \
368 themes/Bear2/openbox-3/themerc
369
370 orang_themedir = $(themedir)/Orang/openbox-3
371 dist_orang_theme_DATA= \
372 themes/Orang/openbox-3/themerc
373
374 onyx_themedir = $(themedir)/Onyx/openbox-3
375 dist_onyx_theme_DATA= \
376 themes/Onyx/openbox-3/themerc
377
378 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
379 dist_onyxcitrus_theme_DATA= \
380 themes/Onyx-Citrus/openbox-3/themerc
381
382 syscrash_themedir = $(themedir)/Syscrash/openbox-3
383 dist_syscrash_theme_DATA= \
384 themes/Syscrash/openbox-3/max_disabled.xbm \
385 themes/Syscrash/openbox-3/max_pressed.xbm \
386 themes/Syscrash/openbox-3/max_toggled.xbm \
387 themes/Syscrash/openbox-3/max.xbm \
388 themes/Syscrash/openbox-3/themerc
389
390 ## public headers ##
391
392 pubinclude_HEADERS = \
393 render/color.h \
394 render/font.h \
395 render/geom.h \
396 render/gradient.h \
397 render/image.h \
398 render/instance.h \
399 render/mask.h \
400 render/render.h \
401 render/theme.h \
402 parser/parse.h \
403 obt/obt.h
404
405 nodist_pubinclude_HEADERS = \
406 version.h
407
408 nodist_pkgconfig_DATA = \
409 render/obrender-3.0.pc \
410 parser/obparser-3.0.pc \
411 obt/obt-4.0.pc
412
413 ## data ##
414
415 dist_pixmap_DATA = \
416 data/openbox.png
417
418 dist_rc_DATA = \
419 data/autostart.sh \
420 data/rc.xml \
421 data/menu.xml
422
423 edit = $(SED) \
424 -e 's!@version\@!$(VERSION)!' \
425 -e 's!@configdir\@!$(configdir)!' \
426 -e 's!@bindir\@!$(bindir)!'
427
428 %.desktop: %.desktop.in Makefile
429 @echo make: creating $@
430 @$(edit) $< >$@
431
432 %-session: %-session.in Makefile
433 @echo make: creating $@
434 @$(edit) $< >$@
435
436 %.1.in: %.1.sgml
437 @echo make: creating $@
438 @docbook-to-man $< >$@
439
440 %.1: %.1.in Makefile
441 @echo make: creating $@
442 @$(edit) $< >$@
443
444 dist_gnomewmfiles_DATA = \
445 data/gnome-wm-properties/openbox.desktop
446
447 nodist_xsessions_DATA = \
448 data/xsession/openbox.desktop \
449 data/xsession/openbox-gnome.desktop \
450 data/xsession/openbox-kde.desktop
451
452 dist_noinst_DATA = \
453 version.h.in \
454 data/rc.xsd \
455 data/menu.xsd \
456 data/xsession/openbox.desktop.in \
457 data/xsession/openbox-gnome.desktop.in \
458 data/xsession/openbox-kde.desktop.in \
459 data/xsession/openbox-session.in \
460 data/xsession/openbox-gnome-session.in \
461 data/xsession/openbox-kde-session.in \
462 doc/openbox.1.sgml \
463 doc/openbox.1.in \
464 doc/openbox-session.1.sgml \
465 doc/openbox-session.1.in \
466 doc/openbox-gnome-session.1.sgml \
467 doc/openbox-gnome-session.1.in \
468 doc/openbox-kde-session.1.sgml \
469 doc/openbox-kde-session.1.in \
470 render/obrender-3.0.pc.in \
471 parser/obparser-3.0.pc.in \
472 obt/obt-4.0.pc.in \
473 tools/themeupdate/themeupdate.py \
474 tests/hideshow.py \
475 tests/Makefile \
476 tests/aspect.c \
477 tests/fullscreen.c \
478 tests/grav.c \
479 tests/grouptran.c \
480 tests/icons.c \
481 tests/modal2.c \
482 tests/modal3.c \
483 tests/modal.c \
484 tests/noresize.c \
485 tests/override.c \
486 tests/positioned.c \
487 tests/strut.c \
488 tests/title.c \
489 tests/urgent.c
490
491 dist_doc_DATA = \
492 COMPLIANCE \
493 README \
494 AUTHORS \
495 CHANGELOG \
496 COPYING \
497 data/rc.xsd \
498 data/menu.xsd \
499 doc/rc-mouse-focus.xml
500
501 nodist_man_MANS = \
502 doc/openbox.1 \
503 doc/openbox-session.1 \
504 doc/openbox-gnome-session.1 \
505 doc/openbox-kde-session.1
506
507 EXTRA_DIST = \
508 config.rpath
509
510 # make clean doesn't delete these for some reason, even though they are
511 # built by make
512 CLEANFILES = \
513 doc/openbox.1 \
514 doc/openbox-session.1 \
515 doc/openbox-gnome-session.1 \
516 doc/openbox-kde-session.1 \
517 data/xsession/openbox-session \
518 data/xsession/openbox-gnome-session \
519 data/xsession/openbox-kde-session \
520 data/xsession/openbox.desktop \
521 data/xsession/openbox-gnome.desktop \
522 data/xsession/openbox-kde.desktop
523
524 #doc:
525 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
526
527 distclean-local:
528 for d in . m4 po render parser obt openbox; do \
529 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
530 rm -f "$$d/$$p"; \
531 done \
532 done
533
534 .PHONY: doc
This page took 0.056012 seconds and 4 git commands to generate.