]> icculus.org git repositories - dana/openbox.git/blob - Makefile.am
make both focusDelay and hideTimeout in milliseconds
[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/image.h \
58         render/image.c \
59         render/instance.h \
60         render/instance.c \
61         render/mask.h \
62         render/mask.c \
63         render/render.h \
64         render/render.c \
65         render/theme.h \
66         render/theme.c
67
68 ## parser ##
69
70 parser_libobparser_la_CPPFLAGS = \
71         $(GLIB_CFLAGS) \
72         $(XML_CFLAGS) \
73         -DG_LOG_DOMAIN=\"ObParser\" \
74         -DLOCALEDIR=\"$(localedir)\" \
75         -DRCDIR=\"$(rcdir)\"
76 parser_libobparser_la_LIBADD = \
77         $(GLIB_LIBS) \
78         $(XML_LIBS)
79 parser_libobparser_la_SOURCES = \
80         parser/parse.h \
81         parser/parse.c
82
83 ## openbox ##
84
85 openbox_openbox_CPPFLAGS = \
86         $(X_CFLAGS) \
87         $(SM_CFLAGS) \
88         $(XFT_CFLAGS) \
89         $(GLIB_CFLAGS) \
90         $(LIBSN_CFLAGS) \
91         $(XML_CFLAGS) \
92         -DLOCALEDIR=\"$(localedir)\" \
93         -DRCDIR=\"$(rcdir)\" \
94         -DG_LOG_DOMAIN=\"Openbox\"
95 openbox_openbox_LDADD = \
96         $(SM_LIBS) \
97         $(XINERAMA_LIBS) \
98         $(XKB_LIBS) \
99         $(XRANDR_LIBS) \
100         $(VIDMODE_LIBS) \
101         $(XSHAPE_LIBS) \
102         $(GLIB_LIBS) \
103         $(LIBSN_LIBS) \
104         $(XML_LIBS) \
105         $(EFENCE_LIBS) \
106         $(LIBINTL) \
107         render/libobrender.la \
108         parser/libobparser.la
109 openbox_openbox_LDFLAGS = -export-dynamic
110 openbox_openbox_SOURCES = \
111         gettext.h \
112         openbox/action.c \
113         openbox/action.h \
114         openbox/client.c \
115         openbox/client.h \
116         openbox/client_list_menu.c \
117         openbox/client_list_menu.h \
118         openbox/client_menu.c \
119         openbox/client_menu.h \
120         openbox/config.c \
121         openbox/config.h \
122         openbox/debug.c \
123         openbox/debug.h \
124         openbox/dock.c \
125         openbox/dock.h \
126         openbox/event.c \
127         openbox/event.h \
128         openbox/extensions.c \
129         openbox/extensions.h \
130         openbox/focus.c \
131         openbox/focus.h \
132         openbox/frame.c \
133         openbox/frame.h \
134         openbox/framerender.c \
135         openbox/framerender.h \
136         openbox/geom.h \
137         openbox/grab.c \
138         openbox/grab.h \
139         openbox/group.c \
140         openbox/group.h \
141         openbox/keyboard.c \
142         openbox/keyboard.h \
143         openbox/keytree.c \
144         openbox/keytree.h \
145         openbox/mainloop.c \
146         openbox/mainloop.h \
147         openbox/menuframe.c \
148         openbox/menuframe.h \
149         openbox/menu.c \
150         openbox/menu.h \
151         openbox/misc.h \
152         openbox/mouse.c \
153         openbox/mouse.h \
154         openbox/moveresize.c \
155         openbox/moveresize.h \
156         openbox/mwm.h \
157         openbox/openbox.c \
158         openbox/openbox.h \
159         openbox/place.c \
160         openbox/place.h \
161         openbox/popup.c \
162         openbox/popup.h \
163         openbox/prop.c \
164         openbox/prop.h \
165         openbox/resist.c \
166         openbox/resist.h \
167         openbox/screen.c \
168         openbox/screen.h \
169         openbox/session.c \
170         openbox/session.h \
171         openbox/stacking.c \
172         openbox/stacking.h \
173         openbox/startupnotify.c \
174         openbox/startupnotify.h \
175         openbox/translate.c \
176         openbox/translate.h \
177         openbox/window.c \
178         openbox/window.h \
179         openbox/xerror.c \
180         openbox/xerror.h
181
182
183 ## kdetrayproxy ##
184
185 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
186         $(X_CFLAGS)
187 tools_kdetrayproxy_kdetrayproxy_LDADD = \
188         $(X_LIBS)
189 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
190         tools/kdetrayproxy/kdetrayproxy.c
191
192
193 ## themes ##
194
195 allegro_themedir = $(themedir)/allegro
196 dist_allegro_theme_DATA = \
197         themes/allegro/themerc \
198         themes/allegro/bullet.xbm
199
200 artwiz_themedir = $(themedir)/artwiz
201 dist_artwiz_theme_DATA = \
202         themes/artwiz/themerc
203
204 blah41_themedir = $(themedir)/blah41
205 dist_blah41_theme_DATA = \
206         themes/blah41/themerc
207
208 om4ob_themedir = $(themedir)/om4ob
209 dist_om4ob_theme_DATA = \
210         themes/om4ob/themerc \
211         themes/om4ob/close_hover.xbm \
212         themes/om4ob/close.xbm \
213         themes/om4ob/desk_hover.xbm \
214         themes/om4ob/desk_toggled.xbm \
215         themes/om4ob/desk.xbm \
216         themes/om4ob/iconify_hover.xbm \
217         themes/om4ob/iconify_pressed.xbm \
218         themes/om4ob/iconify.xbm \
219         themes/om4ob/max_disabled.xbm \
220         themes/om4ob/max_hover.xbm \
221         themes/om4ob/max_pressed.xbm \
222         themes/om4ob/max_toggled.xbm \
223         themes/om4ob/max.xbm \
224         themes/om4ob/shade_disabled.xbm \
225         themes/om4ob/shade_hover.xbm \
226         themes/om4ob/shade_toggled.xbm \
227         themes/om4ob/shade.xbm
228
229 thebear_themedir = $(themedir)/thebear
230 dist_thebear_theme_DATA = \
231         themes/thebear/themerc
232
233
234 ## public headers ##
235
236 pubinclude_HEADERS = \
237         render/render.h \
238         render/theme.h \
239         parser/parse.h
240
241 nodist_pkgconfig_DATA = \
242         render/obrender-3.0.pc \
243         parser/obparser-3.0.pc
244
245 ## data ##
246
247 dist_rc_DATA = \
248         data/rc.xml \
249         data/menu.xml
250
251 dist_desktopfiles_DATA = \
252         data/openbox.desktop
253
254 dist_noinst_DATA = \
255         tools/themeupdate/themeupdate.py
256
257 EXTRA_DIST = \
258         config.rpath \
259         mkinstalldirs \
260         README \
261         COPYING \
262         AUTHORS
263
264 #doc:
265 #       $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
266
267 distclean-local:
268         for d in . m4 po render; do \
269                 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
270                         rm -f "$$d/$$p"; \
271                 done \
272         done
273
274 .PHONY: doc