]> Dogcows Code - chaz/openbox/blob - openbox/Makefile.am
add y.tab.h to the headers so the yacc shit runs
[chaz/openbox] / 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 config.c menu.c \
31 y.tab.c lex.yy.c parse.c
32
33 noinst_HEADERS=client.h event.h extensions.h focus.h frame.h geom.h gettext.h \
34 openbox.h prop.h screen.h stacking.h xerror.h dispatch.h \
35 timer.h engine.h plugin.h action.h grab.h config.h menu.h parse.h \
36 y.tab.h
37
38 lex.yy.c: parse.l
39 $(FLEX) $^
40
41 y.tab.h: y.tab.c
42
43 y.tab.c: parse.yacc
44 $(YACC) -d $<
45
46 MAINTAINERCLEANFILES= Makefile.in
47
48 clean-local:
49 $(RM) y.tab.c y.tab.h lex.yy.c
50
51 distclean-local:
52 $(RM) *\~ *.orig *.rej .\#*
This page took 0.033188 seconds and 4 git commands to generate.