X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=b2799cf744483674ce4713e8d3847fc7acdc1f45;hb=53001eebae2c5623cce6b865e616c66e8b998dbd;hp=fab231105fe79ddcea3d9a193eda5ed9e3fb5d8c;hpb=527697d6aee92ab3780eb34af158ac9d2207939c;p=chaz%2Fopenbox diff --git a/src/Makefile.am b/src/Makefile.am index fab23110..b2799cf7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -18,19 +18,24 @@ bin_PROGRAMS= openbox3 openbox3_LDADD=-L../otk -lotk @LIBINTL@ openbox3_SOURCES= actions.cc client.cc frame.cc openbox.cc screen.cc \ - main.cc rootwindow.cc backgroundwidget.cc labelwidget.cc \ + main.cc backgroundwidget.cc labelwidget.cc \ buttonwidget.cc python.cc bindings.cc \ openbox_wrap.cc +openbox3_LDFLAGS= $(PYTHON_LDFLAGS) + +script_DATA = openbox.py + +EXTRA_DIST = $(script_DATA) MAINTAINERCLEANFILES= Makefile.in distclean-local: rm -f *\~ *.orig *.rej .\#* -openbox.i: openbox.hh screen.hh client.hh +openbox.i: openbox.hh screen.hh client.hh python.hh touch $@ openbox_wrap.cc: openbox.i - swig $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $< + swig -I../otk $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $< # local dependencies