add helper functions for manipulating the focus_order list.
[mikachu/openbox.git] / openbox / Makefile.am
1 localedir=$(datadir)/locale
2 plugindir=$(libdir)/openbox/plugins
3 rcdir=$(datadir)/openbox
4
5 binary=openbox3
6 url=http://icculus.org/openbox
7
8 CPPFLAGS=$(X_CFLAGS) $(XFT_CFLAGS) $(GLIB_CFLAGS) $(GMODULE_CFLAGS) \
9           @CPPFLAGS@ \
10          -DLOCALEDIR=\"$(localedir)\" \
11          -DRCDIR=\"$(rcdir)\" \
12          -DPLUGINDIR=\"$(plugindir)\" \
13          -DG_LOG_DOMAIN=\"Openbox\" \
14          -DBINARY=\"$(binary)\"
15
16 INCLUDES=-I..
17 LIBS=$(X_LIBS) $(XFT_LIBS) $(XINERAMA_LIBS) $(GLIB_LIBS) $(GMODULE_LIBS) @LIBS@
18
19 bin_PROGRAMS=$(binary)
20
21 openbox3_LDADD=@LIBINTL@ -lobrender -L../render
22 openbox3_LDFLAGS=-export-dynamic
23 openbox3_SOURCES=parse.tab.c parse.lex.c action.c client.c config.c \
24                  extensions.c focus.c frame.c grab.c menu.c menu_render.c \
25                  openbox.c framerender.c parse.c plugin.c prop.c screen.c \
26                  stacking.c dispatch.c event.c group.c timer.c xerror.c \
27                  moveresize.c
28
29 noinst_HEADERS=action.h client.h config.h dispatch.h event.h extensions.h \
30                focus.h frame.h framerender.h geom.h gettext.h grab.h group.h \
31                menu.h openbox.h parse.h parse.tab.h plugin.h prop.h screen.h \
32                stacking.h timer.h xerror.h moveresize.h
33
34 # kill the implicit .c.y rule
35 %.c: %.y
36         @
37
38 %.lex.c: %.l
39         $(FLEX) -o$@ $<
40
41 %.tab.c: %.y
42         $(BISON) -d -o $@ $<
43
44 MAINTAINERCLEANFILES=Makefile.in
45
46 clean-local:
47         $(RM) parse.lex.c parse.tab.c parse.tab.h
48
49 distclean-local:
50         $(RM) *\~ *.orig *.rej .\#*