]> Dogcows Code - chaz/openbox/blob - Makefile.am
ifdef DEBUG_FOCUS focus output
[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
12 theme = TheBear
13
14 AUTOMAKE_OPTIONS = subdir-objects
15 ACLOCAL_AMFLAGS = -I m4
16
17 INCLUDES = -I.
18
19 noinst_PROGRAMS = \
20 render/rendertest
21
22 lib_LTLIBRARIES = \
23 render/libobrender.la \
24 parser/libobparser.la
25
26 bin_PROGRAMS = \
27 openbox/openbox \
28 tools/kdetrayproxy/kdetrayproxy
29
30 ## render ##
31
32 render_rendertest_CPPFLAGS = \
33 $(XFT_CFLAGS) \
34 $(GLIB_CFLAGS) \
35 -DG_LOG_DOMAIN=\"RenderTest\"
36 render_rendertest_LDADD = render/libobrender.la
37 render_rendertest_SOURCES = render/test.c
38
39 render_libobrender_la_CPPFLAGS = \
40 $(X_CFLAGS) \
41 $(XFT_CFLAGS) \
42 $(GLIB_CFLAGS) \
43 $(XML_CFLAGS) \
44 -DG_LOG_DOMAIN=\"ObRender\" \
45 -DDEFAULT_THEME=\"$(theme)\"
46 render_libobrender_la_LIBADD = \
47 $(X_LIBS) \
48 $(XFT_LIBS) \
49 $(GLIB_LIBS) \
50 parser/libobparser.la
51 render_libobrender_la_LDFLAGS = \
52 -release $(LT_RELEASE) \
53 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
54 render_libobrender_la_SOURCES = \
55 gettext.h \
56 render/color.h \
57 render/color.c \
58 render/font.h \
59 render/font.c \
60 render/geom.h \
61 render/gradient.h \
62 render/gradient.c \
63 render/icon.h \
64 render/image.h \
65 render/image.c \
66 render/instance.h \
67 render/instance.c \
68 render/mask.h \
69 render/mask.c \
70 render/render.h \
71 render/render.c \
72 render/theme.h \
73 render/theme.c
74
75 ## parser ##
76
77 parser_libobparser_la_CPPFLAGS = \
78 $(GLIB_CFLAGS) \
79 $(XML_CFLAGS) \
80 -DG_LOG_DOMAIN=\"ObParser\" \
81 -DLOCALEDIR=\"$(localedir)\" \
82 -DDATADIR=\"$(datadir)\" \
83 -DCONFIGDIR=\"$(configdir)\"
84 parser_libobparser_la_LIBADD = \
85 $(GLIB_LIBS) \
86 $(XML_LIBS)
87 parser_libobparser_la_LDFLAGS = \
88 -release $(LT_RELEASE) \
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 $(XINERAMA_LIBS) \
110 $(XKB_LIBS) \
111 $(XRANDR_LIBS) \
112 $(VIDMODE_LIBS) \
113 $(XSHAPE_LIBS) \
114 $(GLIB_LIBS) \
115 $(LIBSN_LIBS) \
116 $(XML_LIBS) \
117 $(EFENCE_LIBS) \
118 $(LIBINTL) \
119 render/libobrender.la \
120 parser/libobparser.la
121 openbox_openbox_LDFLAGS = -export-dynamic
122 openbox_openbox_SOURCES = \
123 gettext.h \
124 openbox/action.c \
125 openbox/action.h \
126 openbox/client.c \
127 openbox/client.h \
128 openbox/client_list_menu.c \
129 openbox/client_list_menu.h \
130 openbox/client_menu.c \
131 openbox/client_menu.h \
132 openbox/config.c \
133 openbox/config.h \
134 openbox/debug.c \
135 openbox/debug.h \
136 openbox/dock.c \
137 openbox/dock.h \
138 openbox/event.c \
139 openbox/event.h \
140 openbox/extensions.c \
141 openbox/extensions.h \
142 openbox/focus.c \
143 openbox/focus.h \
144 openbox/frame.c \
145 openbox/frame.h \
146 openbox/framerender.c \
147 openbox/framerender.h \
148 openbox/geom.h \
149 openbox/grab.c \
150 openbox/grab.h \
151 openbox/group.c \
152 openbox/group.h \
153 openbox/keyboard.c \
154 openbox/keyboard.h \
155 openbox/keytree.c \
156 openbox/keytree.h \
157 openbox/mainloop.c \
158 openbox/mainloop.h \
159 openbox/menuframe.c \
160 openbox/menuframe.h \
161 openbox/menu.c \
162 openbox/menu.h \
163 openbox/misc.h \
164 openbox/mouse.c \
165 openbox/mouse.h \
166 openbox/moveresize.c \
167 openbox/moveresize.h \
168 openbox/mwm.h \
169 openbox/openbox.c \
170 openbox/openbox.h \
171 openbox/place.c \
172 openbox/place.h \
173 openbox/popup.c \
174 openbox/popup.h \
175 openbox/prop.c \
176 openbox/prop.h \
177 openbox/resist.c \
178 openbox/resist.h \
179 openbox/screen.c \
180 openbox/screen.h \
181 openbox/session.c \
182 openbox/session.h \
183 openbox/stacking.c \
184 openbox/stacking.h \
185 openbox/startupnotify.c \
186 openbox/startupnotify.h \
187 openbox/translate.c \
188 openbox/translate.h \
189 openbox/window.c \
190 openbox/window.h \
191 openbox/xerror.c \
192 openbox/xerror.h
193
194
195 ## kdetrayproxy ##
196
197 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
198 $(X_CFLAGS)
199 tools_kdetrayproxy_kdetrayproxy_LDADD = \
200 $(X_LIBS)
201 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
202 tools/kdetrayproxy/kdetrayproxy.c
203
204
205 ## themes ##
206
207 allegro_themedir = $(themedir)/Allegro/openbox-3
208 dist_allegro_theme_DATA = \
209 themes/Allegro/openbox-3/themerc \
210 themes/Allegro/openbox-3/bullet.xbm
211
212 artwiz_themedir = $(themedir)/Artwiz/openbox-3
213 dist_artwiz_theme_DATA = \
214 themes/Artwiz/openbox-3/themerc
215
216 blah41_themedir = $(themedir)/Blah41/openbox-3
217 dist_blah41_theme_DATA = \
218 themes/Blah41/openbox-3/themerc
219
220 om4ob_themedir = $(themedir)/Om4Ob/openbox-3
221 dist_om4ob_theme_DATA = \
222 themes/Om4Ob/openbox-3/themerc \
223 themes/Om4Ob/openbox-3/close_hover.xbm \
224 themes/Om4Ob/openbox-3/close.xbm \
225 themes/Om4Ob/openbox-3/desk_hover.xbm \
226 themes/Om4Ob/openbox-3/desk_toggled.xbm \
227 themes/Om4Ob/openbox-3/desk.xbm \
228 themes/Om4Ob/openbox-3/iconify_hover.xbm \
229 themes/Om4Ob/openbox-3/iconify_pressed.xbm \
230 themes/Om4Ob/openbox-3/iconify.xbm \
231 themes/Om4Ob/openbox-3/max_disabled.xbm \
232 themes/Om4Ob/openbox-3/max_hover.xbm \
233 themes/Om4Ob/openbox-3/max_pressed.xbm \
234 themes/Om4Ob/openbox-3/max_toggled.xbm \
235 themes/Om4Ob/openbox-3/max.xbm \
236 themes/Om4Ob/openbox-3/shade_disabled.xbm \
237 themes/Om4Ob/openbox-3/shade_hover.xbm \
238 themes/Om4Ob/openbox-3/shade_toggled.xbm \
239 themes/Om4Ob/openbox-3/shade.xbm
240
241 thebear_themedir = $(themedir)/TheBear/openbox-3
242 dist_thebear_theme_DATA = \
243 themes/TheBear/openbox-3/themerc
244
245
246 ## public headers ##
247
248 pubinclude_HEADERS = \
249 render/render.h \
250 render/theme.h \
251 parser/parse.h
252
253 nodist_pkgconfig_DATA = \
254 render/obrender-3.0.pc \
255 parser/obparser-3.0.pc
256
257 ## data ##
258
259 dist_pixmap_DATA = \
260 data/openbox.png
261
262 dist_rc_DATA = \
263 data/rc.xml \
264 data/menu.xml
265
266 dist_desktopfiles_DATA = \
267 data/openbox.desktop
268
269 dist_noinst_DATA = \
270 render/obrender-3.0.pc.in \
271 parser/obparser-3.0.pc.in \
272 tools/themeupdate/themeupdate.py
273
274 EXTRA_DIST = \
275 config.rpath \
276 mkinstalldirs \
277 README \
278 COPYING \
279 AUTHORS
280
281 #doc:
282 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
283
284 distclean-local:
285 for d in . m4 po render; do \
286 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
287 rm -f "$$d/$$p"; \
288 done \
289 done
290
291 .PHONY: doc
This page took 0.050341 seconds and 4 git commands to generate.