summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-25 02:05:39 +0000
committerDana Jansens <danakj@orodu.net>2002-12-25 02:05:39 +0000
commitf9107b5c5a4cc03bf544854e8d6d1ba83f6cd979 (patch)
tree71832d4b39c01c0e1e9740bec9a44d4ebda0f4cf
parent27193f659d6badda0ebdb456b61fb55f21f8e4c5 (diff)
use the -I's in CFLAGS for swig
-rw-r--r--otk/Makefile.am2
-rw-r--r--src/Makefile.am5
2 files changed, 3 insertions, 4 deletions
diff --git a/otk/Makefile.am b/otk/Makefile.am
index d2825c9b..2ca5f35a 100644
--- a/otk/Makefile.am
+++ b/otk/Makefile.am
@@ -27,7 +27,7 @@ otk.i: $(wildcard *.hh)
touch $@
otk_wrap.cc: otk.i
- swig -python -c++ -nodefault -o $@ $<
+ swig $(filter -I%,$(CFLAGS)) -python -c++ -nodefault -o $@ $<
# local dependencies
application.o: application.cc application.hh eventdispatcher.hh \
diff --git a/src/Makefile.am b/src/Makefile.am
index beb05a69..222b770c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -17,8 +17,7 @@ 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 \
- buttonwidget.cc openbox_wrap.cc
-# guile.cc
+ buttonwidget.cc python.cc openbox_wrap.cc
MAINTAINERCLEANFILES= Makefile.in
@@ -29,6 +28,6 @@ openbox.i: openbox.hh screen.hh client.hh
touch $@
openbox_wrap.cc: openbox.i
- swig -python -c++ -nodefault -o $@ $<
+ swig $(filter -I%,$(CFLAGS)) -python -c++ -nodefault -o $@ $<
# local dependencies