use the -I's in CFLAGS for swig

This commit is contained in:
Dana Jansens 2002-12-25 02:05:39 +00:00
parent 27193f659d
commit f9107b5c5a
2 changed files with 3 additions and 4 deletions

View file

@ -27,7 +27,7 @@ otk.i: $(wildcard *.hh)
touch $@ touch $@
otk_wrap.cc: otk.i otk_wrap.cc: otk.i
swig -python -c++ -nodefault -o $@ $< swig $(filter -I%,$(CFLAGS)) -python -c++ -nodefault -o $@ $<
# local dependencies # local dependencies
application.o: application.cc application.hh eventdispatcher.hh \ application.o: application.cc application.hh eventdispatcher.hh \

View file

@ -17,8 +17,7 @@ openbox3_LDADD=-L../otk -lotk @LIBINTL@
openbox3_SOURCES= actions.cc client.cc frame.cc openbox.cc screen.cc \ openbox3_SOURCES= actions.cc client.cc frame.cc openbox.cc screen.cc \
main.cc rootwindow.cc backgroundwidget.cc labelwidget.cc \ main.cc rootwindow.cc backgroundwidget.cc labelwidget.cc \
buttonwidget.cc openbox_wrap.cc buttonwidget.cc python.cc openbox_wrap.cc
# guile.cc
MAINTAINERCLEANFILES= Makefile.in MAINTAINERCLEANFILES= Makefile.in
@ -29,6 +28,6 @@ openbox.i: openbox.hh screen.hh client.hh
touch $@ touch $@
openbox_wrap.cc: openbox.i openbox_wrap.cc: openbox.i
swig -python -c++ -nodefault -o $@ $< swig $(filter -I%,$(CFLAGS)) -python -c++ -nodefault -o $@ $<
# local dependencies # local dependencies