]> Dogcows Code - chaz/openbox/blob - Makefile.am
this file is so old it's scary
[chaz/openbox] / Makefile.am
1 SUBDIRS = m4 po
2
3 themedir = $(datadir)/themes
4 localedir = $(datadir)/locale
5 configdir = $(sysconfdir)/xdg
6 rcdir = $(configdir)/openbox
7 desktopfilesdir = $(datadir)/gnome/wm-properties
8 pkgconfigdir = $(libdir)/pkgconfig
9 pubincludedir = $(includedir)/openbox/@OB_VERSION@/openbox
10 pixmapdir = $(datadir)/pixmaps
11 xsddir = $(datadir)/openbox
12 userscriptdir = $(datadir)/openbox
13
14 theme = TheBear
15
16 AUTOMAKE_OPTIONS = subdir-objects foreign
17
18 ACLOCAL_AMFLAGS = -I m4
19
20 INCLUDES = -I.
21
22 noinst_PROGRAMS = \
23 render/rendertest
24
25 lib_LTLIBRARIES = \
26 parser/libobparser.la \
27 render/libobrender.la
28
29 bin_PROGRAMS = \
30 openbox/openbox \
31 tools/kdetrayproxy/kdetrayproxy \
32 tools/gnome-panel-control/gnome-panel-control
33
34 ## render ##
35
36 render_rendertest_CPPFLAGS = \
37 $(XFT_CFLAGS) \
38 $(GLIB_CFLAGS) \
39 -DG_LOG_DOMAIN=\"RenderTest\"
40 render_rendertest_LDADD = \
41 parser/libobparser.la \
42 render/libobrender.la \
43 $(XFT_LIBS) \
44 $(GLIB_LIBS) \
45 $(XML_LIBS) \
46 $(X_LIBS)
47 render_rendertest_SOURCES = render/test.c
48
49 render_libobrender_la_CPPFLAGS = \
50 $(X_CFLAGS) \
51 $(XFT_CFLAGS) \
52 $(GLIB_CFLAGS) \
53 $(XML_CFLAGS) \
54 -DG_LOG_DOMAIN=\"ObRender\" \
55 -DDEFAULT_THEME=\"$(theme)\"
56 render_libobrender_la_LDFLAGS = \
57 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
58 render_libobrender_la_SOURCES = \
59 gettext.h \
60 render/color.h \
61 render/color.c \
62 render/font.h \
63 render/font.c \
64 render/geom.h \
65 render/gradient.h \
66 render/gradient.c \
67 render/icon.h \
68 render/image.h \
69 render/image.c \
70 render/instance.h \
71 render/instance.c \
72 render/mask.h \
73 render/mask.c \
74 render/render.h \
75 render/render.c \
76 render/theme.h \
77 render/theme.c
78
79 ## parser ##
80
81 parser_libobparser_la_CPPFLAGS = \
82 $(GLIB_CFLAGS) \
83 $(XML_CFLAGS) \
84 -DG_LOG_DOMAIN=\"ObParser\" \
85 -DLOCALEDIR=\"$(localedir)\" \
86 -DDATADIR=\"$(datadir)\" \
87 -DCONFIGDIR=\"$(configdir)\"
88 parser_libobparser_la_LDFLAGS = \
89 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
90 parser_libobparser_la_SOURCES = \
91 parser/parse.h \
92 parser/parse.c
93
94 ## openbox ##
95
96 openbox_openbox_CPPFLAGS = \
97 $(X_CFLAGS) \
98 $(SM_CFLAGS) \
99 $(XFT_CFLAGS) \
100 $(GLIB_CFLAGS) \
101 $(LIBSN_CFLAGS) \
102 $(XML_CFLAGS) \
103 -DLOCALEDIR=\"$(localedir)\" \
104 -DDATADIR=\"$(datadir)\" \
105 -DCONFIGDIR=\"$(configdir)\" \
106 -DG_LOG_DOMAIN=\"Openbox\"
107 openbox_openbox_LDADD = \
108 $(SM_LIBS) \
109 $(XFT_LIBS) \
110 $(XINERAMA_LIBS) \
111 $(XKB_LIBS) \
112 $(XRANDR_LIBS) \
113 $(VIDMODE_LIBS) \
114 $(XSHAPE_LIBS) \
115 $(GLIB_LIBS) \
116 $(X_LIBS) \
117 $(LIBSN_LIBS) \
118 $(XML_LIBS) \
119 $(EFENCE_LIBS) \
120 $(LIBINTL) \
121 render/libobrender.la \
122 parser/libobparser.la
123 openbox_openbox_LDFLAGS = -export-dynamic
124 openbox_openbox_SOURCES = \
125 gettext.h \
126 openbox/action.c \
127 openbox/action.h \
128 openbox/client.c \
129 openbox/client.h \
130 openbox/client_list_menu.c \
131 openbox/client_list_menu.h \
132 openbox/client_menu.c \
133 openbox/client_menu.h \
134 openbox/config.c \
135 openbox/config.h \
136 openbox/debug.c \
137 openbox/debug.h \
138 openbox/dock.c \
139 openbox/dock.h \
140 openbox/event.c \
141 openbox/event.h \
142 openbox/extensions.c \
143 openbox/extensions.h \
144 openbox/focus.c \
145 openbox/focus.h \
146 openbox/frame.c \
147 openbox/frame.h \
148 openbox/framerender.c \
149 openbox/framerender.h \
150 openbox/geom.h \
151 openbox/grab.c \
152 openbox/grab.h \
153 openbox/group.c \
154 openbox/group.h \
155 openbox/keyboard.c \
156 openbox/keyboard.h \
157 openbox/keytree.c \
158 openbox/keytree.h \
159 openbox/mainloop.c \
160 openbox/mainloop.h \
161 openbox/menuframe.c \
162 openbox/menuframe.h \
163 openbox/menu.c \
164 openbox/menu.h \
165 openbox/misc.h \
166 openbox/mouse.c \
167 openbox/mouse.h \
168 openbox/moveresize.c \
169 openbox/moveresize.h \
170 openbox/mwm.h \
171 openbox/openbox.c \
172 openbox/openbox.h \
173 openbox/place.c \
174 openbox/place.h \
175 openbox/popup.c \
176 openbox/popup.h \
177 openbox/prop.c \
178 openbox/prop.h \
179 openbox/resist.c \
180 openbox/resist.h \
181 openbox/screen.c \
182 openbox/screen.h \
183 openbox/session.c \
184 openbox/session.h \
185 openbox/stacking.c \
186 openbox/stacking.h \
187 openbox/startupnotify.c \
188 openbox/startupnotify.h \
189 openbox/translate.c \
190 openbox/translate.h \
191 openbox/window.c \
192 openbox/window.h \
193 openbox/xerror.c \
194 openbox/xerror.h
195
196
197 ## kdetrayproxy ##
198
199 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
200 $(X_CFLAGS)
201 tools_kdetrayproxy_kdetrayproxy_LDADD = \
202 $(X_LIBS)
203 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
204 tools/kdetrayproxy/kdetrayproxy.c
205
206
207 ## gnome-panel-control ##
208
209 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
210 $(X_CFLAGS)
211 tools_gnome_panel_control_gnome_panel_control_LDADD = \
212 $(X_LIBS)
213 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
214 tools/gnome-panel-control/gnome-panel-control.c
215
216
217 ## themes ##
218
219 allegro_themedir = $(themedir)/Allegro/openbox-3
220 dist_allegro_theme_DATA = \
221 themes/Allegro/openbox-3/themerc \
222 themes/Allegro/openbox-3/bullet.xbm
223
224 artwiz_themedir = $(themedir)/Artwiz/openbox-3
225 dist_artwiz_theme_DATA = \
226 themes/Artwiz/openbox-3/themerc
227
228 blah41_themedir = $(themedir)/Blah41/openbox-3
229 dist_blah41_theme_DATA = \
230 themes/Blah41/openbox-3/themerc
231
232 om4ob_themedir = $(themedir)/Om4Ob/openbox-3
233 dist_om4ob_theme_DATA = \
234 themes/Om4Ob/openbox-3/themerc \
235 themes/Om4Ob/openbox-3/close_hover.xbm \
236 themes/Om4Ob/openbox-3/close.xbm \
237 themes/Om4Ob/openbox-3/desk_hover.xbm \
238 themes/Om4Ob/openbox-3/desk_toggled.xbm \
239 themes/Om4Ob/openbox-3/desk.xbm \
240 themes/Om4Ob/openbox-3/iconify_hover.xbm \
241 themes/Om4Ob/openbox-3/iconify_pressed.xbm \
242 themes/Om4Ob/openbox-3/iconify.xbm \
243 themes/Om4Ob/openbox-3/max_disabled.xbm \
244 themes/Om4Ob/openbox-3/max_hover.xbm \
245 themes/Om4Ob/openbox-3/max_pressed.xbm \
246 themes/Om4Ob/openbox-3/max_toggled.xbm \
247 themes/Om4Ob/openbox-3/max.xbm \
248 themes/Om4Ob/openbox-3/shade_disabled.xbm \
249 themes/Om4Ob/openbox-3/shade_hover.xbm \
250 themes/Om4Ob/openbox-3/shade_toggled.xbm \
251 themes/Om4Ob/openbox-3/shade.xbm
252
253 thebear_themedir = $(themedir)/TheBear/openbox-3
254 dist_thebear_theme_DATA = \
255 themes/TheBear/openbox-3/themerc
256
257
258 ## public headers ##
259
260 pubinclude_HEADERS = \
261 render/render.h \
262 render/theme.h \
263 parser/parse.h
264
265 nodist_pubinclude_HEADERS = \
266 version.h
267
268 nodist_pkgconfig_DATA = \
269 render/obrender-3.0.pc \
270 parser/obparser-3.0.pc
271
272 ## data ##
273
274 dist_pixmap_DATA = \
275 data/openbox.png
276
277 nodist_rc_DATA = \
278 data/rc.xml \
279 data/menu.xml
280
281 dist_xsd_DATA = \
282 data/rc.xsd \
283 data/menu.xsd
284
285 edit = $(SED) \
286 -e 's!@version\@!$(VERSION)!' \
287 -e 's!@xsddir\@!$(xsddir)!'
288
289 data/rc.xml: Makefile $(srcdir)/data/rc.xml.in data
290 @echo make: creating $@
291 @rm -f $@
292 @mkdir data 2>/dev/null || true
293 @$(edit) $(srcdir)/data/rc.xml.in >$@
294
295 data/menu.xml: Makefile $(srcdir)/data/menu.xml.in data
296 @echo make: creating $@
297 @rm -f $@
298 @mkdir data 2>/dev/null || true
299 @$(edit) $(srcdir)/data/menu.xml.in >$@
300
301 dist_userscript_DATA = \
302 tools/themeupdate/themeupdate.py
303
304 install-data-hook:
305 chmod +x $(DESTDIR)$(userscriptdir)/themeupdate.py
306
307 dist_desktopfiles_DATA = \
308 data/openbox.desktop
309
310 dist_noinst_DATA = \
311 version.h.in \
312 data/rc.xml.in \
313 data/menu.xml.in \
314 render/obrender-3.0.pc.in \
315 parser/obparser-3.0.pc.in
316
317 EXTRA_DIST = \
318 config.rpath \
319 mkinstalldirs \
320 CHANGELOG \
321 COMPLIANCE \
322 README \
323 COPYING \
324 AUTHORS
325
326 CLEANFILES = \
327 data/rc.xml \
328 data/menu.xml
329
330 #doc:
331 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
332
333 distclean-local:
334 for d in . m4 po render; do \
335 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
336 rm -f "$$d/$$p"; \
337 done \
338 done
339
340 .PHONY: doc
This page took 0.055021 seconds and 4 git commands to generate.