build 'openbox3' instead of 'ob3'
[dana/openbox.git] / openbox / Makefile.am
1 localedir=$(datadir)/locale
2 themercdir=$(datadir)/openbox
3 enginedir=$(libdir)/openbox/engines
4 plugindir=$(libdir)/openbox/plugins
5
6 binary=openbox3
7 url=http://icculus.org/openbox
8 bugurl=http://bugzilla.icculus.org
9
10 CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(GMODULE_CFLAGS) \
11 @CPPFLAGS@ \
12 -DLOCALEDIR=\"$(localedir)\" \
13 -DTHEMERCDIR=\"$(themercdir)\" \
14 -DPLUGINDIR=\"$(plugindir)\" \
15 -DENGINEDIR=\"$(enginedir)\" \
16 -DDEFAULT_ENGINE=\"openbox\" \
17 -DG_LOG_DOMAIN=\"Openbox\" \
18 -DBINARY=\"$(binary)\" \
19 -DURL=\"$(url)\" \
20 -DBUGURL=\"$(bugurl)\"
21
22 LIBS=$(XFT_LIBS) $(GLIB_LIBS) $(GMODULE_LIBS) @LIBS@
23
24 bin_PROGRAMS=$(binary)
25
26 openbox3_LDADD=@LIBINTL@ ../render/librender.a
27 openbox3_LDFLAGS=-export-dynamic
28 openbox3_SOURCES=client.c event.c extensions.c focus.c frame.c openbox.c \
29         prop.c screen.c stacking.c xerror.c themerc.c timer.c dispatch.c \
30         engine.c plugin.c action.c grab.c
31
32 noinst_HEADERS=client.h event.h extensions.h focus.h frame.h geom.h gettext.h \
33         openbox.h prop.h screen.h stacking.h xerror.h themerc.h dispatch.h \
34         timer.h engine.h plugin.h action.h grab.h
35
36 MAINTAINERCLEANFILES= Makefile.in
37
38 distclean-local:
39         $(RM) *\~ *.orig *.rej .\#*