dont impose staying on-screen for non-normal windows like kicker
[dana/openbox.git] / Makefile.am
1 SUBDIRS = m4 po
2
3 themedir        = $(datadir)/openbox/themes
4 localedir       = $(datadir)/locale
5 rcdir           = $(datadir)/openbox
6 desktopfilesdir = $(datadir)/gnome/wm-properties
7 pkgconfigdir    = $(libdir)/pkgconfig
8 pubincludedir   = $(includedir)/openbox/@OB_VERSION@/openbox
9
10 theme = thebear
11
12 AUTOMAKE_OPTIONS = subdir-objects
13 ACLOCAL_AMFLAGS = -I m4
14
15 INCLUDES = -I.
16
17 noinst_PROGRAMS = \
18         render/rendertest
19
20 lib_LTLIBRARIES = \
21         render/libobrender.la \
22         parser/libobparser.la
23
24 bin_PROGRAMS = \
25         openbox/openbox \
26         tools/kdetrayproxy/kdetrayproxy
27
28 ## render ##
29
30 render_rendertest_CPPFLAGS = \
31         $(XFT_CFLAGS) \
32         $(GLIB_CFLAGS) \
33         -DG_LOG_DOMAIN=\"RenderTest\"
34 render_rendertest_LDADD = render/libobrender.la
35 render_rendertest_SOURCES = render/test.c
36
37 render_libobrender_la_CPPFLAGS = \
38         $(X_CFLAGS) \
39         $(XFT_CFLAGS) \
40         $(GLIB_CFLAGS) \
41         -DG_LOG_DOMAIN=\"ObRender\" \
42         -DDEFAULT_THEME=\"$(theme)\" \
43         -DTHEMEDIR=\"$(themedir)\"
44 render_libobrender_la_LIBADD = \
45         $(X_LIBS) \
46         $(XFT_LIBS) \
47         $(GLIB_LIBS)
48 render_libobrender_la_SOURCES = \
49         gettext.h \
50         render/color.h \
51         render/color.c \
52         render/font.h \
53         render/font.c \
54         render/geom.h \
55         render/gradient.h \
56         render/gradient.c \
57         render/icon.h \
58         render/image.h \
59         render/image.c \
60         render/instance.h \
61         render/instance.c \
62         render/mask.h \
63         render/mask.c \
64         render/render.h \
65         render/render.c \
66         render/theme.h \
67         render/theme.c
68
69 ## parser ##
70
71 parser_libobparser_la_CPPFLAGS = \
72         $(GLIB_CFLAGS) \
73         $(XML_CFLAGS) \
74         -DG_LOG_DOMAIN=\"ObParser\" \
75         -DLOCALEDIR=\"$(localedir)\" \
76         -DRCDIR=\"$(rcdir)\"
77 parser_libobparser_la_LIBADD = \
78         $(GLIB_LIBS) \
79         $(XML_LIBS)
80 parser_libobparser_la_SOURCES = \
81         parser/parse.h \
82         parser/parse.c
83
84 ## openbox ##
85
86 openbox_openbox_CPPFLAGS = \
87         $(X_CFLAGS) \
88         $(SM_CFLAGS) \
89         $(XFT_CFLAGS) \
90         $(GLIB_CFLAGS) \
91         $(LIBSN_CFLAGS) \
92         $(XML_CFLAGS) \
93         -DLOCALEDIR=\"$(localedir)\" \
94         -DRCDIR=\"$(rcdir)\" \
95         -DG_LOG_DOMAIN=\"Openbox\"
96 openbox_openbox_LDADD = \
97         $(SM_LIBS) \
98         $(XINERAMA_LIBS) \
99         $(XKB_LIBS) \
100         $(XRANDR_LIBS) \
101         $(VIDMODE_LIBS) \
102         $(XSHAPE_LIBS) \
103         $(GLIB_LIBS) \
104         $(LIBSN_LIBS) \
105         $(XML_LIBS) \
106         $(EFENCE_LIBS) \
107         $(LIBINTL) \
108         render/libobrender.la \
109         parser/libobparser.la
110 openbox_openbox_LDFLAGS = -export-dynamic
111 openbox_openbox_SOURCES = \
112         gettext.h \
113         openbox/action.c \
114         openbox/action.h \
115         openbox/client.c \
116         openbox/client.h \
117         openbox/client_list_menu.c \
118         openbox/client_list_menu.h \
119         openbox/client_menu.c \
120         openbox/client_menu.h \
121         openbox/config.c \
122         openbox/config.h \
123         openbox/debug.c \
124         openbox/debug.h \
125         openbox/dock.c \
126         openbox/dock.h \
127         openbox/event.c \
128         openbox/event.h \
129         openbox/extensions.c \
130         openbox/extensions.h \
131         openbox/focus.c \
132         openbox/focus.h \
133         openbox/frame.c \
134         openbox/frame.h \
135         openbox/framerender.c \
136         openbox/framerender.h \
137         openbox/geom.h \
138         openbox/grab.c \
139         openbox/grab.h \
140         openbox/group.c \
141         openbox/group.h \
142         openbox/keyboard.c \
143         openbox/keyboard.h \
144         openbox/keytree.c \
145         openbox/keytree.h \
146         openbox/mainloop.c \
147         openbox/mainloop.h \
148         openbox/menuframe.c \
149         openbox/menuframe.h \
150         openbox/menu.c \
151         openbox/menu.h \
152         openbox/misc.h \
153         openbox/mouse.c \
154         openbox/mouse.h \
155         openbox/moveresize.c \
156         openbox/moveresize.h \
157         openbox/mwm.h \
158         openbox/openbox.c \
159         openbox/openbox.h \
160         openbox/place.c \
161         openbox/place.h \
162         openbox/popup.c \
163         openbox/popup.h \
164         openbox/prop.c \
165         openbox/prop.h \
166         openbox/resist.c \
167         openbox/resist.h \
168         openbox/screen.c \
169         openbox/screen.h \
170         openbox/session.c \
171         openbox/session.h \
172         openbox/stacking.c \
173         openbox/stacking.h \
174         openbox/startupnotify.c \
175         openbox/startupnotify.h \
176         openbox/translate.c \
177         openbox/translate.h \
178         openbox/window.c \
179         openbox/window.h \
180         openbox/xerror.c \
181         openbox/xerror.h
182
183
184 ## kdetrayproxy ##
185
186 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
187         $(X_CFLAGS)
188 tools_kdetrayproxy_kdetrayproxy_LDADD = \
189         $(X_LIBS)
190 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
191         tools/kdetrayproxy/kdetrayproxy.c
192
193
194 ## themes ##
195
196 allegro_themedir = $(themedir)/allegro
197 dist_allegro_theme_DATA = \
198         themes/allegro/themerc \
199         themes/allegro/bullet.xbm
200
201 artwiz_themedir = $(themedir)/artwiz
202 dist_artwiz_theme_DATA = \
203         themes/artwiz/themerc
204
205 blah41_themedir = $(themedir)/blah41
206 dist_blah41_theme_DATA = \
207         themes/blah41/themerc
208
209 om4ob_themedir = $(themedir)/om4ob
210 dist_om4ob_theme_DATA = \
211         themes/om4ob/themerc \
212         themes/om4ob/close_hover.xbm \
213         themes/om4ob/close.xbm \
214         themes/om4ob/desk_hover.xbm \
215         themes/om4ob/desk_toggled.xbm \
216         themes/om4ob/desk.xbm \
217         themes/om4ob/iconify_hover.xbm \
218         themes/om4ob/iconify_pressed.xbm \
219         themes/om4ob/iconify.xbm \
220         themes/om4ob/max_disabled.xbm \
221         themes/om4ob/max_hover.xbm \
222         themes/om4ob/max_pressed.xbm \
223         themes/om4ob/max_toggled.xbm \
224         themes/om4ob/max.xbm \
225         themes/om4ob/shade_disabled.xbm \
226         themes/om4ob/shade_hover.xbm \
227         themes/om4ob/shade_toggled.xbm \
228         themes/om4ob/shade.xbm
229
230 thebear_themedir = $(themedir)/thebear
231 dist_thebear_theme_DATA = \
232         themes/thebear/themerc
233
234
235 ## public headers ##
236
237 pubinclude_HEADERS = \
238         render/render.h \
239         render/theme.h \
240         parser/parse.h
241
242 nodist_pkgconfig_DATA = \
243         render/obrender-3.0.pc \
244         parser/obparser-3.0.pc
245
246 ## data ##
247
248 dist_rc_DATA = \
249         data/rc.xml \
250         data/menu.xml
251
252 dist_desktopfiles_DATA = \
253         data/openbox.desktop
254
255 dist_noinst_DATA = \
256         render/obrender-3.0.pc.in \
257         parser/obparser-3.0.pc.in \
258         tools/themeupdate/themeupdate.py
259
260 EXTRA_DIST = \
261         config.rpath \
262         mkinstalldirs \
263         README \
264         COPYING \
265         AUTHORS
266
267 #doc:
268 #       $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
269
270 distclean-local:
271         for d in . m4 po render; do \
272                 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
273                         rm -f "$$d/$$p"; \
274                 done \
275         done
276
277 .PHONY: doc