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