load keybindings from keysrc
[dana/openbox.git] / plugins / keyboard / Makefile.am
1 plugindir=$(libdir)/openbox/plugins
2 rcdir=$(datadir)/openbox
3
4 CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) @CPPFLAGS@ \
5 -DPLUGINDIR=\"$(plugindir)\" \
6 -DRCDIR=\"$(rcdir)\" \
7 -DG_LOG_DOMAIN=\"Plugin-Keyboard\"
8
9 plugin_LTLIBRARIES=keyboard.la
10
11 keyboard_la_LDFLAGS=-module -avoid-version
12 keyboard_la_SOURCES=keyboard.c tree.c translate.c y.tab.c lex.kparse.c
13
14 lex.kparse.c: keysrc.l y.tab.c
15         $(FLEX) -Pkparse $<
16
17 y.tab.c: keysrc.yacc
18         $(YACC) -d -p kparse $<
19
20 rc_DATA=keysrc
21
22 noinst_HEADERS=keyboard.h tree.h translate.h keysrc.h
23
24 MAINTAINERCLEANFILES= Makefile.in
25
26 clean-local:
27         $(RM) y.tab.c lex.kparse.c
28
29 distclean-local:
30         $(RM) *\~ *.orig *.rej .\#*