]> git.sesse.net Git - vlc/blob - bindings/python/Makefile.am
libvlc_destroy() -> libvlc_release()
[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="$(srcdir)" top_builddir="$(top_builddir)" python "$(srcdir)/setup.py" build $(COMPILERARG) "--build-base=$(top_builddir)/bindings/python" "--build-temp=$(top_builddir)/bindings/python"
19
20 # FIXME: python setup.py install does not have any option to install from a different build directory
21 # so this will not work in a separate builddir
22 install:
23         python $(srcdir)/setup.py install
24
25 clean:
26         $(RM) -rf build
27 endif