summaryrefslogtreecommitdiffstats
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* gnulib added a new syntax-check test: use $(VAR), not @VAR@Jim Meyering2010-01-181-5/+5
| | | | | | | | | | | | | | | The latter is not officially "wrong", but *is* terribly anachronistic. I think automake documentation or comments call that syntax obsolescent. * cfg.mk (_makefile_at_at_check_exceptions): Exempt @SCHEMADIR@ and @SYSCONFDIR@ uses -- there are no Makefile variables for those. * docs/Makefile.am: Use $(INSTALL), not @INSTALL@. * examples/dominfo/Makefile.am: Similar. * examples/domsuspend/Makefile.am: Similar. * proxy/Makefile.am: Similar. * python/Makefile.am: Similar. * python/tests/Makefile.am: Similar. * src/Makefile.am: Similar. * tests/Makefile.am: Similar.
* Disable building of static Python moduleDiego Elio Pettenò2010-01-061-1/+1
| | | | | * python/Makefile.am: python modules are loaded at runtime so the static version is not needed, avoid building it
* Fix install location for Python bindingsMatthias Bolte2009-12-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | Commit 66137344feb488ea87b0d92f3c03844d9a7a7786 changed the Python detection mechanism in configure to use AM_PATH_PYTHON. This results in a changed install location for the Python bindings, at least on Fedora 12 64bit systems. Before this commit libvirt.py and libvirtmod.so were installed to /usr/lib64/python2.6/site-packages After this commit they are installed to /usr/lib/python2.6/site-packages Mixed Python packages (containing *.py and *.so files) should be installed to the pyexecdir directory detected by AM_PATH_PYTHON. This restores the install location from before the AM_PATH_PYTHON commit. * configure.in: remove unnecessary pythondir export * python/Makefile.am: switch from pythondir to pyexecdir
* Use AM_PATH_PYTHON and python-config to detect Python configurationMatthias Bolte2009-12-081-1/+1
| | | | | | | | | | | | | | | | Using AM_PATH_PYTHON solves the site-packages directory problem. At least in Ubuntu with Python 2.6 and later site-packages is renamed to dist-packages and site-packages is not part of sys.path anymore. So installing the libvirt Python bindings to site-packages renders them unusable, because they can be imported from there without manually including site-packages into sys.path. AM_PATH_PYTHON detects the correct site-packages/dist-packages directory. python-config --includes gives the correct include path for the Python header files. The old probing code stays there as fallback mechanism. * configure.in: use AM_PATH_PYTHON and python-config * python/Makefile.am: remove -I because PYTHON_INCLUDES contains it now
* Add public API definition for data stream handlingDaniel P. Berrange2009-09-291-1/+3
| | | | | | | | | | | | | | | | | | | * include/libvirt/libvirt.h.in: Public API contract for virStreamPtr object * src/libvirt_public.syms: Export data stream APIs * src/libvirt_private.syms: Export internal helper APIs * src/libvirt.c: Data stream API driver dispatch * src/datatypes.h, src/datatypes.c: Internal helpers for virStreamPtr object * src/driver.h: Define internal driver API for streams * .x-sc_avoid_write: Ignore src/libvirt.c because it trips up on comments including write() * python/Makefile.am: Add libvirt-override-virStream.py * python/generator.py: Add rules for virStreamPtr class * python/typewrappers.h, python/typewrappers.c: Wrapper for virStreamPtr * docs/libvirt-api.xml, docs/libvirt-refs.xml: Regenerate with new APIs
* Re-arrange python generator to make it clear what's auto-generatedDaniel P. Berrange2009-09-211-21/+15
| | | | | | | | | | | | | | * README: New file describing what each file is used for * livvirt-override.c, libvirt-override.py, libvirt-override-api.xml, libvirt-override-virConnect.py: Manually written code overriding the generator * typewrappers.c, typewrappers.h: Data type wrappers * generator.py: Automatically pre-prend contents of libvirt-override.py to generated libvirt.py. Output into libvirt.py directly instead of libvirtclass.py. Don't generate libvirtclass.txt at all. Write C files into libvirt.c/.h directly * Makefile.am: Remove rule for creating libvirt.py from libvirt-override.py and libvirtclass.py, since generator.py does it directly
* * python/Makefile.am: avoid a parallel make issue #472702Daniel Veillard2009-02-261-2/+5
| | | | | provided by Michael Marineau Daniel
* Fix gcc-ism in python build (John Levon)Daniel P. Berrange2008-12-181-2/+3
|
* * python/Makefile.am python/generator.py python/libvir.cDaniel Veillard2008-10-311-1/+4
| | | | | | | | | | python/libvir.py python/libvirt_wrap.h python/types.c: adds support for events from the python bindings, also improves the generator allowing to embbed per function definition files, patch by Ben Guthro * examples/domain-events/events-python/event-test.py: also adds a programming example Daniel
* Xen interface order and fix python parallel buildDaniel Veillard2008-10-011-1/+1
| | | | | | | * src/xend_internal.c: fix ordering when parsing multiple Xen interfaces, patch by Jim Fehlig * python/Makefile.am: fix parallel build Daniel
* Remove all trailing blanks; turn on the rule to detect them.Jim Meyering2008-02-051-1/+1
| | | | | * Makefile.cfg (local-checks-to-skip): Remove sc_trailing_blank. * .x-sc_trailing_blank: New file, to exempt the few binary files.
* Fri Nov 30 11:04:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>Richard W.M. Jones2007-11-301-7/+0
| | | | | | | | | * python/libvir.c, python/libvir.py: Make Python aware that the C bindings module is called cygvirtmod.dll when compiled by CYGWIN. * python/Makefile.am: Remove symlink libvirtmod.dll -> cygvirtmod.dll no longer necessary because of the above. * configure.in: Remove AM_CONDITIONAL(CYGWIN).
* Thu Nov 29 17:40:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>Richard W.M. Jones2007-11-291-3/+12
| | | | | | | | | * configure.in: Added CYGWIN_EXTRA_LDFLAGS, CYGWIN_EXTRA_LIBADD, CYGWIN_EXTRA_PYTHON_LIBADD, CYGWIN automake conditional. * src/Makefile.am: Extra flags required to build DLL of libvirt for Cygwin. * python/Makefile.am: Extra flags and rule required to build Python module for Cygwin.
* Make "make distcheck" work.Jim Meyering2007-11-151-1/+5
| | | | | | | | | | | | | | | | | | | * Makefile.am: Expand some "*" wildcards, and (for now) disable the relatively unimportant, distuninstallcheck target. Fix a few redirect-directly-to-target bugs. Add a few $(srcdir)/ prefixes and add an uninstall-local rule. * docs/Makefile.am: More of the same. Split some long lines. * python/Makefile.am: Likewise. * python/tests/Makefile.am: Likewise. * qemud/Makefile.am: Likewise. * tests/Makefile.am: Remove the directories already listed in SUBDIRS. * docs/examples/index.py: Adapt to produce the desired changes in docs/examples/Makefile.am. Also, sort *.c, so results are reproducible, and emit a comment telling emacs and vi that the file is read-only. * docs/examples/Makefile.am: Regenerate. Author: Jim Meyering <meyering@redhat.com>
* Tue Jun 26 14:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>v0.3.0Richard W.M. Jones2007-06-261-18/+14
| | | | | | | | * src/remote_internal.c, python/Makefile.am: Python bindings fixed, and now building virConnect.getHostname and virConnect.getURI. Fixed a problem which stopped libvirt.py from being (re-)built. Rearranged python/Makefile.am to make it cleaner and clearer.
* Fixed up numerous compiler warningsDaniel P. Berrange2007-03-061-1/+3
|
* Thu Mar 01 16:17:48 EST 2007 Mark McLoughlin <markmc@redhat.com>Mark McLoughlin2007-03-011-0/+1
| | | | | | | | | | | * acinclude.m4: add LIBVIRT_COMPILE_WARNINGS, copied from GNOME but with a few more flags we'd been using. * configure.in: use that instead of setting CFLAGS directly. * proxy/Makefile.am, python/Makefile.am, qemud/Makefile.am, src/Makefile.am, tests/Makefile.am: use $(WARN_CFLAGS)
* * NEWS configure.in libvirt.spec.in include/libvirt.h docs/*:Daniel Veillard2006-02-281-1/+2
| | | | | preparing release 0.0.6 Daniel
* * TODO: updatedDaniel Veillard2006-02-281-0/+3
| | | | | | | | | | * python/Makefile.am python/generator.py python/libvir.c python/libvir.py: improved python binding, raise exception when an instance creation or lookup fails, and add support for the global error handler, per conn handler still needed * python/tests/error.py python/tests/Makefile.am: adding a regression test Daniel
* * configure.in libvirt.spec.in include/libvirt.h.in python/Makefile.amDaniel Veillard2006-02-151-2/+2
| | | | | | src/Makefile.am: fix rpm packaging problems whith head, more LIBVIR -> LIBVIRT changes. Daniel
* * Makefile.am configure.in python/Makefile.am python/tests/Makefile.amDaniel Veillard2006-02-141-0/+7
| | | | | | python/tests/basic.py: added first python test script and a 'make tests' target Daniel
* * //* : renamed the project libvirt , this affects all makefiles,v0.0.3Daniel Veillard2006-02-091-20/+20
| | | | | | the specs, the icons, the docs, etc ... * configure.in: prepare for 0.0.3 Daniel
* * Makefile.am configure.in libvir.spec.in python/*: added a firstv0.0.1Daniel Veillard2005-12-191-0/+62
version for python bindings, heavilly based on libxml2/libxslt way of doing things, maybe this need to be revisited. Added packaging too. * src/hash.h: fixed the Copyright notice. Daniel