]> icculus.org git repositories - dana/openbox.git/blob - openbox/Makefile.am
add a var to track errors
[dana/openbox.git] / openbox / Makefile.am
1 localedir=$(datadir)/locale
2 enginedir=$(libdir)/openbox/engines
3 plugindir=$(libdir)/openbox/plugins
4 rcdir=$(datadir)/openbox
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 -DRCDIR=\"$(rcdir)\" \
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 timer.c dispatch.c \
30         engine.c plugin.c action.c grab.c lex.cparse.c config.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 dispatch.h \
34         timer.h engine.h plugin.h action.h grab.h config.h
35
36 lex.cparse.c: cparse.l
37         $(FLEX) -Pcparse $^
38
39 MAINTAINERCLEANFILES= Makefile.in
40
41 distclean-local:
42         $(RM) *\~ *.orig *.rej .\#*