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