]> Dogcows Code - chaz/openbox/blobdiff - openbox/Makefile.am
comment stuff correctly for xresources
[chaz/openbox] / openbox / Makefile.am
index 5ed49c9739d530b3d3e481286adaede793d5ebee..9d8906fd0ce7c2afc7d528b5c3fc785352782a8a 100644 (file)
@@ -1,32 +1,54 @@
 localedir=$(datadir)/locale
-themercdir=$(datadir)/openbox
 enginedir=$(libdir)/openbox/engines
 plugindir=$(libdir)/openbox/plugins
+rcdir=$(datadir)/openbox
+
+binary=openbox3
+url=http://icculus.org/openbox
+bugurl=http://bugzilla.icculus.org
 
 CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(GMODULE_CFLAGS) \
 @CPPFLAGS@ \
 -DLOCALEDIR=\"$(localedir)\" \
--DTHEMERCDIR=\"$(themercdir)\" \
+-DRCDIR=\"$(rcdir)\" \
 -DPLUGINDIR=\"$(plugindir)\" \
 -DENGINEDIR=\"$(enginedir)\" \
 -DDEFAULT_ENGINE=\"openbox\" \
--DG_LOG_DOMAIN=\"Openbox\"
+-DG_LOG_DOMAIN=\"Openbox\" \
+-DBINARY=\"$(binary)\" \
+-DURL=\"$(url)\" \
+-DBUGURL=\"$(bugurl)\"
 
 LIBS=$(XFT_LIBS) $(GLIB_LIBS) $(GMODULE_LIBS) @LIBS@
 
-bin_PROGRAMS= ob3
+bin_PROGRAMS=$(binary)
 
-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 \
-       screen.c stacking.c xerror.c themerc.c timer.c dispatch.c \
-       engine.c plugin.c action.c grab.c snap.c
+openbox3_LDADD=@LIBINTL@ ../render/librender.a
+openbox3_LDFLAGS=-export-dynamic
+openbox3_SOURCES=client.c event.c extensions.c focus.c frame.c openbox.c \
+       prop.c screen.c stacking.c xerror.c timer.c dispatch.c \
+       engine.c plugin.c action.c grab.c config.c menu.c \
+       parse.tab.c lex.yy.c parse.c
 
 noinst_HEADERS=client.h event.h extensions.h focus.h frame.h geom.h gettext.h \
-       openbox.h prop.h screen.h stacking.h xerror.h themerc.h dispatch.h \
-       timer.h engine.h plugin.h action.h grab.h snap.h
+       openbox.h prop.h screen.h stacking.h xerror.h dispatch.h \
+       timer.h engine.h plugin.h action.h grab.h config.h menu.h parse.h \
+       parse.tab.h
+
+lex.yy.c: parse.l
+       $(FLEX) $^
+
+parse.h: parse.tab.h
+
+parse.tab.h:parse.tab.c
+
+parse.tab.c: parse.y
+       $(YACC) -d $<
 
 MAINTAINERCLEANFILES= Makefile.in
 
+clean-local:
+       $(RM) y.tab.c y.tab.h lex.yy.c
+
 distclean-local:
        $(RM) *\~ *.orig *.rej .\#*
This page took 0.021081 seconds and 4 git commands to generate.