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