]> git.sesse.net Git - vlc/blob - bindings/python/Makefile.am
write to tmpFile instead of /dev/dsp
[vlc] / bindings / python / Makefile.am
1 ##############################################################################
2 # Building the Python binding
3 ###############################################################################
4
5 EXTRA_DIST = vlcglue.h setup.py vlcwrapper.py vlcwidget.py \
6         vlc_module.c \
7         vlc_mediacontrol.c vlc_position.c \
8         vlc_instance.c vlc_input.c
9
10 if BUILD_PYTHON
11
12 all:
13 if HAVE_WIN32
14         COMPILERARG=--compiler=mingw32
15 else
16         COMPILERARG=
17 endif
18         srcdir="`cd $(srcdir);pwd`" top_builddir="$(abs_top_builddir)" python "$(srcdir)/setup.py" build $(COMPILERARG)
19
20 install:
21         top_builddir="$(abs_top_builddir)" srcdir="`cd $(srcdir);pwd`" python $(srcdir)/setup.py install
22
23 clean:
24         $(RM) -rf build
25 endif