dont make wrap a subdir of otk
This commit is contained in:
parent
7d94983b2e
commit
67fbe8354f
7 changed files with 8 additions and 7 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
SUBDIRS = wrap
|
|
||||||
|
|
||||||
buttonsdir = $(pkgdatadir)/buttons
|
buttonsdir = $(pkgdatadir)/buttons
|
||||||
includeotkdir = $(includedir)/otk
|
includeotkdir = $(includedir)/otk
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
|
|
@ -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 $@ $<
|
||||||
|
|
Loading…
Reference in a new issue