X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=107f7355ce077e20e4bf19b02e5a351c78390daf;hb=cce970813f088952e05e20f13d77d6f4766863e3;hp=92e0b3b0ea5a93c5ba56eead1285a998f02568dc;hpb=5f78b51429b204f89b654d634bb4cc8cb78b95f6;p=chaz%2Fopenbox diff --git a/src/Makefile.am b/src/Makefile.am index 92e0b3b0..107f7355 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,35 +1,26 @@ localedir=$(datadir)/locale +scriptdir = $(libdir)/openbox/python DEFAULT_MENU=$(pkgdatadir)/menu DEFAULT_STYLE=$(pkgdatadir)/styles/mbdtex -CPPFLAGS=$(XFT_CFLAGS) $(GUILE_CFLAGS) $(PYTHON_CFLAGS) @CPPFLAGS@ \ +CPPFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CPPFLAGS@ \ -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \ -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \ --DLOCALEDIR=\"$(localedir)\" +-DLOCALEDIR=\"$(localedir)\" \ +-DSCRIPTDIR=\"$(scriptdir)\" -LIBS=$(XFT_LIBS) $(GUILE_LDFLAGS) $(PYTHON_LDFLAGS) @LIBS@ - -INCLUDES= -I../otk +LIBS=$(XFT_LIBS) $(PYTHON_LIBS) @LIBS@ $(SWIG_PYTHON_LIB) bin_PROGRAMS= openbox3 -openbox3_LDADD=../otk/libotk.a @LIBINTL@ - +openbox3_LDADD=-L../otk -lotk @LIBINTL@ +openbox3_LDFLAGS=-export-dynamic openbox3_SOURCES= actions.cc client.cc frame.cc openbox.cc screen.cc \ - main.cc rootwindow.cc backgroundwidget.cc labelwidget.cc \ - buttonwidget.cc openbox_wrap.cc -# guile.cc + main.cc python.cc bindings.cc config.cc +noinst_HEADERS= actions.hh bindings.hh client.hh frame.hh openbox.hh \ + python.hh screen.hh config.hh MAINTAINERCLEANFILES= Makefile.in distclean-local: - rm -f *\~ *.orig *.rej .\#* - -openbox.i: openbox.hh screen.hh client.hh - touch openbox.i - -openbox_wrap.cc: openbox.i - swig -python -c++ -nodefault -module openbox -o openbox_wrap.cc openbox.i -# swig -guile -c++ -nodefault -o openbox_wrap.cc openbox.i - -# local dependencies + $(RM) *\~ *.orig *.rej .\#*