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