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