]> Dogcows Code - chaz/openbox/blob - Makefile.am
save and load the session save file, though its data is not used yet!
[chaz/openbox] / Makefile.am
1 SUBDIRS = m4 po
2
3 themedir = $(datadir)/openbox/themes
4 localedir = $(datadir)/locale
5 rcdir = $(datadir)/openbox
6 plugindir = $(libdir)/openbox/plugins
7 desktopfilesdir = $(datadir)/gnome/wm-properties
8
9 theme = operation
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 kernel/openbox
25
26 plugin_LTLIBRARIES = \
27 plugins/resistance/resistance.la \
28 plugins/placement/placement.la \
29 plugins/mouse/mouse.la \
30 plugins/keyboard/keyboard.la \
31 plugins/menu/timed_menu.la \
32 plugins/menu/fifo_menu.la \
33 plugins/menu/client_menu.la \
34 plugins/menu/include_menu.la
35
36 if OBCONF
37 plugin_LTLIBRARIES += \
38 plugins/resistance/resistance-config.la
39 endif
40
41 ## render ##
42
43 render_rendertest_CPPFLAGS = \
44 $(XFT_CFLAGS) \
45 $(GLIB_CFLAGS) \
46 -DG_LOG_DOMAIN=\"RenderTest\"
47 render_rendertest_LDADD = render/libobrender.la
48 render_rendertest_SOURCES = render/test.c
49
50 render_libobrender_la_CPPFLAGS = \
51 $(X_CFLAGS) \
52 $(XFT_CFLAGS) \
53 $(GLIB_CFLAGS) \
54 -DG_LOG_DOMAIN=\"ObRender\" \
55 -DDEFAULT_THEME=\"$(theme)\" \
56 -DTHEMEDIR=\"$(themedir)\"
57 render_libobrender_la_LIBADD = \
58 $(X_LIBS) \
59 $(XFT_LIBS) \
60 $(GLIB_LIBS)
61 render_libobrender_la_SOURCES = \
62 gettext.h \
63 render/color.h \
64 render/color.c \
65 render/font.h \
66 render/font.c \
67 render/geom.h \
68 render/gradient.h \
69 render/gradient.c \
70 render/image.h \
71 render/image.c \
72 render/instance.h \
73 render/instance.c \
74 render/mask.h \
75 render/mask.c \
76 render/render.h \
77 render/render.c \
78 render/theme.h \
79 render/theme.c
80
81 ## parser ##
82
83 parser_libobparser_la_CPPFLAGS = \
84 $(GLIB_CFLAGS) \
85 $(XML_CFLAGS) \
86 -DG_LOG_DOMAIN=\"ObParser\" \
87 -DLOCALEDIR=\"$(localedir)\" \
88 -DRCDIR=\"$(rcdir)\"
89 parser_libobparser_la_LIBADD = \
90 $(GLIB_LIBS) \
91 $(XML_LIBS)
92 parser_libobparser_la_SOURCES = \
93 parser/parse.h \
94 parser/parse.c
95
96 ## kernel ##
97
98 kernel_openbox_CPPFLAGS = \
99 $(X_CFLAGS) \
100 $(SM_CFLAGS) \
101 $(XFT_CFLAGS) \
102 $(GLIB_CFLAGS) \
103 $(GMODULE_CFLAGS) \
104 $(LIBSN_CFLAGS) \
105 $(XML_CFLAGS) \
106 -DLOCALEDIR=\"$(localedir)\" \
107 -DPLUGINDIR=\"$(plugindir)\" \
108 -DRCDIR=\"$(rcdir)\" \
109 -DG_LOG_DOMAIN=\"Openbox\"
110 kernel_openbox_LDADD = \
111 $(SM_LIBS) \
112 $(XINERAMA_LIBS) \
113 $(XKB_LIBS) \
114 $(XRANDR_LIBS) \
115 $(VIDMODE_LIBS) \
116 $(XSHAPE_LIBS) \
117 $(GLIB_LIBS) \
118 $(GMODULE_LIBS) \
119 $(LIBSN_LIBS) \
120 $(XML_LIBS) \
121 $(EFENCE_LIBS) \
122 $(LIBINTL) \
123 render/libobrender.la \
124 parser/libobparser.la
125 kernel_openbox_LDFLAGS = -export-dynamic
126 kernel_openbox_SOURCES = \
127 gettext.h \
128 kernel/action.c \
129 kernel/action.h \
130 kernel/client.c \
131 kernel/client.h \
132 kernel/config.c \
133 kernel/config.h \
134 kernel/debug.c \
135 kernel/debug.h \
136 kernel/dispatch.c \
137 kernel/dispatch.h \
138 kernel/dock.c \
139 kernel/dock.h \
140 kernel/event.c \
141 kernel/event.h \
142 kernel/extensions.c \
143 kernel/extensions.h \
144 kernel/focus.c \
145 kernel/focus.h \
146 kernel/frame.c \
147 kernel/frame.h \
148 kernel/framerender.c \
149 kernel/framerender.h \
150 kernel/geom.h \
151 kernel/grab.c \
152 kernel/grab.h \
153 kernel/group.c \
154 kernel/group.h \
155 kernel/menu.c \
156 kernel/menu.h \
157 kernel/menu_render.c \
158 kernel/misc.h \
159 kernel/moveresize.c \
160 kernel/moveresize.h \
161 kernel/mwm.h \
162 kernel/openbox.c \
163 kernel/openbox.h \
164 kernel/plugin.c \
165 kernel/plugin.h \
166 kernel/popup.c \
167 kernel/popup.h \
168 kernel/prop.c \
169 kernel/prop.h \
170 kernel/screen.c \
171 kernel/screen.h \
172 kernel/session.c \
173 kernel/session.h \
174 kernel/stacking.c \
175 kernel/stacking.h \
176 kernel/startup.c \
177 kernel/startup.h \
178 kernel/timer.c \
179 kernel/timer.h \
180 kernel/window.c \
181 kernel/window.h \
182 kernel/xerror.c \
183 kernel/xerror.h \
184 plugins/interface.h
185
186 ## plugins/resistance ##
187
188 plugins_resistance_resistance_la_CPPFLAGS = \
189 $(XFT_CFLAGS) \
190 $(GLIB_CFLAGS) \
191 $(LIBSN_CFLAGS) \
192 $(XML_CFLAGS) \
193 -DPLUGINDIR=\"$(plugindir)\" \
194 -DG_LOG_DOMAIN=\"Plugin-Resistance\"
195 plugins_resistance_resistance_la_LDFLAGS = \
196 -module \
197 -avoid-version
198 plugins_resistance_resistance_la_SOURCES = \
199 plugins/resistance/resistance.c \
200 plugins/resistance/resistance.h
201
202 if OBCONF
203 plugins_resistance_resistance_config_la_CPPFLAGS = \
204 $(XFT_CFLAGS) \
205 $(GLIB_CFLAGS) \
206 $(LIBSN_CFLAGS) \
207 $(XML_CFLAGS) \
208 -DPLUGINDIR=\"$(plugindir)\" \
209 -DG_LOG_DOMAIN=\"Plugin-Resistance\" \
210 $(GTK_CFLAGS) \
211 $(GLADE_CFLAGS)
212 plugins_resistance_resistance_config_la_LDFLAGS = \
213 -module \
214 -avoid-version
215 plugins_resistance_resistance_config_la_SOURCES = \
216 plugins/resistance/resistance_config.c
217 endif
218
219 ## plugins/placement ##
220
221 plugins_placement_placement_la_CPPFLAGS = \
222 $(XFT_CFLAGS) \
223 $(GLIB_CFLAGS) \
224 $(LIBSN_CFLAGS) \
225 $(XML_CFLAGS) \
226 -DPLUGINDIR=\"$(plugindir)\" \
227 -DG_LOG_DOMAIN=\"Plugin-Placement\"
228 plugins_placement_placement_la_LDFLAGS = \
229 -module \
230 -avoid-version
231 plugins_placement_placement_la_SOURCES = \
232 plugins/placement/placement.c \
233 plugins/placement/history.c \
234 plugins/placement/history.h
235
236 ## plugins/mouse ##
237
238 plugins_mouse_mouse_la_CPPFLAGS = \
239 $(XFT_CFLAGS) \
240 $(GLIB_CFLAGS) \
241 $(LIBSN_CFLAGS) \
242 $(XML_CFLAGS) \
243 -DPLUGINDIR=\"$(plugindir)\" \
244 -DG_LOG_DOMAIN=\"Plugin-Mouse\"
245 plugins_mouse_mouse_la_LDFLAGS = \
246 -module \
247 -avoid-version
248 plugins_mouse_mouse_la_SOURCES = \
249 plugins/mouse/mouse.c \
250 plugins/mouse/mouse.h \
251 plugins/mouse/translate.c \
252 plugins/mouse/translate.h
253
254 ## plugins/mouse ##
255
256 plugins_keyboard_keyboard_la_CPPFLAGS = \
257 $(XFT_CFLAGS) \
258 $(GLIB_CFLAGS) \
259 $(LIBSN_CFLAGS) \
260 $(XML_CFLAGS) \
261 -DPLUGINDIR=\"$(plugindir)\" \
262 -DG_LOG_DOMAIN=\"Plugin-Keyboard\"
263 plugins_keyboard_keyboard_la_LDFLAGS = \
264 -module \
265 -avoid-version
266 plugins_keyboard_keyboard_la_SOURCES = \
267 plugins/keyboard/keyboard.c \
268 plugins/keyboard/keyboard.h \
269 plugins/keyboard/tree.c \
270 plugins/keyboard/tree.h \
271 plugins/keyboard/translate.c \
272 plugins/keyboard/translate.h
273
274 ## plugins/menu ##
275
276 plugins_menu_timed_menu_la_CPPFLAGS = \
277 $(XFT_CFLAGS) \
278 $(GLIB_CFLAGS) \
279 $(LIBSN_CFLAGS) \
280 $(XML_CFLAGS) \
281 -DPLUGINDIR=\"$(plugindir)\" \
282 -DG_LOG_DOMAIN=\"Plugin-Timed-Menu\"
283 plugins_menu_timed_menu_la_LDFLAGS = \
284 -module \
285 -avoid-version
286 plugins_menu_timed_menu_la_SOURCES = \
287 plugins/menu/timed_menu.c \
288 plugins/menu/timed_menu.h
289
290 plugins_menu_fifo_menu_la_CPPFLAGS = \
291 $(XFT_CFLAGS) \
292 $(GLIB_CFLAGS) \
293 $(LIBSN_CFLAGS) \
294 $(XML_CFLAGS) \
295 -DPLUGINDIR=\"$(plugindir)\" \
296 -DG_LOG_DOMAIN=\"Plugin-Fifo-Menu\"
297 plugins_menu_fifo_menu_la_LDFLAGS = \
298 -module \
299 -avoid-version
300 plugins_menu_fifo_menu_la_SOURCES = \
301 plugins/menu/fifo_menu.c \
302 plugins/menu/fifo_menu.h
303
304 plugins_menu_client_menu_la_CPPFLAGS = \
305 $(XFT_CFLAGS) \
306 $(GLIB_CFLAGS) \
307 $(LIBSN_CFLAGS) \
308 $(XML_CFLAGS) \
309 -DPLUGINDIR=\"$(plugindir)\" \
310 -DG_LOG_DOMAIN=\"Plugin-Client-Menu\"
311 plugins_menu_client_menu_la_LDFLAGS = \
312 -module \
313 -avoid-version
314 plugins_menu_client_menu_la_SOURCES = \
315 plugins/menu/client_menu.c
316
317 plugins_menu_include_menu_la_CPPFLAGS = \
318 $(XFT_CFLAGS) \
319 $(GLIB_CFLAGS) \
320 $(LIBSN_CFLAGS) \
321 $(XML_CFLAGS) \
322 -DPLUGINDIR=\"$(plugindir)\" \
323 -DG_LOG_DOMAIN=\"Plugin-Include-Menu\"
324 plugins_menu_include_menu_la_LDFLAGS = \
325 -module \
326 -avoid-version
327 plugins_menu_include_menu_la_SOURCES = \
328 plugins/menu/include_menu.c
329
330
331 ## themes ##
332
333 dist_theme_DATA = \
334 themes/artwiz \
335 themes/bbs \
336 themes/bluebox \
337 themes/cthulhain \
338 themes/deep \
339 themes/ebox \
340 themes/fieron \
341 themes/fieron2 \
342 themes/flux \
343 themes/frobozz \
344 themes/frobust \
345 themes/mbdtex \
346 themes/miklos \
347 themes/nyz \
348 themes/nyzclone \
349 themes/ob20 \
350 themes/operation \
351 themes/outcomes \
352 themes/paper \
353 themes/purplehaaze \
354 themes/shade \
355 themes/steelblue \
356 themes/steelblue2 \
357 themes/the_orange \
358 themes/trisb \
359 themes/twice \
360 themes/warp-xp
361
362 fieronthemedir = $(themedir)/fieron_data
363 dist_fierontheme_DATA = \
364 themes/fieron_data/close.xbm \
365 themes/fieron_data/iconify.xbm \
366 themes/fieron_data/max.xbm \
367 themes/fieron_data/stick.xbm
368
369 fieron2themedir = $(themedir)/fieron2_data
370 dist_fieron2theme_DATA = \
371 themes/fieron2_data/close.xbm \
372 themes/fieron2_data/iconify.xbm \
373 themes/fieron2_data/max.xbm \
374 themes/fieron2_data/stick.xbm
375
376 eboxthemedir = $(themedir)/ebox_data
377 dist_eboxtheme_DATA = \
378 themes/ebox_data/close.xbm \
379 themes/ebox_data/iconify.xbm \
380 themes/ebox_data/max.xbm
381
382 ## data ##
383
384 dist_rc_DATA = \
385 data/rc3
386
387 EXTRA_DIST = \
388 config.rpath \
389 mkinstalldirs \
390 README \
391 COPYING \
392 AUTHORS \
393 plugins/obconf_interface.h
394
395 #doc:
396 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
397
398 distclean-local:
399 for d in . m4 po render; do \
400 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
401 rm -f "$$d/$$p"; \
402 done \
403 done
404
405 .PHONY: doc
This page took 0.048513 seconds and 4 git commands to generate.