aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* build: add autoconf to replace custom checks in tools/checkIan Jackson2012-02-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added autotools magic to replace custom check scripts. The previous checks have been ported to autoconf, and some additional ones have been added (plus the suggestions from running autoscan). Two files are created as a result from executing configure script, config/Tools.mk and config.h. conf/Tools.mk is included by tools/Rules.mk, and contains most of the options previously defined in .config, that can now be set passing parameters or defining environment variables when executing configure script. config.h is only used by libxl/xl to detect yajl_version.h. [ tools/config.sub and config.guess copied from autotools-dev 20100122.1 from Debian squeeze i386, which is GPLv2. tools/configure generated using the included ./autogen.sh which ran autoconf 2.67-2 from Debian squeeze i386. autoconf is GPLv3+ but has a special exception for the autoconf output; this exception applies to us and exempts us from complying with GPLv3+ for configure, which is good as Xen is GPL2 only. - Ian Jackson ] Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Tested-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
* tools/build: Introduce {PREPEND,APPEND}_{LIB,INCLUDES}Roger Pau Monne2011-11-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Create two new variables called APPEND_ and PREPEND_ to add compile flags at the beginning or at the end of the search path. Added a new semantic for user defined compile flags, here is the list of possible options: PREPEND_LIB: add libraries to the search path before xen (before xen installation folders). PREPEND_INCLUDES: add headers to the search path before xen (before xen installation folders). APPEND_LIB: add libraries to the search path at the end (after all xen installation folders have been added). APPEND_INCLUDES: add libraries to the search path at the end (after all xen installation folders have been added). EXTRA_INCLUDES and EXTRA_LIB can still be used, and they will have the same effect as PREPEND_INCLUDES and PREPEND_LIB. Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools: Remove $(CFLAGS) from links lines.Ian Campbell2011-03-311-1/+1
| | | | | | | | The relevant variable in these circumstances is called $(LDFLAGS). Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* build: Make XEN_ROOT an absolute path.Keir Fraser2011-03-171-1/+1
| | | | | | | | Otherwise make can search the path relative to certain standard paths such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in Config.mk suffers from this). Signed-off-by: Keir Fraser <keir@xen.org>
* split LDLIBS from LDFLAGS to fix link errors in recent toolchainsStefano Stabellini2010-08-111-1/+1
| | | | | | | | | | | | | | | | Linker command lines are order-sensitive. Move linker options -Lfoo -lfoo from LDFLAGS to LDLIBS and place this new variable after the objects to link. This resolves build errors in xenpagin and blktap with recent toolchains. rename SHLIB_CFLAGS to SHLIB_LDFLAGS rename LDFLAGS_* to LDLIBS_* move LDFLAGS usage after CFLAGS in CC calls remove stale comments in xenpaging Makefile Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Add INCLUDEDIR. Use it.Keir Fraser2008-01-221-2/+2
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Apply PREFIX directly to LIBDIR.Keir Fraser2008-01-221-5/+5
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* libxen: Avoid declarations-after-statement (C++ coding style).Keir Fraser2008-01-171-6/+6
| | | | | | | Signed-off-by: Andre Przywara <andre.przywara@amd.com> libxen: Use build-system CFLAGS and LDFLAGS. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Fix some build system error handling.Keir Fraser2007-12-201-1/+1
| | | | Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Bump all API version numbers to 1.0.0.ewan@localhost.localdomain2007-04-271-2/+2
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added Makefile.dist, which can make standalone tarballs.ewan@localhost.localdomain2007-04-211-11/+0
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Move all internal header files to a separate directory, so that it's clear whatewan@localhost.localdomain2007-04-211-13/+20
| | | | | | | | forms the public API. Tidy up a couple of macros in xen_internal.h. Remove test_hvm_bindings, which no longer builds, and which has had its functionality subsumed into test_bindings. Bump the library version to 0.9. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added asynchronous event notification through the Xen-API. Added a new command,Ewan Mellor2007-03-291-0/+3
| | | | | | | xm event-monitor, a new test program for the C bindings, and new bindings themselves. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* tools: Clean up use of 'install' command.kfraser@localhost.localdomain2007-03-071-2/+2
| | | | | | | | | - convert raw "install" command to use $(INSTALL) - convert some $(INSTALL) to $(INSTALL_DATA) as appropriate - modify the specific $(INSTALL) definitions to use -p. Original patch by Ben Thomas <ben@virtualiron.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* [XENAPI] Add VDI.location support and test c prog for HVM test.Alastair Tse2007-01-311-0/+3
| | | | Signed-off-by: Alastair Tse <atse@xensource.com>
* Link test/test_bindings against libxenapi in the new location.Ewan Mellor2006-12-011-2/+2
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Add test_bindings back into the build -- it isn't integrated with the normalEwan Mellor2006-11-281-0/+3
| | | | | | | targets, because it introduces an additional dependency (libcurl), but make test/test_bindings does the right thing. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Add libxen to overall xen build via a config option in Config.mk.jfehlig@jfehlig2.provo.novell.com2006-11-221-6/+38
| | | | Signed-off-by: Jim Fehlig <jfehlig@novell.com>
* C bindings adding some basic vTPM extensions to the API thatEwan Mellor2006-10-251-1/+1
| | | | | | make its handling similar to that of VBD etc. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Import libxen-src-0.4.3-2.tar.bz2.ewan@linford.intra2006-10-071-0/+37
Signed-off-by: Ewan Mellor <ewan@xensource.com>