1 localedir=$(datadir)/locale
2 scriptdir = $(libdir)/openbox/python
3 DEFAULT_MENU=$(pkgdatadir)/menu
4 DEFAULT_STYLE=$(pkgdatadir)/styles/mbdtex
6 CXXFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CXXFLAGS@ \
7 -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \
8 -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \
9 -DLOCALEDIR=\"$(localedir)\" \
10 -DSCRIPTDIR=\"$(scriptdir)\"
12 LIBS=$(XFT_LIBS) $(PYTHON_LIBS) @LIBS@
16 bin_PROGRAMS= openbox3
18 openbox3_LDADD=-L../otk -lotk @LIBINTL@
20 openbox3_SOURCES= actions.cc client.cc frame.cc openbox.cc screen.cc \
21 main.cc backgroundwidget.cc labelwidget.cc \
22 buttonwidget.cc python.cc bindings.cc \
24 noinst_HEADERS= actions.hh backgroundwidget.hh bindings.hh buttonwidget.hh \
25 client.hh frame.hh labelwidget.hh openbox.hh python.hh \
26 screen.hh widgetbase.hh
27 openbox3_LDFLAGS= $(PYTHON_LDFLAGS)
31 EXTRA_DIST = $(script_DATA)
33 MAINTAINERCLEANFILES= Makefile.in
36 rm -f *\~ *.orig *.rej .\#*
38 openbox.i: openbox.hh screen.hh client.hh python.hh frame.hh
44 swig -c -I../otk $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $<