X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=efb49e1ffa78416769442ce5f3a17749d19441d3;hb=ffea5b55912ea936c84ce3d17577e9532a81cae4;hp=e697fc45ef61d1419802852580fc4181a4bab6a4;hpb=997f94cf8657201ea9d1f2497e4ec4f56342e22f;p=chaz%2Fopenbox diff --git a/src/Makefile.am b/src/Makefile.am index e697fc45..efb49e1f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -21,6 +21,9 @@ 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 +noinst_HEADERS= actions.hh backgroundwidget.hh bindings.hh buttonwidget.hh \ + client.hh frame.hh labelwidget.hh openbox.hh python.hh \ + screen.hh widgetbase.hh openbox3_LDFLAGS= $(PYTHON_LDFLAGS) script_DATA = ob.py @@ -35,7 +38,9 @@ distclean-local: openbox.i: openbox.hh screen.hh client.hh python.hh frame.hh touch $@ -openbox_wrap.cc: openbox.i - swig -I../otk $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $< +%.py: %_wrap.cc + +%_wrap.cc: %.i + swig -c -I../otk $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $< # local dependencies