X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=b15f60b8afa08a8f51c51c714edc640906e08a04;hb=02d6362111a9e679b0a2f108d396f105243da4b5;hp=620789c4cfbc177a646646eda2eed37ce69e6893;hpb=00e2c5aaad4a0831fd1e0d1b1c287df4d6eaac93;p=chaz%2Fopenbox diff --git a/src/Makefile.am b/src/Makefile.am index 620789c4..b15f60b8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -11,7 +11,7 @@ CXXFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CXXFLAGS@ \ LIBS=$(XFT_LIBS) $(PYTHON_LIBS) @LIBS@ -INCLUDES= -I../otk +INCLUDES= -I.. bin_PROGRAMS= openbox3 @@ -21,16 +21,21 @@ openbox3_SOURCES= actions.cc client.cc frame.cc openbox.cc screen.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 frame.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