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