]> icculus.org git repositories - dana/openbox.git/blob - src/Makefile.am
global python scripts. client motion/resizing is all done via python now
[dana/openbox.git] / src / Makefile.am
1 localedir=$(datadir)/locale
2 scriptdir = $(libdir)/openbox/python
3 DEFAULT_MENU=$(pkgdatadir)/menu
4 DEFAULT_STYLE=$(pkgdatadir)/styles/mbdtex
5
6 CPPFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CPPFLAGS@ \
7 -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \
8 -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \
9 -DLOCALEDIR=\"$(localedir)\" \
10 -DSCRIPTDIR=\"$(scriptdir)\"
11
12 LIBS=$(XFT_LIBS) $(PYTHON_LIBS) @LIBS@
13
14 INCLUDES= -I../otk
15
16 bin_PROGRAMS= openbox3
17
18 openbox3_LDADD=-L../otk -lotk @LIBINTL@
19
20 openbox3_SOURCES= actions.cc client.cc frame.cc openbox.cc screen.cc \
21                   main.cc rootwindow.cc backgroundwidget.cc labelwidget.cc \
22                   buttonwidget.cc python.cc openbox_wrap.cc
23
24 MAINTAINERCLEANFILES= Makefile.in
25
26 distclean-local:
27         rm -f *\~ *.orig *.rej .\#*
28
29 openbox.i: openbox.hh screen.hh client.hh
30         touch $@
31
32 openbox_wrap.cc: openbox.i
33         swig $(filter -I%,$(CFLAGS)) -python -c++ -nodefault -o $@ $<
34
35 # local dependencies