X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=plugins%2Fmouse%2FMakefile.am;h=73250abc7ead289640669b3866645b53226d017f;hb=07a52aeaff0d8f429d9a740f49a85f22d51cf597;hp=dabf85324804fb5e6786c13f9042fcc58cfc92df;hpb=4bcd03b2d0904e2b5443a2383b66055422240255;p=chaz%2Fopenbox diff --git a/plugins/mouse/Makefile.am b/plugins/mouse/Makefile.am index dabf8532..73250abc 100644 --- a/plugins/mouse/Makefile.am +++ b/plugins/mouse/Makefile.am @@ -1,17 +1,27 @@ plugindir=$(libdir)/openbox/plugins +rcdir=$(datadir)/openbox CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) @CPPFLAGS@ \ -DPLUGINDIR=\"$(plugindir)\" \ +-DRCDIR=\"$(rcdir)\" \ -DG_LOG_DOMAIN=\"Plugin-Mouse\" plugin_LTLIBRARIES=mouse.la mouse_la_LDFLAGS=-module -avoid-version -mouse_la_SOURCES=mouse.c translate.c +mouse_la_SOURCES=mouse.c translate.c lex.mparse.c -noinst_HEADERS=mouse.h translate.h +lex.mparse.c: mouserc_parse.l + $(FLEX) -Pmparse $^ + +rc_DATA=mouserc + +noinst_HEADERS=mouse.h translate.h mouserc_parse.h MAINTAINERCLEANFILES= Makefile.in +clean-local: + $(RM) lex.mparse.c + distclean-local: $(RM) *\~ *.orig *.rej .\#*