merge the C branch into HEAD
[mikachu/openbox.git] / c / Makefile.am
1 localedir=$(datadir)/locale
2 scriptdir = $(libdir)/openbox/python
3
4 CPPFLAGS=$(PYTHON_CFLAGS) $(GLIB_CFLAGS) @CPPFLAGS@ \
5 -DLOCALEDIR=\"$(localedir)\" \
6 -DSCRIPTDIR=\"$(scriptdir)\" \
7 -DG_LOG_DOMAIN=\"Openbox\"
8
9 LIBS=$(PYTHON_LIBS) $(GLIB_LIBS) @LIBS@
10
11 bin_PROGRAMS= ob3
12
13 ob3_LDADD=@LIBINTL@
14 ob3_LDFLAGS=-export-dynamic
15 ob3_SOURCES=client.c event.c extensions.c focus.c frame.c openbox.c prop.c \
16         python.c screen.c stacking.c xerror.c hooks.c eventdata.c obexport.c \
17         clientwrap.c screenwrap.c kbind.c mbind.c
18
19 noinst_HEADERS=client.h event.h extensions.h focus.h frame.h geom.h gettext.h \
20         openbox.h prop.h python.h screen.h stacking.h xerror.h hooks.h \
21         eventdata.h clientwrap.h obexport.h screenwrap.h kbind.h mbind.h
22
23 MAINTAINERCLEANFILES= Makefile.in
24
25 #if CVS
26 #ob3.i: $(wildcard *.h)
27 #       @touch $@
28
29 #ob3_wrap.c: ob3.i
30 #       $(SWIG) $(SWIG_PYTHON_OPT) $(filter -I%,$(CPPFLAGS)) -o $@ $<
31 #endif
32
33 distclean-local:
34         $(RM) *\~ *.orig *.rej .\#*