-DLOCALEDIR=\"$(localedir)\" \
-DSCRIPTDIR=\"$(scriptdir)\"
-LIBS=$(XFT_LIBS) $(PYTHON_LIBS) @LIBS@
-
-INCLUDES= -I../otk
+LIBS=$(XFT_LIBS) $(PYTHON_LIBS) @LIBS@ $(SWIG_PYTHON_LIB)
bin_PROGRAMS= openbox3
openbox3_LDADD=-L../otk -lotk @LIBINTL@
-
+openbox3_LDFLAGS=-export-dynamic
openbox3_SOURCES= actions.cc client.cc frame.cc openbox.cc screen.cc \
- main.cc rootwindow.cc backgroundwidget.cc labelwidget.cc \
- buttonwidget.cc python.cc openbox_wrap.cc
+ main.cc python.cc bindings.cc
+noinst_HEADERS= actions.hh bindings.hh client.hh frame.hh openbox.hh \
+ python.hh screen.hh
MAINTAINERCLEANFILES= Makefile.in
distclean-local:
- rm -f *\~ *.orig *.rej .\#*
-
-openbox.i: openbox.hh screen.hh client.hh
- touch $@
-
-openbox_wrap.cc: openbox.i
- swig $(filter -I%,$(CFLAGS)) -python -c++ -nodefault -o $@ $<
-
-# local dependencies
+ $(RM) *\~ *.orig *.rej .\#*