X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2FMakefile.am;h=d1af468340403c276599978dbede4069c4594b91;hb=7886b797a36f5a035a75a19424e0b3cf7825baf8;hp=4cc5b4ce453cac8a5404184b2297d352d7748385;hpb=7f590e53607ef1592d65a425b9cdcaa181912465;p=chaz%2Fopenbox diff --git a/openbox/Makefile.am b/openbox/Makefile.am index 4cc5b4ce..d1af4683 100644 --- a/openbox/Makefile.am +++ b/openbox/Makefile.am @@ -1,33 +1,49 @@ localedir=$(datadir)/locale -themercdir=$(datadir)/openbox -scriptdir=$(libdir)/openbox/python -enginedir=$(libdir)/openbox/engines - -CPPFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) $(GLIB_CFLAGS) $(GMODULE_CFLAGS) \ -@CPPFLAGS@ \ --DLOCALEDIR=\"$(localedir)\" \ --DTHEMERCDIR=\"$(themercdir)\" \ --DSCRIPTDIR=\"$(scriptdir)\" \ --DENGINEDIR=\"$(enginedir)\" \ --DDEFAULT_ENGINE=\"openbox\" \ --DG_LOG_DOMAIN=\"Openbox\" - -LIBS=$(XFT_LIBS) $(PYTHON_LIBS) $(GLIB_LIBS) $(GMODULE_LIBS) @LIBS@ - -bin_PROGRAMS= ob3 - -ob3_LDADD=@LIBINTL@ ../render/librender.a -ob3_LDFLAGS=-export-dynamic -ob3_SOURCES=client.c event.c extensions.c focus.c frame.c openbox.c prop.c \ - python.c screen.c stacking.c xerror.c hooks.c themerc.c timer.c \ - clientwrap.c openboxwrap.c pointer.c keyboard.c engine.c configwrap.c - -noinst_HEADERS=client.h event.h extensions.h focus.h frame.h geom.h gettext.h \ - openbox.h prop.h python.h screen.h stacking.h xerror.h themerc.h \ - timer.h hooks.h clientwrap.h openboxwrap.h pointer.h keyboard.h \ - engine.h configwrap.h - -MAINTAINERCLEANFILES= Makefile.in +plugindir=$(libdir)/openbox/plugins +rcdir=$(datadir)/openbox + +binary=openbox3 +url=http://icculus.org/openbox + +CPPFLAGS=$(X_CFLAGS) $(XFT_CFLAGS) $(GLIB_CFLAGS) $(GMODULE_CFLAGS) \ + @CPPFLAGS@ \ + -DLOCALEDIR=\"$(localedir)\" \ + -DRCDIR=\"$(rcdir)\" \ + -DPLUGINDIR=\"$(plugindir)\" \ + -DG_LOG_DOMAIN=\"Openbox\" \ + -DBINARY=\"$(binary)\" + +INCLUDES=-I.. +LIBS=$(X_LIBS) $(XFT_LIBS) $(XINERAMA_LIBS) $(GLIB_LIBS) $(GMODULE_LIBS) @LIBS@ + +bin_PROGRAMS=$(binary) + +openbox3_LDADD=@LIBINTL@ -lobrender -L../render +openbox3_LDFLAGS=-export-dynamic +openbox3_SOURCES=parse.tab.c parse.lex.c action.c client.c config.c \ + extensions.c focus.c frame.c grab.c menu.c openbox.c \ + framerender.c parse.c plugin.c prop.c screen.c stacking.c \ + dispatch.c event.c group.c timer.c xerror.c moveresize.c + +noinst_HEADERS=action.h client.h config.h dispatch.h event.h extensions.h \ + focus.h frame.h framerender.h geom.h gettext.h grab.h group.h \ + menu.h openbox.h parse.h parse.tab.h plugin.h prop.h screen.h \ + stacking.h timer.h xerror.h moveresize.h + +# kill the implicit .c.y rule +%.c: %.y + @ + +%.lex.c: %.l + $(FLEX) -o$@ $< + +%.tab.c: %.y + $(BISON) -d -o $@ $< + +MAINTAINERCLEANFILES=Makefile.in + +clean-local: + $(RM) parse.lex.c parse.tab.c parse.tab.h distclean-local: $(RM) *\~ *.orig *.rej .\#*