]> Dogcows Code - chaz/openbox/blob - Makefile.am
Added include_menu.c as an example of how one could write a plugin.
[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/stacking.c \
173 kernel/stacking.h \
174 kernel/startup.c \
175 kernel/startup.h \
176 kernel/timer.c \
177 kernel/timer.h \
178 kernel/window.c \
179 kernel/window.h \
180 kernel/xerror.c \
181 kernel/xerror.h \
182 plugins/interface.h
183
184 ## plugins/resistance ##
185
186 plugins_resistance_resistance_la_CPPFLAGS = \
187 $(XFT_CFLAGS) \
188 $(GLIB_CFLAGS) \
189 $(LIBSN_CFLAGS) \
190 $(XML_CFLAGS) \
191 -DPLUGINDIR=\"$(plugindir)\" \
192 -DG_LOG_DOMAIN=\"Plugin-Resistance\"
193 plugins_resistance_resistance_la_LDFLAGS = \
194 -module \
195 -avoid-version
196 plugins_resistance_resistance_la_SOURCES = \
197 plugins/resistance/resistance.c \
198 plugins/resistance/resistance.h
199
200 if OBCONF
201 plugins_resistance_resistance_config_la_CPPFLAGS = \
202 $(XFT_CFLAGS) \
203 $(GLIB_CFLAGS) \
204 $(LIBSN_CFLAGS) \
205 $(XML_CFLAGS) \
206 -DPLUGINDIR=\"$(plugindir)\" \
207 -DG_LOG_DOMAIN=\"Plugin-Resistance\" \
208 $(GTK_CFLAGS) \
209 $(GLADE_CFLAGS)
210 plugins_resistance_resistance_config_la_LDFLAGS = \
211 -module \
212 -avoid-version
213 plugins_resistance_resistance_config_la_SOURCES = \
214 plugins/resistance/resistance_config.c
215 endif
216
217 ## plugins/placement ##
218
219 plugins_placement_placement_la_CPPFLAGS = \
220 $(XFT_CFLAGS) \
221 $(GLIB_CFLAGS) \
222 $(LIBSN_CFLAGS) \
223 $(XML_CFLAGS) \
224 -DPLUGINDIR=\"$(plugindir)\" \
225 -DG_LOG_DOMAIN=\"Plugin-Placement\"
226 plugins_placement_placement_la_LDFLAGS = \
227 -module \
228 -avoid-version
229 plugins_placement_placement_la_SOURCES = \
230 plugins/placement/placement.c \
231 plugins/placement/history.c \
232 plugins/placement/history.h
233
234 ## plugins/mouse ##
235
236 plugins_mouse_mouse_la_CPPFLAGS = \
237 $(XFT_CFLAGS) \
238 $(GLIB_CFLAGS) \
239 $(LIBSN_CFLAGS) \
240 $(XML_CFLAGS) \
241 -DPLUGINDIR=\"$(plugindir)\" \
242 -DG_LOG_DOMAIN=\"Plugin-Mouse\"
243 plugins_mouse_mouse_la_LDFLAGS = \
244 -module \
245 -avoid-version
246 plugins_mouse_mouse_la_SOURCES = \
247 plugins/mouse/mouse.c \
248 plugins/mouse/mouse.h \
249 plugins/mouse/translate.c \
250 plugins/mouse/translate.h
251
252 ## plugins/mouse ##
253
254 plugins_keyboard_keyboard_la_CPPFLAGS = \
255 $(XFT_CFLAGS) \
256 $(GLIB_CFLAGS) \
257 $(LIBSN_CFLAGS) \
258 $(XML_CFLAGS) \
259 -DPLUGINDIR=\"$(plugindir)\" \
260 -DG_LOG_DOMAIN=\"Plugin-Keyboard\"
261 plugins_keyboard_keyboard_la_LDFLAGS = \
262 -module \
263 -avoid-version
264 plugins_keyboard_keyboard_la_SOURCES = \
265 plugins/keyboard/keyboard.c \
266 plugins/keyboard/keyboard.h \
267 plugins/keyboard/tree.c \
268 plugins/keyboard/tree.h \
269 plugins/keyboard/translate.c \
270 plugins/keyboard/translate.h
271
272 ## plugins/menu ##
273
274 plugins_menu_timed_menu_la_CPPFLAGS = \
275 $(XFT_CFLAGS) \
276 $(GLIB_CFLAGS) \
277 $(LIBSN_CFLAGS) \
278 $(XML_CFLAGS) \
279 -DPLUGINDIR=\"$(plugindir)\" \
280 -DG_LOG_DOMAIN=\"Plugin-Timed-Menu\"
281 plugins_menu_timed_menu_la_LDFLAGS = \
282 -module \
283 -avoid-version
284 plugins_menu_timed_menu_la_SOURCES = \
285 plugins/menu/timed_menu.c \
286 plugins/menu/timed_menu.h
287
288 plugins_menu_fifo_menu_la_CPPFLAGS = \
289 $(XFT_CFLAGS) \
290 $(GLIB_CFLAGS) \
291 $(LIBSN_CFLAGS) \
292 $(XML_CFLAGS) \
293 -DPLUGINDIR=\"$(plugindir)\" \
294 -DG_LOG_DOMAIN=\"Plugin-Fifo-Menu\"
295 plugins_menu_fifo_menu_la_LDFLAGS = \
296 -module \
297 -avoid-version
298 plugins_menu_fifo_menu_la_SOURCES = \
299 plugins/menu/fifo_menu.c \
300 plugins/menu/fifo_menu.h
301
302 plugins_menu_client_menu_la_CPPFLAGS = \
303 $(XFT_CFLAGS) \
304 $(GLIB_CFLAGS) \
305 $(LIBSN_CFLAGS) \
306 $(XML_CFLAGS) \
307 -DPLUGINDIR=\"$(plugindir)\" \
308 -DG_LOG_DOMAIN=\"Plugin-Client-Menu\"
309 plugins_menu_client_menu_la_LDFLAGS = \
310 -module \
311 -avoid-version
312 plugins_menu_client_menu_la_SOURCES = \
313 plugins/menu/client_menu.c \
314 plugins/menu/client_menu.h
315
316 plugins_menu_include_menu_la_CPPFLAGS = \
317 $(XFT_CFLAGS) \
318 $(GLIB_CFLAGS) \
319 $(LIBSN_CFLAGS) \
320 $(XML_CFLAGS) \
321 -DPLUGINDIR=\"$(plugindir)\" \
322 -DG_LOG_DOMAIN=\"Plugin-Include-Menu\"
323 plugins_menu_include_menu_la_LDFLAGS = \
324 -module \
325 -avoid-version
326 plugins_menu_include_menu_la_SOURCES = \
327 plugins/menu/include_menu.c \
328 plugins/menu/include_menu.h
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 AUTHOR
393
394 #doc:
395 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
396
397 distclean-local:
398 for d in . m4 po render; do \
399 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
400 $(RM) "$$d/$$p"; \
401 done \
402 done
403
404 .PHONY: doc
This page took 0.049955 seconds and 4 git commands to generate.