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