change the default style to fieron2
[mikachu/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 CXXFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CXXFLAGS@ \
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 backgroundwidget.cc labelwidget.cc \
22                   buttonwidget.cc python.cc bindings.cc \
23                   openbox_wrap.cc
24
25 script_DATA = openbox.py
26
27 EXTRA_DIST = $(script_DATA)
28
29 MAINTAINERCLEANFILES= Makefile.in
30
31 distclean-local:
32         rm -f *\~ *.orig *.rej .\#*
33
34 openbox.i: openbox.hh screen.hh client.hh python.hh
35         touch $@
36
37 openbox_wrap.cc: openbox.i
38         swig -I../otk $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $<
39
40 # local dependencies