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