]> Dogcows Code - chaz/openbox/blob - Makefile.am
make openbox base-dir spec compliant, and change the theme dir structure, so that...
[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_SOURCES = \
52 gettext.h \
53 render/color.h \
54 render/color.c \
55 render/font.h \
56 render/font.c \
57 render/geom.h \
58 render/gradient.h \
59 render/gradient.c \
60 render/icon.h \
61 render/image.h \
62 render/image.c \
63 render/instance.h \
64 render/instance.c \
65 render/mask.h \
66 render/mask.c \
67 render/render.h \
68 render/render.c \
69 render/theme.h \
70 render/theme.c
71
72 ## parser ##
73
74 parser_libobparser_la_CPPFLAGS = \
75 $(GLIB_CFLAGS) \
76 $(XML_CFLAGS) \
77 -DG_LOG_DOMAIN=\"ObParser\" \
78 -DLOCALEDIR=\"$(localedir)\" \
79 -DDATADIR=\"$(datadir)\" \
80 -DCONFIGDIR=\"$(configdir)\"
81 parser_libobparser_la_LIBADD = \
82 $(GLIB_LIBS) \
83 $(XML_LIBS)
84 parser_libobparser_la_SOURCES = \
85 parser/parse.h \
86 parser/parse.c
87
88 ## openbox ##
89
90 openbox_openbox_CPPFLAGS = \
91 $(X_CFLAGS) \
92 $(SM_CFLAGS) \
93 $(XFT_CFLAGS) \
94 $(GLIB_CFLAGS) \
95 $(LIBSN_CFLAGS) \
96 $(XML_CFLAGS) \
97 -DLOCALEDIR=\"$(localedir)\" \
98 -DDATADIR=\"$(datadir)\" \
99 -DCONFIGDIR=\"$(configdir)\" \
100 -DG_LOG_DOMAIN=\"Openbox\"
101 openbox_openbox_LDADD = \
102 $(SM_LIBS) \
103 $(XINERAMA_LIBS) \
104 $(XKB_LIBS) \
105 $(XRANDR_LIBS) \
106 $(VIDMODE_LIBS) \
107 $(XSHAPE_LIBS) \
108 $(GLIB_LIBS) \
109 $(LIBSN_LIBS) \
110 $(XML_LIBS) \
111 $(EFENCE_LIBS) \
112 $(LIBINTL) \
113 render/libobrender.la \
114 parser/libobparser.la
115 openbox_openbox_LDFLAGS = -export-dynamic
116 openbox_openbox_SOURCES = \
117 gettext.h \
118 openbox/action.c \
119 openbox/action.h \
120 openbox/client.c \
121 openbox/client.h \
122 openbox/client_list_menu.c \
123 openbox/client_list_menu.h \
124 openbox/client_menu.c \
125 openbox/client_menu.h \
126 openbox/config.c \
127 openbox/config.h \
128 openbox/debug.c \
129 openbox/debug.h \
130 openbox/dock.c \
131 openbox/dock.h \
132 openbox/event.c \
133 openbox/event.h \
134 openbox/extensions.c \
135 openbox/extensions.h \
136 openbox/focus.c \
137 openbox/focus.h \
138 openbox/frame.c \
139 openbox/frame.h \
140 openbox/framerender.c \
141 openbox/framerender.h \
142 openbox/geom.h \
143 openbox/grab.c \
144 openbox/grab.h \
145 openbox/group.c \
146 openbox/group.h \
147 openbox/keyboard.c \
148 openbox/keyboard.h \
149 openbox/keytree.c \
150 openbox/keytree.h \
151 openbox/mainloop.c \
152 openbox/mainloop.h \
153 openbox/menuframe.c \
154 openbox/menuframe.h \
155 openbox/menu.c \
156 openbox/menu.h \
157 openbox/misc.h \
158 openbox/mouse.c \
159 openbox/mouse.h \
160 openbox/moveresize.c \
161 openbox/moveresize.h \
162 openbox/mwm.h \
163 openbox/openbox.c \
164 openbox/openbox.h \
165 openbox/place.c \
166 openbox/place.h \
167 openbox/popup.c \
168 openbox/popup.h \
169 openbox/prop.c \
170 openbox/prop.h \
171 openbox/resist.c \
172 openbox/resist.h \
173 openbox/screen.c \
174 openbox/screen.h \
175 openbox/session.c \
176 openbox/session.h \
177 openbox/stacking.c \
178 openbox/stacking.h \
179 openbox/startupnotify.c \
180 openbox/startupnotify.h \
181 openbox/translate.c \
182 openbox/translate.h \
183 openbox/window.c \
184 openbox/window.h \
185 openbox/xerror.c \
186 openbox/xerror.h
187
188
189 ## kdetrayproxy ##
190
191 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
192 $(X_CFLAGS)
193 tools_kdetrayproxy_kdetrayproxy_LDADD = \
194 $(X_LIBS)
195 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
196 tools/kdetrayproxy/kdetrayproxy.c
197
198
199 ## themes ##
200
201 allegro_themedir = $(themedir)/Allegro/openbox-3
202 dist_allegro_theme_DATA = \
203 themes/Allegro/openbox-3/themerc \
204 themes/Allegro/openbox-3/bullet.xbm
205
206 artwiz_themedir = $(themedir)/Artwiz/openbox-3
207 dist_artwiz_theme_DATA = \
208 themes/Artwiz/openbox-3/themerc
209
210 blah41_themedir = $(themedir)/Blah41/openbox-3
211 dist_blah41_theme_DATA = \
212 themes/Blah41/openbox-3/themerc
213
214 om4ob_themedir = $(themedir)/Om4Ob/openbox-3
215 dist_om4ob_theme_DATA = \
216 themes/Om4Ob/openbox-3/themerc \
217 themes/Om4Ob/openbox-3/close_hover.xbm \
218 themes/Om4Ob/openbox-3/close.xbm \
219 themes/Om4Ob/openbox-3/desk_hover.xbm \
220 themes/Om4Ob/openbox-3/desk_toggled.xbm \
221 themes/Om4Ob/openbox-3/desk.xbm \
222 themes/Om4Ob/openbox-3/iconify_hover.xbm \
223 themes/Om4Ob/openbox-3/iconify_pressed.xbm \
224 themes/Om4Ob/openbox-3/iconify.xbm \
225 themes/Om4Ob/openbox-3/max_disabled.xbm \
226 themes/Om4Ob/openbox-3/max_hover.xbm \
227 themes/Om4Ob/openbox-3/max_pressed.xbm \
228 themes/Om4Ob/openbox-3/max_toggled.xbm \
229 themes/Om4Ob/openbox-3/max.xbm \
230 themes/Om4Ob/openbox-3/shade_disabled.xbm \
231 themes/Om4Ob/openbox-3/shade_hover.xbm \
232 themes/Om4Ob/openbox-3/shade_toggled.xbm \
233 themes/Om4Ob/openbox-3/shade.xbm
234
235 thebear_themedir = $(themedir)/TheBear
236 dist_thebear_theme_DATA = \
237 themes/TheBear/openbox-3/themerc
238
239
240 ## public headers ##
241
242 pubinclude_HEADERS = \
243 render/render.h \
244 render/theme.h \
245 parser/parse.h
246
247 nodist_pkgconfig_DATA = \
248 render/obrender-3.0.pc \
249 parser/obparser-3.0.pc
250
251 ## data ##
252
253 dist_pixmap_DATA = \
254 data/openbox.png
255
256 dist_rc_DATA = \
257 data/rc.xml \
258 data/menu.xml
259
260 dist_desktopfiles_DATA = \
261 data/openbox.desktop
262
263 dist_noinst_DATA = \
264 render/obrender-3.0.pc.in \
265 parser/obparser-3.0.pc.in \
266 tools/themeupdate/themeupdate.py
267
268 EXTRA_DIST = \
269 config.rpath \
270 mkinstalldirs \
271 README \
272 COPYING \
273 AUTHORS
274
275 #doc:
276 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
277
278 distclean-local:
279 for d in . m4 po render; do \
280 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
281 rm -f "$$d/$$p"; \
282 done \
283 done
284
285 .PHONY: doc
This page took 0.052112 seconds and 4 git commands to generate.