new swig build system. much better. yay.
[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@ $(SWIG_PYTHON_LIB)
13
14 bin_PROGRAMS= openbox3
15
16 openbox3_LDADD=-L../otk -lotk @LIBINTL@
17 openbox3_LDFLAGS=-export-dynamic
18 openbox3_SOURCES= actions.cc client.cc frame.cc openbox.cc screen.cc \
19                   main.cc backgroundwidget.cc labelwidget.cc \
20                   buttonwidget.cc python.cc bindings.cc
21 noinst_HEADERS= actions.hh backgroundwidget.hh bindings.hh buttonwidget.hh \
22                 client.hh frame.hh labelwidget.hh openbox.hh python.hh \
23                 screen.hh widgetbase.hh
24
25 MAINTAINERCLEANFILES= Makefile.in
26
27 distclean-local:
28         $(RM) *\~ *.orig *.rej .\#*