X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=e697fc45ef61d1419802852580fc4181a4bab6a4;hb=997f94cf8657201ea9d1f2497e4ec4f56342e22f;hp=10c93be6f03431705ce226d0f637c18fe4950c9c;hpb=66a26917a0631463df7f72c34cbeb39df466918a;p=chaz%2Fopenbox diff --git a/src/Makefile.am b/src/Makefile.am index 10c93be6..e697fc45 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -11,26 +11,31 @@ CXXFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CXXFLAGS@ \ LIBS=$(XFT_LIBS) $(PYTHON_LIBS) @LIBS@ -INCLUDES= -I../otk +INCLUDES= -I.. 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 = ob.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 -c++ -nodefault -o $@ $< + swig -I../otk $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $< # local dependencies