diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-24 21:27:16 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-24 21:27:16 +0000 |
| commit | 5869cc29ef15181427e65079d9a52c5d21190206 (patch) | |
| tree | 383c3373beab350f66cb4fa64dcc6aac262cbd3b /otk/Makefile.am | |
| parent | 2e273ae3ac020cc6a43c37942089b3eb7d214102 (diff) | |
wrap otk with swig/python
Diffstat (limited to 'otk/Makefile.am')
| -rw-r--r-- | otk/Makefile.am | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/otk/Makefile.am b/otk/Makefile.am index 3f32a45e..568ade0e 100644 --- a/otk/Makefile.am +++ b/otk/Makefile.am @@ -1,4 +1,4 @@ -CPPFLAGS=$(XFT_CFLAGS) @CPPFLAGS@ +CPPFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CPPFLAGS@ INCLUDES= -I../src @@ -9,7 +9,10 @@ libotk_a_SOURCES= color.cc display.cc font.cc gccache.cc image.cc \ texture.cc timer.cc timerqueuemanager.cc style.cc \ configuration.cc util.cc widget.cc focuswidget.cc \ button.cc eventhandler.cc eventdispatcher.cc \ - label.cc focuslabel.cc application.cc appwidget.cc + label.cc focuslabel.cc application.cc appwidget.cc \ + otk_wrap.cc + +#libotk_a_LDFLAGS = $(PYTHON_LDFLAGS) MAINTAINERCLEANFILES= Makefile.in @@ -19,6 +22,12 @@ distclean-local: otk_test: libotk.a otk_test.cc $(CXX) $(CPPFLAGS) -DHAVE_CONFIG_H -I. -I. -I.. -I../src $(XFT_CFLAGS) -Wall -W -pedantic -DNDEBUG -g -O2 -o otk_test otk_test.cc $(XFT_LIBS) ./libotk.a +otk.i: $(wildcard *.hh) + touch $@ + +otk_wrap.cc: otk.i + swig -python -c++ -nodefault -o $@ $< + # local dependencies application.o: application.cc application.hh eventdispatcher.hh \ eventhandler.hh display.hh configuration.hh timerqueuemanager.hh \ |
