2003-03-18 05:29:01 +00:00
|
|
|
plugindir=$(libdir)/openbox/plugins
|
2003-03-26 12:52:32 +00:00
|
|
|
rcdir=$(datadir)/openbox
|
2003-03-18 05:29:01 +00:00
|
|
|
|
|
|
|
CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) @CPPFLAGS@ \
|
|
|
|
-DPLUGINDIR=\"$(plugindir)\" \
|
2003-03-26 12:52:32 +00:00
|
|
|
-DRCDIR=\"$(rcdir)\" \
|
2003-03-18 08:38:33 +00:00
|
|
|
-DG_LOG_DOMAIN=\"Plugin-Keyboard\"
|
2003-03-18 05:29:01 +00:00
|
|
|
|
2003-03-18 08:38:33 +00:00
|
|
|
plugin_LTLIBRARIES=keyboard.la
|
2003-03-18 05:29:01 +00:00
|
|
|
|
2003-03-18 08:38:33 +00:00
|
|
|
keyboard_la_LDFLAGS=-module -avoid-version
|
2003-03-26 12:52:32 +00:00
|
|
|
keyboard_la_SOURCES=keyboard.c tree.c translate.c y.tab.c lex.kparse.c
|
2003-03-18 05:29:01 +00:00
|
|
|
|
2003-03-26 12:52:32 +00:00
|
|
|
lex.kparse.c: keysrc.l y.tab.c
|
|
|
|
$(FLEX) -Pkparse $<
|
|
|
|
|
|
|
|
y.tab.c: keysrc.yacc
|
|
|
|
$(YACC) -d -p kparse $<
|
|
|
|
|
|
|
|
rc_DATA=keysrc
|
|
|
|
|
|
|
|
noinst_HEADERS=keyboard.h tree.h translate.h keysrc.h
|
2003-03-18 05:29:01 +00:00
|
|
|
|
|
|
|
MAINTAINERCLEANFILES= Makefile.in
|
|
|
|
|
2003-03-26 12:52:32 +00:00
|
|
|
clean-local:
|
|
|
|
$(RM) y.tab.c lex.kparse.c
|
|
|
|
|
2003-03-18 05:29:01 +00:00
|
|
|
distclean-local:
|
|
|
|
$(RM) *\~ *.orig *.rej .\#*
|