]> Dogcows Code - chaz/openbox/blob - Makefile.am
483f2d4267de3adca91ddb90bce63609e7fa9239
[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 $(RR_CURRENT):$(RR_REVISION):$(RR_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 $(RR_CURRENT):$(RR_REVISION):$(RR_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 $(XINERAMA_CFLAGS) \
117 $(XKB_CFLAGS) \
118 $(XRANDR_CFLAGS) \
119 $(XSHAPE_CFLAGS) \
120 $(XSYNC_CFLAGS) \
121 $(GLIB_CFLAGS) \
122 $(XML_CFLAGS) \
123 -DG_LOG_DOMAIN=\"Obt\" \
124 -DLOCALEDIR=\"$(localedir)\" \
125 -DDATADIR=\"$(datadir)\" \
126 -DCONFIGDIR=\"$(configdir)\"
127 obt_libobt_la_LDFLAGS = \
128 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
129 obt_libobt_la_LIBADD = \
130 $(XINERAMA_LIBS) \
131 $(XKB_LIBS) \
132 $(XRANDR_LIBS) \
133 $(XSHAPE_LIBS) \
134 $(XSYNC_LIBS) \
135 $(GLIB_LIBS) \
136 $(XML_LIBS)
137 obt_libobt_la_SOURCES = \
138 obt/display.h \
139 obt/display.c \
140 obt/internal.h \
141 obt/keyboard.h \
142 obt/keyboard.c \
143 obt/mainloop.h \
144 obt/mainloop.c \
145 obt/parse.h \
146 obt/parse.c \
147 obt/prop.h \
148 obt/prop.c \
149 obt/util.h
150
151 ## openbox ##
152
153 openbox_openbox_CPPFLAGS = \
154 $(SM_CFLAGS) \
155 $(X_CFLAGS) \
156 $(XCURSOR_CFLAGS) \
157 $(SM_CFLAGS) \
158 $(PANGO_CFLAGS) \
159 $(GLIB_CFLAGS) \
160 $(LIBSN_CFLAGS) \
161 $(XML_CFLAGS) \
162 -DLOCALEDIR=\"$(localedir)\" \
163 -DDATADIR=\"$(datadir)\" \
164 -DCONFIGDIR=\"$(configdir)\" \
165 -DG_LOG_DOMAIN=\"Openbox\"
166 openbox_openbox_LDADD = \
167 $(SM_LIBS) \
168 $(GLIB_LIBS) \
169 $(X_LIBS) \
170 $(XCURSOR_LIBS) \
171 $(LIBSN_LIBS) \
172 $(XML_LIBS) \
173 $(EFENCE_LIBS) \
174 $(LIBINTL) \
175 render/libobrender.la \
176 parser/libobparser.la \
177 obt/libobt.la
178 openbox_openbox_LDFLAGS = -export-dynamic
179 openbox_openbox_SOURCES = \
180 gettext.h \
181 openbox/actions/all.c \
182 openbox/actions/all.h \
183 openbox/actions/addremovedesktop.c \
184 openbox/actions/breakchroot.c \
185 openbox/actions/close.c \
186 openbox/actions/cyclewindows.c \
187 openbox/actions/debug.c \
188 openbox/actions/decorations.c \
189 openbox/actions/desktop.c \
190 openbox/actions/dockautohide.c \
191 openbox/actions/directionalwindows.c \
192 openbox/actions/execute.c \
193 openbox/actions/exit.c \
194 openbox/actions/focus.c \
195 openbox/actions/focustobottom.c \
196 openbox/actions/fullscreen.c \
197 openbox/actions/growtoedge.c \
198 openbox/actions/iconify.c \
199 openbox/actions/if.c \
200 openbox/actions/kill.c \
201 openbox/actions/layer.c \
202 openbox/actions/lower.c \
203 openbox/actions/maximize.c \
204 openbox/actions/move.c \
205 openbox/actions/moverelative.c \
206 openbox/actions/moveresizeto.c \
207 openbox/actions/movetoedge.c \
208 openbox/actions/omnipresent.c \
209 openbox/actions/raise.c \
210 openbox/actions/raiselower.c \
211 openbox/actions/reconfigure.c \
212 openbox/actions/resize.c \
213 openbox/actions/resizerelative.c \
214 openbox/actions/restart.c \
215 openbox/actions/shade.c \
216 openbox/actions/showdesktop.c \
217 openbox/actions/showmenu.c \
218 openbox/actions/unfocus.c \
219 openbox/actions.c \
220 openbox/actions.h \
221 openbox/client.c \
222 openbox/client.h \
223 openbox/client_list_menu.c \
224 openbox/client_list_menu.h \
225 openbox/client_list_combined_menu.c \
226 openbox/client_list_combined_menu.h \
227 openbox/client_menu.c \
228 openbox/client_menu.h \
229 openbox/config.c \
230 openbox/config.h \
231 openbox/debug.c \
232 openbox/debug.h \
233 openbox/dock.c \
234 openbox/dock.h \
235 openbox/event.c \
236 openbox/event.h \
237 openbox/focus.c \
238 openbox/focus.h \
239 openbox/focus_cycle.c \
240 openbox/focus_cycle.h \
241 openbox/focus_cycle_indicator.c \
242 openbox/focus_cycle_indicator.h \
243 openbox/focus_cycle_popup.c \
244 openbox/focus_cycle_popup.h \
245 openbox/frame.c \
246 openbox/frame.h \
247 openbox/framerender.c \
248 openbox/framerender.h \
249 openbox/geom.h \
250 openbox/grab.c \
251 openbox/grab.h \
252 openbox/group.c \
253 openbox/group.h \
254 openbox/keyboard.c \
255 openbox/keyboard.h \
256 openbox/keytree.c \
257 openbox/keytree.h \
258 openbox/menuframe.c \
259 openbox/menuframe.h \
260 openbox/menu.c \
261 openbox/menu.h \
262 openbox/misc.h \
263 openbox/mouse.c \
264 openbox/mouse.h \
265 openbox/moveresize.c \
266 openbox/moveresize.h \
267 openbox/mwm.h \
268 openbox/openbox.c \
269 openbox/openbox.h \
270 openbox/ping.c \
271 openbox/ping.h \
272 openbox/place.c \
273 openbox/place.h \
274 openbox/popup.c \
275 openbox/popup.h \
276 openbox/resist.c \
277 openbox/resist.h \
278 openbox/screen.c \
279 openbox/screen.h \
280 openbox/session.c \
281 openbox/session.h \
282 openbox/stacking.c \
283 openbox/stacking.h \
284 openbox/startupnotify.c \
285 openbox/startupnotify.h \
286 openbox/translate.c \
287 openbox/translate.h \
288 openbox/window.c \
289 openbox/window.h
290
291 ## gnome-panel-control ##
292
293 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
294 $(X_CFLAGS)
295 tools_gnome_panel_control_gnome_panel_control_LDADD = \
296 $(X_LIBS)
297 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
298 tools/gnome-panel-control/gnome-panel-control.c
299
300
301 ## default button masks ##
302 dist_docxbm_DATA = \
303 data/xbm/bullet.xbm \
304 data/xbm/close.xbm \
305 data/xbm/desk_toggled.xbm \
306 data/xbm/desk.xbm \
307 data/xbm/iconify.xbm \
308 data/xbm/max_toggled.xbm \
309 data/xbm/max.xbm \
310 data/xbm/shade_toggled.xbm \
311 data/xbm/shade.xbm
312
313
314 ## themes ##
315
316 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
317 dist_clearlooks_theme_DATA= \
318 themes/Clearlooks/openbox-3/themerc
319
320 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
321 dist_clearlooksolive_theme_DATA= \
322 themes/Clearlooks-Olive/openbox-3/themerc
323
324 mikachu_themedir = $(themedir)/Mikachu/openbox-3
325 dist_mikachu_theme_DATA= \
326 themes/Mikachu/openbox-3/bullet.xbm \
327 themes/Mikachu/openbox-3/close.xbm \
328 themes/Mikachu/openbox-3/desk.xbm \
329 themes/Mikachu/openbox-3/iconify.xbm \
330 themes/Mikachu/openbox-3/max.xbm \
331 themes/Mikachu/openbox-3/themerc
332
333
334 natura_themedir = $(themedir)/Natura/openbox-3
335 dist_natura_theme_DATA= \
336 themes/Natura/openbox-3/close_hover.xbm \
337 themes/Natura/openbox-3/close.xbm \
338 themes/Natura/openbox-3/desk_toggled.xbm \
339 themes/Natura/openbox-3/desk_hover.xbm \
340 themes/Natura/openbox-3/desk.xbm \
341 themes/Natura/openbox-3/iconify_hover.xbm \
342 themes/Natura/openbox-3/iconify.xbm \
343 themes/Natura/openbox-3/max_hover.xbm \
344 themes/Natura/openbox-3/max_toggled.xbm \
345 themes/Natura/openbox-3/max.xbm \
346 themes/Natura/openbox-3/shade.xbm \
347 themes/Natura/openbox-3/shade_hover.xbm \
348 themes/Natura/openbox-3/themerc
349
350 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
351 dist_artwizboxed_theme_DATA= \
352 themes/Artwiz-boxed/openbox-3/themerc
353
354 bear2_themedir = $(themedir)/Bear2/openbox-3
355 dist_bear2_theme_DATA= \
356 themes/Bear2/openbox-3/close_pressed.xbm \
357 themes/Bear2/openbox-3/close.xbm \
358 themes/Bear2/openbox-3/desk_toggled.xbm \
359 themes/Bear2/openbox-3/desk.xbm \
360 themes/Bear2/openbox-3/iconify_pressed.xbm \
361 themes/Bear2/openbox-3/iconify.xbm \
362 themes/Bear2/openbox-3/max_pressed.xbm \
363 themes/Bear2/openbox-3/max_toggled.xbm \
364 themes/Bear2/openbox-3/max.xbm \
365 themes/Bear2/openbox-3/shade_pressed.xbm \
366 themes/Bear2/openbox-3/shade.xbm \
367 themes/Bear2/openbox-3/themerc
368
369 orang_themedir = $(themedir)/Orang/openbox-3
370 dist_orang_theme_DATA= \
371 themes/Orang/openbox-3/themerc
372
373 onyx_themedir = $(themedir)/Onyx/openbox-3
374 dist_onyx_theme_DATA= \
375 themes/Onyx/openbox-3/themerc
376
377 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
378 dist_onyxcitrus_theme_DATA= \
379 themes/Onyx-Citrus/openbox-3/themerc
380
381 syscrash_themedir = $(themedir)/Syscrash/openbox-3
382 dist_syscrash_theme_DATA= \
383 themes/Syscrash/openbox-3/max_disabled.xbm \
384 themes/Syscrash/openbox-3/max_pressed.xbm \
385 themes/Syscrash/openbox-3/max_toggled.xbm \
386 themes/Syscrash/openbox-3/max.xbm \
387 themes/Syscrash/openbox-3/themerc
388
389 ## public headers ##
390
391 pubinclude_HEADERS = \
392 render/color.h \
393 render/font.h \
394 render/geom.h \
395 render/gradient.h \
396 render/image.h \
397 render/instance.h \
398 render/mask.h \
399 render/render.h \
400 render/theme.h \
401 parser/parse.h \
402 obt/display.h \
403 obt/mainloop.h \
404 obt/util.h
405
406 nodist_pubinclude_HEADERS = \
407 version.h
408
409 nodist_pkgconfig_DATA = \
410 render/obrender-4.0.pc \
411 parser/obparser-4.0.pc \
412 obt/obt-4.0.pc
413
414 ## data ##
415
416 dist_pixmap_DATA = \
417 data/openbox.png
418
419 dist_rc_DATA = \
420 data/autostart.sh \
421 data/rc.xml \
422 data/menu.xml
423
424 edit = $(SED) \
425 -e 's!@version\@!$(VERSION)!' \
426 -e 's!@configdir\@!$(configdir)!' \
427 -e 's!@bindir\@!$(bindir)!'
428
429 %.desktop: %.desktop.in Makefile
430 @echo make: creating $@
431 @$(edit) $< >$@
432
433 %-session: %-session.in Makefile
434 @echo make: creating $@
435 @$(edit) $< >$@
436
437 %.1.in: %.1.sgml
438 @echo make: creating $@
439 @docbook-to-man $< >$@
440
441 %.1: %.1.in Makefile
442 @echo make: creating $@
443 @$(edit) $< >$@
444
445 dist_gnomewmfiles_DATA = \
446 data/gnome-wm-properties/openbox.desktop
447
448 nodist_xsessions_DATA = \
449 data/xsession/openbox.desktop \
450 data/xsession/openbox-gnome.desktop \
451 data/xsession/openbox-kde.desktop
452
453 dist_noinst_DATA = \
454 version.h.in \
455 data/rc.xsd \
456 data/menu.xsd \
457 data/xsession/openbox.desktop.in \
458 data/xsession/openbox-gnome.desktop.in \
459 data/xsession/openbox-kde.desktop.in \
460 data/xsession/openbox-session.in \
461 data/xsession/openbox-gnome-session.in \
462 data/xsession/openbox-kde-session.in \
463 doc/openbox.1.sgml \
464 doc/openbox.1.in \
465 doc/openbox-session.1.sgml \
466 doc/openbox-session.1.in \
467 doc/openbox-gnome-session.1.sgml \
468 doc/openbox-gnome-session.1.in \
469 doc/openbox-kde-session.1.sgml \
470 doc/openbox-kde-session.1.in \
471 render/obrender-4.0.pc.in \
472 parser/obparser-4.0.pc.in \
473 obt/obt-4.0.pc.in \
474 tools/themeupdate/themeupdate.py \
475 tests/hideshow.py \
476 tests/Makefile \
477 tests/aspect.c \
478 tests/fullscreen.c \
479 tests/grav.c \
480 tests/grouptran.c \
481 tests/icons.c \
482 tests/modal2.c \
483 tests/modal3.c \
484 tests/modal.c \
485 tests/noresize.c \
486 tests/override.c \
487 tests/positioned.c \
488 tests/strut.c \
489 tests/title.c \
490 tests/urgent.c
491
492 dist_doc_DATA = \
493 COMPLIANCE \
494 README \
495 AUTHORS \
496 CHANGELOG \
497 COPYING \
498 data/rc.xsd \
499 data/menu.xsd \
500 doc/rc-mouse-focus.xml
501
502 nodist_man_MANS = \
503 doc/openbox.1 \
504 doc/openbox-session.1 \
505 doc/openbox-gnome-session.1 \
506 doc/openbox-kde-session.1
507
508 EXTRA_DIST = \
509 config.rpath
510
511 # make clean doesn't delete these for some reason, even though they are
512 # built by make
513 CLEANFILES = \
514 doc/openbox.1 \
515 doc/openbox-session.1 \
516 doc/openbox-gnome-session.1 \
517 doc/openbox-kde-session.1 \
518 data/xsession/openbox-session \
519 data/xsession/openbox-gnome-session \
520 data/xsession/openbox-kde-session \
521 data/xsession/openbox.desktop \
522 data/xsession/openbox-gnome.desktop \
523 data/xsession/openbox-kde.desktop
524
525 #doc:
526 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
527
528 distclean-local:
529 for d in . m4 po render parser obt openbox; do \
530 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
531 rm -f "$$d/$$p"; \
532 done \
533 done
534
535 .PHONY: doc
This page took 0.055345 seconds and 3 git commands to generate.