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