]> icculus.org git repositories - dana/openbox.git/blob - openbox/Makefile.am
config system fleshed out. many thanks to woodlbock for his code! yay!
[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 rcdir=$(datadir)/openbox
6
7 binary=openbox3
8 url=http://icculus.org/openbox
9 bugurl=http://bugzilla.icculus.org
10
11 CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(GMODULE_CFLAGS) \
12 @CPPFLAGS@ \
13 -DLOCALEDIR=\"$(localedir)\" \
14 -DTHEMERCDIR=\"$(themercdir)\" \
15 -DRCDIR=\"$(rcdir)\" \
16 -DPLUGINDIR=\"$(plugindir)\" \
17 -DENGINEDIR=\"$(enginedir)\" \
18 -DDEFAULT_ENGINE=\"openbox\" \
19 -DG_LOG_DOMAIN=\"Openbox\" \
20 -DBINARY=\"$(binary)\" \
21 -DURL=\"$(url)\" \
22 -DBUGURL=\"$(bugurl)\"
23
24 LIBS=$(XFT_LIBS) $(GLIB_LIBS) $(GMODULE_LIBS) @LIBS@
25
26 bin_PROGRAMS=$(binary)
27
28 openbox3_LDADD=@LIBINTL@ ../render/librender.a
29 openbox3_LDFLAGS=-export-dynamic
30 openbox3_SOURCES=client.c event.c extensions.c focus.c frame.c openbox.c \
31         prop.c screen.c stacking.c xerror.c themerc.c timer.c dispatch.c \
32         engine.c plugin.c action.c grab.c cparse.l config.c
33
34 noinst_HEADERS=client.h event.h extensions.h focus.h frame.h geom.h gettext.h \
35         openbox.h prop.h screen.h stacking.h xerror.h themerc.h dispatch.h \
36         timer.h engine.h plugin.h action.h grab.h config.h
37
38 MAINTAINERCLEANFILES= Makefile.in
39
40 distclean-local:
41         $(RM) *\~ *.orig *.rej .\#*