dont make wrap a subdir of otk

This commit is contained in:
Dana Jansens 2003-02-05 10:48:37 +00:00
parent 7d94983b2e
commit 67fbe8354f
7 changed files with 8 additions and 7 deletions

View file

@ -1,4 +1,4 @@
SUBDIRS = po data doc otk src scripts SUBDIRS = po data doc otk wrap src scripts
MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in stamp-h.in MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in stamp-h.in
.PHONY: doc .PHONY: doc

View file

@ -48,8 +48,8 @@ X11_EXT_XINERAMA
AC_CONFIG_FILES([Makefile po/Makefile.in AC_CONFIG_FILES([Makefile po/Makefile.in
otk/Makefile otk/Makefile
otk/wrap/Makefile
src/Makefile src/Makefile
wrap/Makefile
scripts/Makefile scripts/Makefile
doc/Makefile doc/Makefile
doc/doxygen/Makefile doc/doxygen/Makefile

View file

@ -1,5 +1,3 @@
SUBDIRS = wrap
buttonsdir = $(pkgdatadir)/buttons buttonsdir = $(pkgdatadir)/buttons
includeotkdir = $(includedir)/otk includeotkdir = $(includedir)/otk
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig

View file

@ -3,14 +3,14 @@ pythondir = $(libdir)/openbox/python
CXXFLAGS = $(XFT_CFLAGS) $(filter-out -W -Wall,@CXXFLAGS@) CXXFLAGS = $(XFT_CFLAGS) $(filter-out -W -Wall,@CXXFLAGS@)
INCLUDES = -I.. -I../.. INCLUDES = -I.. -I../swig
python_LTLIBRARIES = otkpy.la python_LTLIBRARIES = otkpy.la
otkpy_la_CXXFLAGS = $(PYTHON_CFLAGS) otkpy_la_CXXFLAGS = $(PYTHON_CFLAGS)
otkpy_la_LDFLAGS = -module otkpy_la_LDFLAGS = -module
otkpy_la_SOURCES = wrap_otk.cc otkpy_la_SOURCES = wrap_otk.cc
otkpy_la_LIBADD = ../libotk.la otkpy_la_LIBADD = ../otk/libotk.la
CLEANFILES = wrap_* otk.py CLEANFILES = wrap_* otk.py
MAINTAINERCLEANFILES = Makefile.in MAINTAINERCLEANFILES = Makefile.in
@ -27,6 +27,9 @@ uninstall-local:
%.py: wrap_%.cc %.py: wrap_%.cc
wrap_%.cc: %.i $(wildcard ../*.hh) otk.i: $(wildcard ../otk/*.hh)
@touch $@
wrap_%.cc: %.i
swig $(INCLUDES) $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $< swig $(INCLUDES) $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $<