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