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