Changeset a525a715b291f0a864fe7c4b5943bca71b280034
- Timestamp:
- 26/11/05 16:36:28
(3 years ago)
- Author:
- Clément Stenac <zorglub@videolan.org>
- git-committer:
- Clément Stenac <zorglub@videolan.org> 1133019388 +0000
- git-parent:
[747ed7c63fe74800448b8fad5b91e9abd59572a5]
- git-author:
- Clément Stenac <zorglub@videolan.org> 1133019388 +0000
- Message:
* Integrate python bindings in make process
New --enable-python-bindings option
Pic libs will be built if something needing them (shared libvlc, python, mozilla) is built.
* Fix a description in vlcObject
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| ra697096 |
ra525a71 |
|
| 10 | 10 | # - intl should come before modules and . because all the code uses gettext |
|---|
| 11 | 11 | # - modules should come before . because vlc needs the builtins |
|---|
| 12 | | # - . should come before mozilla because the plugin needs libvlc_pic.a |
|---|
| | 12 | # - . should come before mozilla/bindings because the plugin needs libvlc_pic.a |
|---|
| 13 | 13 | # - po should come before . because VLC.app needs the pofiles |
|---|
| 14 | 14 | # - loader should come before modules because some plugins need it |
|---|
| 15 | | SUBDIRS = intl loader modules po . mozilla activex share m4 doc |
|---|
| | 15 | SUBDIRS = intl loader modules po . mozilla bindings activex share m4 doc |
|---|
| 16 | 16 | DIST_SUBDIRS = $(SUBDIRS) debian ipkg lib |
|---|
| 17 | 17 | |
|---|
| … | … | |
| 293 | 293 | lib_LIBRARIES = lib/libvlc.a |
|---|
| 294 | 294 | else |
|---|
| 295 | | if BUILD_SHARED |
|---|
| 296 | | lib_LIBRARIES = lib/libvlc_pic.a |
|---|
| | 295 | lib_LIBRARIES = lib/libvlc.a |
|---|
| | 296 | if BUILD_PIC |
|---|
| | 297 | lib_LIBRARIES += lib/libvlc_pic.a |
|---|
| 297 | 298 | else |
|---|
| 298 | | lib_LIBRARIES = lib/libvlc.a |
|---|
| 299 | | if BUILD_MOZILLA |
|---|
| 300 | | lib_LIBRARIES += lib/libvlc_pic.a |
|---|
| 301 | | endif |
|---|
| 302 | 299 | endif |
|---|
| 303 | 300 | endif |
|---|
| r4208865 |
ra525a71 |
|
| 670 | 670 | "set(str, value) Set a variable value" }, |
|---|
| 671 | 671 | { "config_get", vlcObject_config_get, METH_VARARGS, |
|---|
| 672 | | "get(str) -> value Get an option value." }, |
|---|
| | 672 | "config_get(str) -> value Get a configuration option." }, |
|---|
| 673 | 673 | { "config_set", vlcObject_config_set, METH_VARARGS, |
|---|
| 674 | | "set(str, value) Set an option value" }, |
|---|
| | 674 | "config_set(str, value) Set a configuration option" }, |
|---|
| 675 | 675 | { "type", vlcObject_var_type, METH_VARARGS, |
|---|
| 676 | 676 | "type(str) -> str Get a variable type" }, |
|---|
| r747ed7c |
ra525a71 |
|
| 1326 | 1326 | [ --enable-release activate extra optimizations (default disabled)]) |
|---|
| 1327 | 1327 | test "${enable_release}" != "yes" && enable_release="no" |
|---|
| | 1328 | |
|---|
| | 1329 | dnl |
|---|
| | 1330 | dnl Is the shared libvlc forced ? |
|---|
| | 1331 | dnl |
|---|
| | 1332 | build_pic=no |
|---|
| | 1333 | AC_ARG_ENABLE(shared-libvlc, |
|---|
| | 1334 | [ --enable-shared-libvlc shared libvlc (default disabled EXPERIMENTAL)], |
|---|
| | 1335 | ,[shared_libvlc=no]) |
|---|
| | 1336 | |
|---|
| 1328 | 1337 | |
|---|
| 1329 | 1338 | dnl |
|---|
| … | … | |
| 4595 | 4604 | fi |
|---|
| 4596 | 4605 | |
|---|
| 4597 | | dnl |
|---|
| 4598 | | dnl Joystick plugin |
|---|
| 4599 | | dnl |
|---|
| 4600 | | AC_ARG_ENABLE(joystick, |
|---|
| 4601 | | [ --enable-joystick joystick control (default enabled)]) |
|---|
| 4602 | | if test "${enable_joystick}" = "yes"; then |
|---|
| 4603 | | AC_CHECK_HEADER(linux/joystick.h, [VLC_ADD_PLUGINS([joystick])]) |
|---|
| 4604 | | fi |
|---|
| 4605 | 4606 | |
|---|
| 4606 | 4607 | dnl |
|---|
| … | … | |
| 4806 | 4807 | ]) |
|---|
| 4807 | 4808 | AM_CONDITIONAL(BUILD_MOZILLA,${mozilla}) |
|---|
| | 4809 | if test "${mozilla}" != "false" |
|---|
| | 4810 | then |
|---|
| | 4811 | build_pic=yes |
|---|
| | 4812 | fi |
|---|
| | 4813 | |
|---|
| | 4814 | dnl |
|---|
| | 4815 | dnl Python bindings |
|---|
| | 4816 | dnl |
|---|
| | 4817 | AC_ARG_ENABLE(python-bindings, |
|---|
| | 4818 | [ --enable-python-bindings Enable Python bindings (default disabled)]) |
|---|
| | 4819 | dnl TODO: look for python dev headers |
|---|
| | 4820 | AM_CONDITIONAL( BUILD_PYTHON, [test "${enable_python_bindings}" = "yes"] ) |
|---|
| | 4821 | if test "${enable_python_bindings}" = "yes" |
|---|
| | 4822 | then |
|---|
| | 4823 | build_pic=yes |
|---|
| | 4824 | fi |
|---|
| | 4825 | |
|---|
| 4808 | 4826 | |
|---|
| 4809 | 4827 | dnl |
|---|
| … | … | |
| 4919 | 4937 | AM_CONDITIONAL(HAVE_BUILTINS, ${builtin_support}) |
|---|
| 4920 | 4938 | |
|---|
| 4921 | | AC_ARG_ENABLE(shared-libvlc, |
|---|
| 4922 | | [ --enable-shared-libvlc shared libvlc (default disabled EXPERIMENTAL)], |
|---|
| 4923 | | ,[shared_libvlc=no]) |
|---|
| 4924 | | |
|---|
| | 4939 | dnl |
|---|
| | 4940 | dnl Pic and shared libvlc stuff |
|---|
| | 4941 | dnl |
|---|
| 4925 | 4942 | AM_CONDITIONAL(BUILD_SHARED, [test "${shared_libvlc}" != "no"]) |
|---|
| | 4943 | AM_CONDITIONAL(BUILD_PIC, [test "${build_pic}" = "yes" -o "${shared_libvlc}" != "no"] ) |
|---|
| 4926 | 4944 | AS_IF([test "${shared_libvlc}" != "no"], [ |
|---|
| 4927 | 4945 | AC_DEFINE(HAVE_SHARED_LIBVLC, 1, [Define to 1 if libvlc is built as a shared library.]) |
|---|
| … | … | |
| 4929 | 4947 | |
|---|
| 4930 | 4948 | pic=no |
|---|
| 4931 | | AS_IF([test "${shared_libvlc}" != "no"], [pic=pic]) |
|---|
| 4932 | | AS_IF([${mozilla}], [pic=pic]) |
|---|
| | 4949 | AS_IF([test "${shared_libvlc}" != "no" -o "${build_pic}" = "yes"], [pic=pic]) |
|---|
| 4933 | 4950 | AS_IF([test "${SYS}" = "mingw32"], [pic=no]) |
|---|
| 4934 | | |
|---|
| 4935 | 4951 | AS_IF([test "${pic}" = "no"], [pic=]) |
|---|
| 4936 | 4952 | AC_SUBST(pic) |
|---|
| … | … | |
| 5017 | 5033 | activex/Makefile |
|---|
| 5018 | 5034 | activex/axvlc.inf |
|---|
| | 5035 | bindings/Makefile |
|---|
| | 5036 | bindings/python/Makefile |
|---|
| 5019 | 5037 | debian/Makefile |
|---|
| 5020 | 5038 | doc/Makefile |
|---|
| … | … | |
| 5115 | 5133 | rm -f compile |
|---|
| 5116 | 5134 | echo '#! /bin/sh' >compile |
|---|
| 5117 | | echo "PATH=$PATH LANG=C make $* 2>&1| ${srcdir}/extras/make.pl" >>compile |
|---|
| | 5135 | echo "PATH=$PATH LANG=C make \$\* 2>&1| ${srcdir}/extras/make.pl" >>compile |
|---|
| 5118 | 5136 | chmod a+x compile |
|---|
| 5119 | 5137 | |
|---|