]> Dogcows Code - chaz/openbox/blobdiff - src/Makefile.am
update children first
[chaz/openbox] / src / Makefile.am
index e697fc45ef61d1419802852580fc4181a4bab6a4..efb49e1ffa78416769442ce5f3a17749d19441d3 100644 (file)
@@ -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
This page took 0.01997 seconds and 4 git commands to generate.