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