]> Dogcows Code - chaz/openbox/blob - Makefile.am
its OBT_VERSION not OB_VERSION anymore
[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 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
305 dist_clearlooksolive_theme_DATA= \
306 themes/Clearlooks-Olive/openbox-3/themerc
307
308 mikachu_themedir = $(themedir)/Mikachu/openbox-3
309 dist_mikachu_theme_DATA= \
310 themes/Mikachu/openbox-3/bullet.xbm \
311 themes/Mikachu/openbox-3/close.xbm \
312 themes/Mikachu/openbox-3/desk.xbm \
313 themes/Mikachu/openbox-3/iconify.xbm \
314 themes/Mikachu/openbox-3/max.xbm \
315 themes/Mikachu/openbox-3/themerc
316
317
318 natura_themedir = $(themedir)/Natura/openbox-3
319 dist_natura_theme_DATA= \
320 themes/Natura/openbox-3/close_hover.xbm \
321 themes/Natura/openbox-3/close.xbm \
322 themes/Natura/openbox-3/desk_toggled.xbm \
323 themes/Natura/openbox-3/desk_hover.xbm \
324 themes/Natura/openbox-3/desk.xbm \
325 themes/Natura/openbox-3/iconify_hover.xbm \
326 themes/Natura/openbox-3/iconify.xbm \
327 themes/Natura/openbox-3/max_hover.xbm \
328 themes/Natura/openbox-3/max_toggled.xbm \
329 themes/Natura/openbox-3/max.xbm \
330 themes/Natura/openbox-3/shade.xbm \
331 themes/Natura/openbox-3/shade_hover.xbm \
332 themes/Natura/openbox-3/themerc
333
334 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
335 dist_artwizboxed_theme_DATA= \
336 themes/Artwiz-boxed/openbox-3/themerc
337
338 bear2_themedir = $(themedir)/Bear2/openbox-3
339 dist_bear2_theme_DATA= \
340 themes/Bear2/openbox-3/close_pressed.xbm \
341 themes/Bear2/openbox-3/close.xbm \
342 themes/Bear2/openbox-3/desk_toggled.xbm \
343 themes/Bear2/openbox-3/desk.xbm \
344 themes/Bear2/openbox-3/iconify_pressed.xbm \
345 themes/Bear2/openbox-3/iconify.xbm \
346 themes/Bear2/openbox-3/max_pressed.xbm \
347 themes/Bear2/openbox-3/max_toggled.xbm \
348 themes/Bear2/openbox-3/max.xbm \
349 themes/Bear2/openbox-3/shade_pressed.xbm \
350 themes/Bear2/openbox-3/shade.xbm \
351 themes/Bear2/openbox-3/themerc
352
353 orang_themedir = $(themedir)/Orang/openbox-3
354 dist_orang_theme_DATA= \
355 themes/Orang/openbox-3/themerc
356
357 onyx_themedir = $(themedir)/Onyx/openbox-3
358 dist_onyx_theme_DATA= \
359 themes/Onyx/openbox-3/themerc
360
361 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
362 dist_onyxcitrus_theme_DATA= \
363 themes/Onyx-Citrus/openbox-3/themerc
364
365 syscrash_themedir = $(themedir)/Syscrash/openbox-3
366 dist_syscrash_theme_DATA= \
367 themes/Syscrash/openbox-3/max_disabled.xbm \
368 themes/Syscrash/openbox-3/max_pressed.xbm \
369 themes/Syscrash/openbox-3/max_toggled.xbm \
370 themes/Syscrash/openbox-3/max.xbm \
371 themes/Syscrash/openbox-3/themerc
372
373 ## public headers ##
374
375 pubinclude_HEADERS = \
376 render/color.h \
377 render/font.h \
378 render/geom.h \
379 render/gradient.h \
380 render/image.h \
381 render/instance.h \
382 render/mask.h \
383 render/render.h \
384 render/theme.h \
385 obt/display.h \
386 obt/display.c \
387 obt/keyboard.h \
388 obt/keyboard.c \
389 obt/mainloop.h \
390 obt/mainloop.c \
391 obt/parse.h \
392 obt/parse.c \
393 obt/paths.h \
394 obt/paths.c \
395 obt/prop.h \
396 obt/prop.c \
397 obt/util.h \
398 obt/xevent.h \
399 obt/xevent.c
400
401 nodist_pubinclude_HEADERS = \
402 version.h
403
404 nodist_pkgconfig_DATA = \
405 render/obrender-4.0.pc \
406 obt/obt-4.0.pc
407
408 ## data ##
409
410 dist_pixmap_DATA = \
411 data/openbox.png
412
413 dist_rc_DATA = \
414 data/autostart.sh \
415 data/rc.xml \
416 data/menu.xml
417
418 edit = $(SED) \
419 -e 's!@version\@!$(VERSION)!' \
420 -e 's!@configdir\@!$(configdir)!' \
421 -e 's!@bindir\@!$(bindir)!'
422
423 %.desktop: %.desktop.in Makefile
424 @echo make: creating $@
425 @$(edit) $< >$@
426
427 %-session: %-session.in Makefile
428 @echo make: creating $@
429 @$(edit) $< >$@
430
431 %.1.in: %.1.sgml
432 @echo make: creating $@
433 @docbook-to-man $< >$@
434
435 %.1: %.1.in Makefile
436 @echo make: creating $@
437 @$(edit) $< >$@
438
439 dist_gnomewmfiles_DATA = \
440 data/gnome-wm-properties/openbox.desktop
441
442 nodist_xsessions_DATA = \
443 data/xsession/openbox.desktop \
444 data/xsession/openbox-gnome.desktop \
445 data/xsession/openbox-kde.desktop
446
447 dist_noinst_DATA = \
448 version.h.in \
449 data/rc.xsd \
450 data/menu.xsd \
451 data/xsession/openbox.desktop.in \
452 data/xsession/openbox-gnome.desktop.in \
453 data/xsession/openbox-kde.desktop.in \
454 data/xsession/openbox-session.in \
455 data/xsession/openbox-gnome-session.in \
456 data/xsession/openbox-kde-session.in \
457 doc/openbox.1.sgml \
458 doc/openbox.1.in \
459 doc/openbox-session.1.sgml \
460 doc/openbox-session.1.in \
461 doc/openbox-gnome-session.1.sgml \
462 doc/openbox-gnome-session.1.in \
463 doc/openbox-kde-session.1.sgml \
464 doc/openbox-kde-session.1.in \
465 render/obrender-4.0.pc.in \
466 obt/obt-4.0.pc.in \
467 tools/themeupdate/themeupdate.py \
468 tests/hideshow.py \
469 tests/Makefile \
470 tests/aspect.c \
471 tests/fullscreen.c \
472 tests/grav.c \
473 tests/grouptran.c \
474 tests/icons.c \
475 tests/modal2.c \
476 tests/modal3.c \
477 tests/modal.c \
478 tests/noresize.c \
479 tests/override.c \
480 tests/positioned.c \
481 tests/strut.c \
482 tests/title.c \
483 tests/urgent.c
484
485 dist_doc_DATA = \
486 COMPLIANCE \
487 README \
488 AUTHORS \
489 CHANGELOG \
490 COPYING \
491 data/rc.xsd \
492 data/menu.xsd \
493 doc/rc-mouse-focus.xml
494
495 nodist_man_MANS = \
496 doc/openbox.1 \
497 doc/openbox-session.1 \
498 doc/openbox-gnome-session.1 \
499 doc/openbox-kde-session.1
500
501 EXTRA_DIST = \
502 config.rpath
503
504 # make clean doesn't delete these for some reason, even though they are
505 # built by make
506 CLEANFILES = \
507 doc/openbox.1 \
508 doc/openbox-session.1 \
509 doc/openbox-gnome-session.1 \
510 doc/openbox-kde-session.1 \
511 data/xsession/openbox-session \
512 data/xsession/openbox-gnome-session \
513 data/xsession/openbox-kde-session \
514 data/xsession/openbox.desktop \
515 data/xsession/openbox-gnome.desktop \
516 data/xsession/openbox-kde.desktop
517
518 #doc:
519 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
520
521 distclean-local:
522 for d in . m4 po render parser obt openbox; do \
523 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
524 rm -f "$$d/$$p"; \
525 done \
526 done
527
528 .PHONY: doc
This page took 0.054494 seconds and 5 git commands to generate.