]> Dogcows Code - chaz/openbox/blob - Makefile.am
don't use it actually. it's confusing.
[chaz/openbox] / Makefile.am
1 SUBDIRS = m4 po
2
3 docxbmdir = $(docdir)/xbm
4 themedir = $(datadir)/themes
5 localedir = $(datadir)/locale
6 configdir = $(sysconfdir)/xdg
7 rcdir = $(configdir)/openbox
8 xsessionsdir = $(datadir)/xsessions
9 gnomewmfilesdir = $(datadir)/gnome/wm-properties
10 pkgconfigdir = $(libdir)/pkgconfig
11 pubincludedir = $(includedir)/openbox/@OB_VERSION@/openbox
12 pixmapdir = $(datadir)/pixmaps
13 xsddir = $(datadir)/openbox
14
15 theme = Clearlooks
16
17 AUTOMAKE_OPTIONS = subdir-objects foreign
18
19 ACLOCAL_AMFLAGS = -I m4
20
21 INCLUDES = -I.
22
23 check_PROGRAMS = \
24 render/rendertest
25
26 lib_LTLIBRARIES = \
27 parser/libobparser.la \
28 render/libobrender.la
29
30 bin_PROGRAMS = \
31 openbox/openbox \
32 tools/gnome-panel-control/gnome-panel-control
33
34 bin_SCRIPTS = \
35 data/xsession/openbox-gnome-session \
36 data/xsession/openbox-kde-session
37
38 noinst_PROGRAMS = \
39 tools/themetoxml/themetoxml
40
41 ## render ##
42
43 render_rendertest_CPPFLAGS = \
44 $(PANGO_CFLAGS) \
45 $(GLIB_CFLAGS) \
46 -DG_LOG_DOMAIN=\"RenderTest\"
47 render_rendertest_LDADD = \
48 parser/libobparser.la \
49 render/libobrender.la \
50 $(GLIB_LIBS) \
51 $(PANGO_LIBS) \
52 $(XML_LIBS) \
53 $(X_LIBS)
54 render_rendertest_SOURCES = render/test.c
55
56 render_libobrender_la_CPPFLAGS = \
57 $(X_CFLAGS) \
58 $(GLIB_CFLAGS) \
59 $(XML_CFLAGS) \
60 $(PANGO_CFLAGS) \
61 -DG_LOG_DOMAIN=\"ObRender\" \
62 -DDEFAULT_THEME=\"$(theme)\"
63 render_libobrender_la_LDFLAGS = \
64 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
65 render_libobrender_la_LIBADD = \
66 parser/libobparser.la \
67 $(X_LIBS) \
68 $(PANGO_LIBS) \
69 $(GLIB_LIBS) \
70 $(XML_LIBS)
71 render_libobrender_la_SOURCES = \
72 gettext.h \
73 render/color.h \
74 render/color.c \
75 render/font.h \
76 render/font.c \
77 render/geom.h \
78 render/gradient.h \
79 render/gradient.c \
80 render/icon.h \
81 render/image.h \
82 render/image.c \
83 render/instance.h \
84 render/instance.c \
85 render/mask.h \
86 render/mask.c \
87 render/render.h \
88 render/render.c \
89 render/theme.h \
90 render/theme.c
91
92 ## parser ##
93
94 parser_libobparser_la_CPPFLAGS = \
95 $(GLIB_CFLAGS) \
96 $(XML_CFLAGS) \
97 -DG_LOG_DOMAIN=\"ObParser\" \
98 -DLOCALEDIR=\"$(localedir)\" \
99 -DDATADIR=\"$(datadir)\" \
100 -DCONFIGDIR=\"$(configdir)\"
101 parser_libobparser_la_LDFLAGS = \
102 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
103 parser_libobparser_la_LIBADD = \
104 $(GLIB_LIBS) \
105 $(XML_LIBS)
106 parser_libobparser_la_SOURCES = \
107 parser/parse.h \
108 parser/parse.c
109
110 ## openbox ##
111
112 openbox_openbox_CPPFLAGS = \
113 $(SM_CFLAGS) \
114 $(XINERAMA_CFLAGS) \
115 $(XKB_CFLAGS) \
116 $(XRANDR_CFLAGS) \
117 $(XSHAPE_CFLAGS) \
118 $(XSYNC_CFLAGS) \
119 $(X_CFLAGS) \
120 $(XCURSOR_CFLAGS) \
121 $(SM_CFLAGS) \
122 $(PANGO_CFLAGS) \
123 $(GLIB_CFLAGS) \
124 $(LIBSN_CFLAGS) \
125 $(XML_CFLAGS) \
126 -DLOCALEDIR=\"$(localedir)\" \
127 -DDATADIR=\"$(datadir)\" \
128 -DCONFIGDIR=\"$(configdir)\" \
129 -DG_LOG_DOMAIN=\"Openbox\"
130 openbox_openbox_LDADD = \
131 $(SM_LIBS) \
132 $(XINERAMA_LIBS) \
133 $(XKB_LIBS) \
134 $(XRANDR_LIBS) \
135 $(XSHAPE_LIBS) \
136 $(XSYNC_LIBS) \
137 $(GLIB_LIBS) \
138 $(X_LIBS) \
139 $(XCURSOR_LIBS) \
140 $(LIBSN_LIBS) \
141 $(XML_LIBS) \
142 $(EFENCE_LIBS) \
143 $(LIBINTL) \
144 render/libobrender.la \
145 parser/libobparser.la
146 openbox_openbox_LDFLAGS = -export-dynamic
147 openbox_openbox_SOURCES = \
148 gettext.h \
149 openbox/action.c \
150 openbox/action.h \
151 openbox/client.c \
152 openbox/client.h \
153 openbox/client_list_menu.c \
154 openbox/client_list_menu.h \
155 openbox/client_list_combined_menu.c \
156 openbox/client_list_combined_menu.h \
157 openbox/client_menu.c \
158 openbox/client_menu.h \
159 openbox/config.c \
160 openbox/config.h \
161 openbox/debug.c \
162 openbox/debug.h \
163 openbox/dock.c \
164 openbox/dock.h \
165 openbox/event.c \
166 openbox/event.h \
167 openbox/extensions.c \
168 openbox/extensions.h \
169 openbox/focus.c \
170 openbox/focus.h \
171 openbox/frame.c \
172 openbox/frame.h \
173 openbox/framerender.c \
174 openbox/framerender.h \
175 openbox/geom.h \
176 openbox/grab.c \
177 openbox/grab.h \
178 openbox/group.c \
179 openbox/group.h \
180 openbox/keyboard.c \
181 openbox/keyboard.h \
182 openbox/keytree.c \
183 openbox/keytree.h \
184 openbox/mainloop.c \
185 openbox/mainloop.h \
186 openbox/menuframe.c \
187 openbox/menuframe.h \
188 openbox/menu.c \
189 openbox/menu.h \
190 openbox/misc.h \
191 openbox/modkeys.c \
192 openbox/modkeys.h \
193 openbox/mouse.c \
194 openbox/mouse.h \
195 openbox/moveresize.c \
196 openbox/moveresize.h \
197 openbox/mwm.h \
198 openbox/openbox.c \
199 openbox/openbox.h \
200 openbox/place.c \
201 openbox/place.h \
202 openbox/popup.c \
203 openbox/popup.h \
204 openbox/prop.c \
205 openbox/prop.h \
206 openbox/propwin.c \
207 openbox/propwin.h \
208 openbox/resist.c \
209 openbox/resist.h \
210 openbox/screen.c \
211 openbox/screen.h \
212 openbox/session.c \
213 openbox/session.h \
214 openbox/stacking.c \
215 openbox/stacking.h \
216 openbox/startupnotify.c \
217 openbox/startupnotify.h \
218 openbox/translate.c \
219 openbox/translate.h \
220 openbox/window.c \
221 openbox/window.h \
222 openbox/xerror.c \
223 openbox/xerror.h
224
225
226 ## themetoxml ##
227
228 tools_themetoxml_themetoxml_CPPFLAGS = \
229 $(X_CFLAGS) \
230 $(GLIB_CFLAGS) \
231 $(XML_CFLAGS)
232 tools_themetoxml_themetoxml_LDADD = \
233 $(X_LIBS) \
234 $(GLIB_LIBS) \
235 $(XML_LIBS)
236 tools_themetoxml_themetoxml_SOURCES = \
237 tools/themetoxml/themetoxml.c \
238 tools/themetoxml/rgb.h
239
240
241 ## gnome-panel-control ##
242
243 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
244 $(X_CFLAGS)
245 tools_gnome_panel_control_gnome_panel_control_LDADD = \
246 $(X_LIBS)
247 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
248 tools/gnome-panel-control/gnome-panel-control.c
249
250
251 ## default button masks ##
252 dist_docxbm_DATA = \
253 data/xbm/bullet.xbm \
254 data/xbm/close.xbm \
255 data/xbm/desk_toggled.xbm \
256 data/xbm/desk.xbm \
257 data/xbm/iconify.xbm \
258 data/xbm/max_toggled.xbm \
259 data/xbm/max.xbm \
260 data/xbm/shade_toggled.xbm \
261 data/xbm/shade.xbm
262
263
264 ## themes ##
265
266 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
267 dist_clearlooks_theme_DATA= \
268 themes/Clearlooks/openbox-3/themerc.xml
269
270 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
271 dist_clearlooksolive_theme_DATA= \
272 themes/Clearlooks-Olive/openbox-3/themerc.xml
273
274 mikachu_themedir = $(themedir)/Mikachu/openbox-3
275 dist_mikachu_theme_DATA= \
276 themes/Mikachu/openbox-3/bullet.xbm \
277 themes/Mikachu/openbox-3/close.xbm \
278 themes/Mikachu/openbox-3/desk.xbm \
279 themes/Mikachu/openbox-3/iconify.xbm \
280 themes/Mikachu/openbox-3/max.xbm \
281 themes/Mikachu/openbox-3/themerc.xml
282
283
284 natura_themedir = $(themedir)/Natura/openbox-3
285 dist_natura_theme_DATA= \
286 themes/Natura/openbox-3/close_hover.xbm \
287 themes/Natura/openbox-3/close.xbm \
288 themes/Natura/openbox-3/desk_toggled.xbm \
289 themes/Natura/openbox-3/desk_hover.xbm \
290 themes/Natura/openbox-3/desk.xbm \
291 themes/Natura/openbox-3/iconify_hover.xbm \
292 themes/Natura/openbox-3/iconify.xbm \
293 themes/Natura/openbox-3/max_hover.xbm \
294 themes/Natura/openbox-3/max_toggled.xbm \
295 themes/Natura/openbox-3/max.xbm \
296 themes/Natura/openbox-3/shade.xbm \
297 themes/Natura/openbox-3/shade_hover.xbm \
298 themes/Natura/openbox-3/themerc.xml
299
300 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
301 dist_artwizboxed_theme_DATA= \
302 themes/Artwiz-boxed/openbox-3/themerc.xml
303
304 bear2_themedir = $(themedir)/Bear2/openbox-3
305 dist_bear2_theme_DATA= \
306 themes/Bear2/openbox-3/close_pressed.xbm \
307 themes/Bear2/openbox-3/close.xbm \
308 themes/Bear2/openbox-3/desk_toggled.xbm \
309 themes/Bear2/openbox-3/desk.xbm \
310 themes/Bear2/openbox-3/iconify_pressed.xbm \
311 themes/Bear2/openbox-3/iconify.xbm \
312 themes/Bear2/openbox-3/max_pressed.xbm \
313 themes/Bear2/openbox-3/max_toggled.xbm \
314 themes/Bear2/openbox-3/max.xbm \
315 themes/Bear2/openbox-3/shade_pressed.xbm \
316 themes/Bear2/openbox-3/shade.xbm \
317 themes/Bear2/openbox-3/themerc.xml
318
319 orang_themedir = $(themedir)/Orang/openbox-3
320 dist_orang_theme_DATA= \
321 themes/Orang/openbox-3/themerc.xml
322
323 syscrash_themedir = $(themedir)/Syscrash/openbox-3
324 dist_syscrash_theme_DATA= \
325 themes/Syscrash/openbox-3/max_disabled.xbm \
326 themes/Syscrash/openbox-3/max_pressed.xbm \
327 themes/Syscrash/openbox-3/max_toggled.xbm \
328 themes/Syscrash/openbox-3/max.xbm \
329 themes/Syscrash/openbox-3/themerc.xml
330
331 ## public headers ##
332
333 pubinclude_HEADERS = \
334 render/color.h \
335 render/font.h \
336 render/geom.h \
337 render/gradient.h \
338 render/image.h \
339 render/instance.h \
340 render/mask.h \
341 render/render.h \
342 render/theme.h \
343 parser/parse.h
344
345 nodist_pubinclude_HEADERS = \
346 version.h
347
348 nodist_pkgconfig_DATA = \
349 render/obrender-3.0.pc \
350 parser/obparser-3.0.pc
351
352 ## data ##
353
354 dist_pixmap_DATA = \
355 data/openbox.png
356
357 dist_rc_DATA = \
358 data/rc.xml \
359 data/menu.xml
360
361 edit = $(SED) \
362 -e 's!@version\@!$(VERSION)!' \
363 -e 's!@bindir\@!$(bindir)!'
364
365 data/xsession/openbox-gnome-session: Makefile data \
366 $(srcdir)/data/xsession/openbox-gnome-session.in
367 @echo make: creating $@
368 @rm -f $@
369 @mkdir data 2>/dev/null || true
370 @mkdir data/xsession 2>/dev/null || true
371 @$(edit) $(srcdir)/data/xsession/openbox-gnome-session.in >$@
372 @chmod +x $@
373
374 data/xsession/openbox-kde-session: Makefile data \
375 $(srcdir)/data/xsession/openbox-kde-session.in
376 @echo make: creating $@
377 @rm -f $@
378 @mkdir data 2>/dev/null || true
379 @mkdir data/xsession 2>/dev/null || true
380 @$(edit) $(srcdir)/data/xsession/openbox-kde-session.in >$@
381 @chmod +x $@
382
383 dist_gnomewmfiles_DATA = \
384 data/gnome-wm-properties/openbox.desktop \
385 data/gnome-wm-properties/openbox-gnome.desktop \
386 data/gnome-wm-properties/openbox-kde.desktop
387
388 dist_xsessions_DATA = \
389 data/xsession/openbox.desktop \
390 data/xsession/openbox-gnome.desktop \
391 data/xsession/openbox-kde.desktop
392
393 dist_noinst_DATA = \
394 version.h.in \
395 data/rc.xsd \
396 data/menu.xsd \
397 data/themerc.xsd \
398 data/xsession/openbox-gnome-session.in \
399 data/xsession/openbox-kde-session.in \
400 render/obrender-3.0.pc.in \
401 parser/obparser-3.0.pc.in \
402 tools/themeupdate/themeupdate.py \
403 tests/hideshow.py \
404 tests/Makefile \
405 tests/aspect.c \
406 tests/fullscreen.c \
407 tests/grav.c \
408 tests/grouptran.c \
409 tests/icons.c \
410 tests/modal2.c \
411 tests/modal3.c \
412 tests/modal.c \
413 tests/noresize.c \
414 tests/override.c \
415 tests/positioned.c \
416 tests/strut.c \
417 tests/title.c \
418 tests/urgent.c
419
420 dist_doc_DATA = \
421 COMPLIANCE \
422 README \
423 AUTHORS
424
425 EXTRA_DIST = \
426 config.rpath \
427 mkinstalldirs \
428 CHANGELOG \
429 COPYING
430
431 #doc:
432 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
433
434 distclean-local:
435 for d in . m4 po render; do \
436 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
437 rm -f "$$d/$$p"; \
438 done \
439 done
440
441 .PHONY: doc
This page took 0.053725 seconds and 4 git commands to generate.