]> icculus.org git repositories - dana/openbox.git/blob - Makefile.am
get the current time when adding timers
[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 pixmapdir       = $(datadir)/pixmaps
8
9 theme = thebear
10
11 AUTOMAKE_OPTIONS = subdir-objects
12 ACLOCAL_AMFLAGS = -I m4
13
14 INCLUDES = -I.
15
16 noinst_PROGRAMS = \
17         render/rendertest
18
19 lib_LTLIBRARIES = \
20         render/libobrender.la \
21         parser/libobparser.la
22
23 bin_PROGRAMS = \
24         openbox/openbox \
25         tools/kdetrayproxy/kdetrayproxy
26
27 if OBCONF
28 bin_PROGRAMS += \
29         tools/obconf/obconf
30 endif
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         -DG_LOG_DOMAIN=\"ObRender\" \
46         -DDEFAULT_THEME=\"$(theme)\" \
47         -DTHEMEDIR=\"$(themedir)\"
48 render_libobrender_la_LIBADD = \
49         $(X_LIBS) \
50         $(XFT_LIBS) \
51         $(GLIB_LIBS)
52 render_libobrender_la_SOURCES = \
53         gettext.h \
54         render/color.h \
55         render/color.c \
56         render/font.h \
57         render/font.c \
58         render/geom.h \
59         render/gradient.h \
60         render/gradient.c \
61         render/image.h \
62         render/image.c \
63         render/instance.h \
64         render/instance.c \
65         render/mask.h \
66         render/mask.c \
67         render/render.h \
68         render/render.c \
69         render/theme.h \
70         render/theme.c
71
72 ## parser ##
73
74 parser_libobparser_la_CPPFLAGS = \
75         $(GLIB_CFLAGS) \
76         $(XML_CFLAGS) \
77         -DG_LOG_DOMAIN=\"ObParser\" \
78         -DLOCALEDIR=\"$(localedir)\" \
79         -DRCDIR=\"$(rcdir)\"
80 parser_libobparser_la_LIBADD = \
81         $(GLIB_LIBS) \
82         $(XML_LIBS)
83 parser_libobparser_la_SOURCES = \
84         parser/parse.h \
85         parser/parse.c
86
87 ## openbox ##
88
89 openbox_openbox_CPPFLAGS = \
90         $(X_CFLAGS) \
91         $(SM_CFLAGS) \
92         $(XFT_CFLAGS) \
93         $(GLIB_CFLAGS) \
94         $(LIBSN_CFLAGS) \
95         $(XML_CFLAGS) \
96         -DLOCALEDIR=\"$(localedir)\" \
97         -DRCDIR=\"$(rcdir)\" \
98         -DG_LOG_DOMAIN=\"Openbox\"
99 openbox_openbox_LDADD = \
100         $(SM_LIBS) \
101         $(XINERAMA_LIBS) \
102         $(XKB_LIBS) \
103         $(XRANDR_LIBS) \
104         $(VIDMODE_LIBS) \
105         $(XSHAPE_LIBS) \
106         $(GLIB_LIBS) \
107         $(LIBSN_LIBS) \
108         $(XML_LIBS) \
109         $(EFENCE_LIBS) \
110         $(LIBINTL) \
111         render/libobrender.la \
112         parser/libobparser.la
113 openbox_openbox_LDFLAGS = -export-dynamic
114 openbox_openbox_SOURCES = \
115         gettext.h \
116         openbox/action.c \
117         openbox/action.h \
118         openbox/client.c \
119         openbox/client.h \
120         openbox/client_list_menu.c \
121         openbox/client_list_menu.h \
122         openbox/client_menu.c \
123         openbox/client_menu.h \
124         openbox/config.c \
125         openbox/config.h \
126         openbox/debug.c \
127         openbox/debug.h \
128         openbox/dock.c \
129         openbox/dock.h \
130         openbox/event.c \
131         openbox/event.h \
132         openbox/extensions.c \
133         openbox/extensions.h \
134         openbox/focus.c \
135         openbox/focus.h \
136         openbox/frame.c \
137         openbox/frame.h \
138         openbox/framerender.c \
139         openbox/framerender.h \
140         openbox/geom.h \
141         openbox/grab.c \
142         openbox/grab.h \
143         openbox/group.c \
144         openbox/group.h \
145         openbox/keyboard.c \
146         openbox/keyboard.h \
147         openbox/keytree.c \
148         openbox/keytree.h \
149         openbox/mainloop.c \
150         openbox/mainloop.h \
151         openbox/menuframe.c \
152         openbox/menuframe.h \
153         openbox/menu.c \
154         openbox/menu.h \
155         openbox/misc.h \
156         openbox/mouse.c \
157         openbox/mouse.h \
158         openbox/moveresize.c \
159         openbox/moveresize.h \
160         openbox/mwm.h \
161         openbox/openbox.c \
162         openbox/openbox.h \
163         openbox/place.c \
164         openbox/place.h \
165         openbox/popup.c \
166         openbox/popup.h \
167         openbox/prop.c \
168         openbox/prop.h \
169         openbox/resist.c \
170         openbox/resist.h \
171         openbox/screen.c \
172         openbox/screen.h \
173         openbox/session.c \
174         openbox/session.h \
175         openbox/stacking.c \
176         openbox/stacking.h \
177         openbox/startup.c \
178         openbox/startup.h \
179         openbox/translate.c \
180         openbox/translate.h \
181         openbox/window.c \
182         openbox/window.h \
183         openbox/xerror.c \
184         openbox/xerror.h
185
186 ## obconf ##
187
188 tools_obconf_obconf_CPPFLAGS = \
189         $(GTK_CFLAGS) \
190         $(GDK_PIXBUF_CFLAGS) \
191         $(XML_CFLAGS) \
192         -DLOCALEDIR=\"$(localedir)\" \
193         -DRCDIR=\"$(rcdir)\" \
194         -DPIXMAPDIR=\"$(pixmapdir)\" \
195         -DG_LOG_DOMAIN=\"Obconf\"
196 tools_obconf_obconf_LDADD = \
197         $(GTK_LIBS) \
198         $(GDK_PIXBUF_LIBS) \
199         $(LIBINTL) \
200         render/libobrender.la \
201         parser/libobparser.la
202 tools_obconf_obconf_SOURCES = \
203         gettext.h \
204         tools/obconf/main.c
205
206
207 ## kdetrayproxy ##
208
209 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
210         $(X_CFLAGS)
211 tools_kdetrayproxy_kdetrayproxy_LDADD = \
212         $(X_LIBS)
213 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
214         tools/kdetrayproxy/kdetrayproxy.c
215
216
217 ## themes ##
218
219 thebear_themedir = $(themedir)/thebear
220 dist_thebear_theme_DATA = \
221         themes/thebear/themerc
222
223 planton_themedir = $(themedir)/planton
224 dist_planton_theme_DATA = \
225         themes/planton/themerc \
226         themes/planton/max.xbm \
227         themes/planton/max_toggled.xbm \
228         themes/planton/desk.xbm \
229         themes/planton/desk_toggled.xbm \
230         themes/planton/shade.xbm \
231         themes/planton/shade_toggled.xbm \
232         themes/planton/iconify.xbm \
233         themes/planton/close.xbm
234
235 lightindustry_themedir = $(themedir)/Light-Industry
236 dist_lightindustry_theme_DATA = \
237         themes/Light-Industry/themerc \
238         themes/Light-Industry/max.xbm \
239         themes/Light-Industry/iconify.xbm \
240         themes/Light-Industry/close.xbm
241
242 lightindustrybig_themedir = $(themedir)/Light-Industry-big
243 dist_lightindustrybig_theme_DATA = \
244         themes/Light-Industry-big/themerc \
245         themes/Light-Industry-big/max.xbm \
246         themes/Light-Industry-big/iconify.xbm \
247         themes/Light-Industry-big/close.xbm
248
249 imerry_themedir = $(themedir)/I-merry
250 dist_imerry_theme_DATA = \
251         themes/I-merry/themerc \
252         themes/I-merry/max.xbm \
253         themes/I-merry/iconify.xbm \
254         themes/I-merry/close.xbm
255
256 greenz_themedir = $(themedir)/greenz
257 dist_greenz_theme_DATA = \
258         themes/greenz/themerc
259
260 bbstyle_themedir = $(themedir)/BBstylE
261 dist_bbstyle_theme_DATA = \
262         themes/BBstylE/themerc \
263         themes/BBstylE/max.xbm \
264         themes/BBstylE/max_toggled.xbm \
265         themes/BBstylE/desk.xbm \
266         themes/BBstylE/desk_toggled.xbm \
267         themes/BBstylE/shade.xbm \
268         themes/BBstylE/shade_toggled.xbm \
269         themes/BBstylE/iconify.xbm \
270         themes/BBstylE/close.xbm
271
272 om4ob_themedir = $(themedir)/om4ob
273 dist_om4ob_theme_DATA = \
274         themes/om4ob/themerc \
275         themes/om4ob/close_hover.xbm \
276         themes/om4ob/close.xbm \
277         themes/om4ob/desk_hover.xbm \
278         themes/om4ob/desk_toggled.xbm \
279         themes/om4ob/desk.xbm \
280         themes/om4ob/iconify_hover.xbm \
281         themes/om4ob/iconify_pressed.xbm \
282         themes/om4ob/iconify.xbm \
283         themes/om4ob/max_disabled.xbm \
284         themes/om4ob/max_hover.xbm \
285         themes/om4ob/max_pressed.xbm \
286         themes/om4ob/max_toggled.xbm \
287         themes/om4ob/max.xbm \
288         themes/om4ob/shade_disabled.xbm \
289         themes/om4ob/shade_hover.xbm \
290         themes/om4ob/shade_toggled.xbm \
291         themes/om4ob/shade.xbm
292
293
294 ## data ##
295
296 dist_rc_DATA = \
297         data/rc3 \
298         data/menu
299
300 dist_desktopfiles_DATA = \
301         data/openbox.desktop
302
303 EXTRA_DIST = \
304         config.rpath \
305         mkinstalldirs \
306         README \
307         COPYING \
308         AUTHORS
309
310 #doc:
311 #       $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
312
313 distclean-local:
314         for d in . m4 po render; do \
315                 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
316                         rm -f "$$d/$$p"; \
317                 done \
318         done
319
320 .PHONY: doc