]> Dogcows Code - chaz/openbox/commitdiff
dont make wrap a subdir of otk
authorDana Jansens <danakj@orodu.net>
Wed, 5 Feb 2003 10:48:37 +0000 (10:48 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 5 Feb 2003 10:48:37 +0000 (10:48 +0000)
Makefile.am
configure.ac
otk/Makefile.am
wrap/.cvsignore [moved from otk/wrap/.cvsignore with 100% similarity]
wrap/Makefile.am [moved from otk/wrap/Makefile.am with 84% similarity]
wrap/otk.i [moved from otk/wrap/otk.i with 100% similarity]
wrap/ustring.i [moved from otk/wrap/ustring.i with 100% similarity]

index 2c96933dff9141ea6061a95e4df8af9054524517..e6c9a7a62ba26a50b28a66486229e3b8a8470ba1 100644 (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
 
 .PHONY: doc
index 9d58ce20bfaf000561ce605ba0ebaf75c0206686..9e7d9bfcbfa8fa86082bf078c53d8818b60d684a 100644 (file)
@@ -48,8 +48,8 @@ X11_EXT_XINERAMA
 
 AC_CONFIG_FILES([Makefile po/Makefile.in
                otk/Makefile
-               otk/wrap/Makefile
                src/Makefile
+               wrap/Makefile
                scripts/Makefile
                doc/Makefile
                doc/doxygen/Makefile
index 31eb4a76c74c0ad74aa6d93900d03ab7ba9466d0..feeda74146a4b24dbfb4e0edde9671009ac065b3 100644 (file)
@@ -1,5 +1,3 @@
-SUBDIRS = wrap
-
 buttonsdir = $(pkgdatadir)/buttons
 includeotkdir = $(includedir)/otk
 pkgconfigdir = $(libdir)/pkgconfig
similarity index 100%
rename from otk/wrap/.cvsignore
rename to wrap/.cvsignore
similarity index 84%
rename from otk/wrap/Makefile.am
rename to wrap/Makefile.am
index 4c2de002d6589111d4ccb6bfec8d3f7de25ea0e1..7c8e603a84c1e048cf5deef884b9bd4290c5d37a 100644 (file)
@@ -3,14 +3,14 @@ pythondir = $(libdir)/openbox/python
 
 CXXFLAGS = $(XFT_CFLAGS) $(filter-out -W -Wall,@CXXFLAGS@)
 
-INCLUDES = -I.. -I../..
+INCLUDES = -I.. -I../swig
 
 python_LTLIBRARIES = otkpy.la
 
 otkpy_la_CXXFLAGS = $(PYTHON_CFLAGS)
 otkpy_la_LDFLAGS  = -module
 otkpy_la_SOURCES  = wrap_otk.cc
-otkpy_la_LIBADD   = ../libotk.la
+otkpy_la_LIBADD   = ../otk/libotk.la
 
 CLEANFILES = wrap_* otk.py
 MAINTAINERCLEANFILES = Makefile.in
@@ -27,6 +27,9 @@ uninstall-local:
 
 %.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 $@ $<
 
similarity index 100%
rename from otk/wrap/otk.i
rename to wrap/otk.i
similarity index 100%
rename from otk/wrap/ustring.i
rename to wrap/ustring.i
This page took 0.029216 seconds and 4 git commands to generate.