]> Dogcows Code - chaz/openbox/blob - Makefile.am
add openbox-session for gdm, which will run ~/.config/openbox/autostart
[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 bin_SCRIPTS = \
35 data/xsession/openbox-session \
36 data/xsession/openbox-gnome-session \
37 data/xsession/openbox-kde-session
38
39 noinst_PROGRAMS = \
40 tools/themetoxml/themetoxml
41
42 ## render ##
43
44 render_rendertest_CPPFLAGS = \
45 $(PANGO_CFLAGS) \
46 $(XFT_CFLAGS) \
47 $(GLIB_CFLAGS) \
48 -DG_LOG_DOMAIN=\"RenderTest\"
49 render_rendertest_LDADD = \
50 parser/libobparser.la \
51 render/libobrender.la \
52 $(GLIB_LIBS) \
53 $(PANGO_LIBS) \
54 $(XFT_LIBS) \
55 $(XML_LIBS) \
56 $(X_LIBS)
57 render_rendertest_SOURCES = render/test.c
58
59 render_libobrender_la_CPPFLAGS = \
60 $(X_CFLAGS) \
61 $(GLIB_CFLAGS) \
62 $(XML_CFLAGS) \
63 $(PANGO_CFLAGS) \
64 $(XFT_CFLAGS) \
65 -DG_LOG_DOMAIN=\"ObRender\" \
66 -DDEFAULT_THEME=\"$(theme)\"
67 render_libobrender_la_LDFLAGS = \
68 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
69 render_libobrender_la_LIBADD = \
70 parser/libobparser.la \
71 $(X_LIBS) \
72 $(PANGO_LIBS) \
73 $(XFT_LIBS) \
74 $(GLIB_LIBS) \
75 $(XML_LIBS)
76 render_libobrender_la_SOURCES = \
77 gettext.h \
78 render/color.h \
79 render/color.c \
80 render/font.h \
81 render/font.c \
82 render/geom.h \
83 render/gradient.h \
84 render/gradient.c \
85 render/icon.h \
86 render/image.h \
87 render/image.c \
88 render/instance.h \
89 render/instance.c \
90 render/mask.h \
91 render/mask.c \
92 render/render.h \
93 render/render.c \
94 render/theme.h \
95 render/theme.c
96
97 ## parser ##
98
99 parser_libobparser_la_CPPFLAGS = \
100 $(GLIB_CFLAGS) \
101 $(XML_CFLAGS) \
102 -DG_LOG_DOMAIN=\"ObParser\" \
103 -DLOCALEDIR=\"$(localedir)\" \
104 -DDATADIR=\"$(datadir)\" \
105 -DCONFIGDIR=\"$(configdir)\"
106 parser_libobparser_la_LDFLAGS = \
107 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
108 parser_libobparser_la_LIBADD = \
109 $(GLIB_LIBS) \
110 $(XML_LIBS)
111 parser_libobparser_la_SOURCES = \
112 parser/parse.h \
113 parser/parse.c
114
115 ## openbox ##
116
117 openbox_openbox_CPPFLAGS = \
118 $(SM_CFLAGS) \
119 $(XINERAMA_CFLAGS) \
120 $(XKB_CFLAGS) \
121 $(XRANDR_CFLAGS) \
122 $(XSHAPE_CFLAGS) \
123 $(XSYNC_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 $(X_LIBS) \
144 $(XCURSOR_LIBS) \
145 $(LIBSN_LIBS) \
146 $(XML_LIBS) \
147 $(EFENCE_LIBS) \
148 $(LIBINTL) \
149 render/libobrender.la \
150 parser/libobparser.la
151 openbox_openbox_LDFLAGS = -export-dynamic
152 openbox_openbox_SOURCES = \
153 gettext.h \
154 openbox/action.c \
155 openbox/action.h \
156 openbox/client.c \
157 openbox/client.h \
158 openbox/client_list_menu.c \
159 openbox/client_list_menu.h \
160 openbox/client_list_combined_menu.c \
161 openbox/client_list_combined_menu.h \
162 openbox/client_menu.c \
163 openbox/client_menu.h \
164 openbox/config.c \
165 openbox/config.h \
166 openbox/debug.c \
167 openbox/debug.h \
168 openbox/dock.c \
169 openbox/dock.h \
170 openbox/event.c \
171 openbox/event.h \
172 openbox/extensions.c \
173 openbox/extensions.h \
174 openbox/focus.c \
175 openbox/focus.h \
176 openbox/frame.c \
177 openbox/frame.h \
178 openbox/framerender.c \
179 openbox/framerender.h \
180 openbox/geom.h \
181 openbox/grab.c \
182 openbox/grab.h \
183 openbox/group.c \
184 openbox/group.h \
185 openbox/keyboard.c \
186 openbox/keyboard.h \
187 openbox/keytree.c \
188 openbox/keytree.h \
189 openbox/mainloop.c \
190 openbox/mainloop.h \
191 openbox/menuframe.c \
192 openbox/menuframe.h \
193 openbox/menu.c \
194 openbox/menu.h \
195 openbox/misc.h \
196 openbox/modkeys.c \
197 openbox/modkeys.h \
198 openbox/mouse.c \
199 openbox/mouse.h \
200 openbox/moveresize.c \
201 openbox/moveresize.h \
202 openbox/mwm.h \
203 openbox/openbox.c \
204 openbox/openbox.h \
205 openbox/place.c \
206 openbox/place.h \
207 openbox/popup.c \
208 openbox/popup.h \
209 openbox/prop.c \
210 openbox/prop.h \
211 openbox/propwin.c \
212 openbox/propwin.h \
213 openbox/resist.c \
214 openbox/resist.h \
215 openbox/screen.c \
216 openbox/screen.h \
217 openbox/session.c \
218 openbox/session.h \
219 openbox/stacking.c \
220 openbox/stacking.h \
221 openbox/startupnotify.c \
222 openbox/startupnotify.h \
223 openbox/translate.c \
224 openbox/translate.h \
225 openbox/window.c \
226 openbox/window.h \
227 openbox/xerror.c \
228 openbox/xerror.h
229
230
231 ## themetoxml ##
232
233 tools_themetoxml_themetoxml_CPPFLAGS = \
234 $(X_CFLAGS) \
235 $(GLIB_CFLAGS) \
236 $(XML_CFLAGS)
237 tools_themetoxml_themetoxml_LDADD = \
238 $(X_LIBS) \
239 $(GLIB_LIBS) \
240 $(XML_LIBS)
241 tools_themetoxml_themetoxml_SOURCES = \
242 tools/themetoxml/themetoxml.c \
243 tools/themetoxml/rgb.h
244
245
246 ## gnome-panel-control ##
247
248 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
249 $(X_CFLAGS)
250 tools_gnome_panel_control_gnome_panel_control_LDADD = \
251 $(X_LIBS)
252 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
253 tools/gnome-panel-control/gnome-panel-control.c
254
255
256 ## default button masks ##
257 dist_docxbm_DATA = \
258 data/xbm/bullet.xbm \
259 data/xbm/close.xbm \
260 data/xbm/desk_toggled.xbm \
261 data/xbm/desk.xbm \
262 data/xbm/iconify.xbm \
263 data/xbm/max_toggled.xbm \
264 data/xbm/max.xbm \
265 data/xbm/shade_toggled.xbm \
266 data/xbm/shade.xbm
267
268
269 ## themes ##
270
271 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
272 dist_clearlooks_theme_DATA= \
273 themes/Clearlooks/openbox-3/themerc.xml
274
275 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
276 dist_clearlooksolive_theme_DATA= \
277 themes/Clearlooks-Olive/openbox-3/themerc.xml
278
279 mikachu_themedir = $(themedir)/Mikachu/openbox-3
280 dist_mikachu_theme_DATA= \
281 themes/Mikachu/openbox-3/bullet.xbm \
282 themes/Mikachu/openbox-3/close.xbm \
283 themes/Mikachu/openbox-3/desk.xbm \
284 themes/Mikachu/openbox-3/iconify.xbm \
285 themes/Mikachu/openbox-3/max.xbm \
286 themes/Mikachu/openbox-3/themerc.xml
287
288
289 natura_themedir = $(themedir)/Natura/openbox-3
290 dist_natura_theme_DATA= \
291 themes/Natura/openbox-3/close_hover.xbm \
292 themes/Natura/openbox-3/close.xbm \
293 themes/Natura/openbox-3/desk_toggled.xbm \
294 themes/Natura/openbox-3/desk_hover.xbm \
295 themes/Natura/openbox-3/desk.xbm \
296 themes/Natura/openbox-3/iconify_hover.xbm \
297 themes/Natura/openbox-3/iconify.xbm \
298 themes/Natura/openbox-3/max_hover.xbm \
299 themes/Natura/openbox-3/max_toggled.xbm \
300 themes/Natura/openbox-3/max.xbm \
301 themes/Natura/openbox-3/shade.xbm \
302 themes/Natura/openbox-3/shade_hover.xbm \
303 themes/Natura/openbox-3/themerc.xml
304
305 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
306 dist_artwizboxed_theme_DATA= \
307 themes/Artwiz-boxed/openbox-3/themerc.xml
308
309 bear2_themedir = $(themedir)/Bear2/openbox-3
310 dist_bear2_theme_DATA= \
311 themes/Bear2/openbox-3/close_pressed.xbm \
312 themes/Bear2/openbox-3/close.xbm \
313 themes/Bear2/openbox-3/desk_toggled.xbm \
314 themes/Bear2/openbox-3/desk.xbm \
315 themes/Bear2/openbox-3/iconify_pressed.xbm \
316 themes/Bear2/openbox-3/iconify.xbm \
317 themes/Bear2/openbox-3/max_pressed.xbm \
318 themes/Bear2/openbox-3/max_toggled.xbm \
319 themes/Bear2/openbox-3/max.xbm \
320 themes/Bear2/openbox-3/shade_pressed.xbm \
321 themes/Bear2/openbox-3/shade.xbm \
322 themes/Bear2/openbox-3/themerc.xml
323
324 orang_themedir = $(themedir)/Orang/openbox-3
325 dist_orang_theme_DATA= \
326 themes/Orang/openbox-3/themerc.xml
327
328 syscrash_themedir = $(themedir)/Syscrash/openbox-3
329 dist_syscrash_theme_DATA= \
330 themes/Syscrash/openbox-3/max_disabled.xbm \
331 themes/Syscrash/openbox-3/max_pressed.xbm \
332 themes/Syscrash/openbox-3/max_toggled.xbm \
333 themes/Syscrash/openbox-3/max.xbm \
334 themes/Syscrash/openbox-3/themerc.xml
335
336 ## public headers ##
337
338 pubinclude_HEADERS = \
339 render/color.h \
340 render/font.h \
341 render/geom.h \
342 render/gradient.h \
343 render/image.h \
344 render/instance.h \
345 render/mask.h \
346 render/render.h \
347 render/theme.h \
348 parser/parse.h
349
350 nodist_pubinclude_HEADERS = \
351 version.h
352
353 nodist_pkgconfig_DATA = \
354 render/obrender-3.0.pc \
355 parser/obparser-3.0.pc
356
357 ## data ##
358
359 dist_pixmap_DATA = \
360 data/openbox.png
361
362 dist_rc_DATA = \
363 data/rc.xml \
364 data/menu.xml
365
366 edit = $(SED) \
367 -e 's!@version\@!$(VERSION)!' \
368 -e 's!@configdir\@!$(configdir)!' \
369 -e 's!@bindir\@!$(bindir)!'
370
371 data/xsession/openbox-gnome-session: \
372 $(srcdir)/data/xsession/openbox-gnome-session.in
373 @echo make: creating $@
374 @mkdir data 2>/dev/null || true
375 @mkdir data/xsession 2>/dev/null || true
376 @$(edit) $< >$@
377 @chmod a+x $@
378
379 data/xsession/openbox-kde-session: \
380 $(srcdir)/data/xsession/openbox-kde-session.in
381 @echo make: creating $@
382 @mkdir data 2>/dev/null || true
383 @mkdir data/xsession 2>/dev/null || true
384 @$(edit) $< >$@
385 @chmod a+x $@
386
387 data/xsession/openbox-session: \
388 $(srcdir)/data/xsession/openbox-session.in
389 @echo make: creating $@
390 @mkdir data 2>/dev/null || true
391 @mkdir data/xsession 2>/dev/null || true
392 @$(edit) $< >$@
393 @chmod a+x $@
394
395 doc/openbox.1.in: $(srcdir)/doc/openbox.1.sgml
396 @echo make: creating $@
397 @mkdir doc 2>/dev/null || true
398 @docbook-to-man $< > $@
399
400 doc/openbox.1: doc/openbox.1.in
401 @echo make: creating $@
402 @mkdir doc 2>/dev/null || true
403 @$(edit) $< >$@
404
405 doc/openbox-gnome-session.1: $(srcdir)/doc/openbox-gnome-session.1.sgml
406 @echo make: creating $@
407 @mkdir doc 2>/dev/null || true
408 @docbook-to-man $< > $@
409
410 doc/openbox-kde-session.1: $(srcdir)/doc/openbox-kde-session.1.sgml
411 @echo make: creating $@
412 @mkdir doc 2>/dev/null || true
413 @docbook-to-man $< > $@
414
415 dist_gnomewmfiles_DATA = \
416 data/gnome-wm-properties/openbox.desktop
417
418 dist_xsessions_DATA = \
419 data/xsession/openbox.desktop \
420 data/xsession/openbox-gnome.desktop \
421 data/xsession/openbox-kde.desktop
422
423 dist_noinst_DATA = \
424 debian/changelog.in \
425 debian/compat \
426 debian/conffiles \
427 debian/control \
428 debian/copyright \
429 debian/menu \
430 debian/postinst \
431 debian/postrm \
432 debian/rules \
433 version.h.in \
434 data/rc.xsd \
435 data/menu.xsd \
436 data/themerc.xsd \
437 data/xsession/openbox-session.in \
438 data/xsession/openbox-gnome-session.in \
439 data/xsession/openbox-kde-session.in \
440 render/obrender-3.0.pc.in \
441 parser/obparser-3.0.pc.in \
442 tools/themeupdate/themeupdate.py \
443 tests/hideshow.py \
444 tests/Makefile \
445 tests/aspect.c \
446 tests/fullscreen.c \
447 tests/grav.c \
448 tests/grouptran.c \
449 tests/icons.c \
450 tests/modal2.c \
451 tests/modal3.c \
452 tests/modal.c \
453 tests/noresize.c \
454 tests/override.c \
455 tests/positioned.c \
456 tests/strut.c \
457 tests/title.c \
458 tests/urgent.c
459
460 dist_doc_DATA = \
461 COMPLIANCE \
462 README \
463 AUTHORS \
464 data/rc.xsd \
465 data/menu.xsd \
466 data/themerc.xsd \
467 doc/rc-mouse-focus.xml
468
469 dist_man_MANS = \
470 doc/openbox.1 \
471 doc/openbox-gnome-session.1 \
472 doc/openbox-kde-session.1
473
474 EXTRA_DIST = \
475 config.rpath \
476 mkinstalldirs \
477 CHANGELOG \
478 COPYING
479
480 #doc:
481 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
482
483 distclean-local:
484 for d in . m4 po render; do \
485 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
486 rm -f "$$d/$$p"; \
487 done \
488 done
489
490 .PHONY: doc
This page took 0.052309 seconds and 5 git commands to generate.