summaryrefslogtreecommitdiffstats
path: root/java/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* build: Fix inter-directory dependenciesMatthew Booth2009-11-191-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds an explicit dependency on generator.ml for every file it generates, except java files. Java is left for another time because it's considerably trickier. It also adds a build rule for src/libguestfs.la so it can be rebuilt as required from other directories. It does this by creating a top level make file, subdir-rules.mk, which can be included from sub-directories. sub-directories need to define 'generator_built' to include local files which are built by generator.ml, and they will be updated automatically. This fixes parallel make, and will automatically re-create generated files when make is run from any directory. It also fixes the problem which efad4f53 was targetting. Specifically, src/guestfs_protocol.(c|h) had an erroneous dependency on stamp-generator, and therefore generator.ml, despite not being directly created by it. This caused them to be recreated every time generator.ml ran rather than only when src/guestfs_protocol.x was updated, which cascaded into a daemon and therefore appliance update. This patch also changes the contents of the distribution tarball by including files created by rpcgen.
* Miscellaneous fixes for non-srcdir builds.Richard Jones2009-07-161-1/+1
|
* java/Makefile.inc: Include this generated file.Richard W.M. Jones2009-07-141-1/+2
| | | | | | We have to include this generated file because it is part of the build system, thus required to exist before the generator runs.
* Automatically generate list of built java sourcesMatthew Booth2009-07-131-2/+6
|
* Don't list Java files explicitly, since these files are auto-generated.Richard W.M. Jones2009-07-101-9/+1
|
* RHEL 5: $(builddir) did not exist with this old autoconf/automake, so ↵Richard Jones2009-07-071-2/+5
| | | | workaround.
* Make it possible to build in a separate directoryMatthew Booth2009-07-031-14/+14
| | | | | | | | | | | | | | | | | | | | | | This patch allows you to do: mkdir build cd build ../configure ... make This will output all generated files to the build directory. Given that autogen automatically runs configure, you can also do: BUILDDIR=./build ./autogen.sh which will do the right thing. Also: * Fix a dependency bug which means that guestfs_protocol.h isn't automatically rebuilt. * Re-running autogen.sh with no arguments won't blow away your previous configure arguments.
* Add 'readdir' call.Richard W.M. Jones2009-07-021-0/+1
| | | | | | | | | | | | This adds a readdir call (mostly intended for programs). The return value is a list of guestfs_dirent structures. This adds the new types 'struct guestfs_dirent' and 'struct guestfs_dirent_list', along with all the code to return these in the different language bindings. Also includes additional tests for OCaml and Perl bindings to test this.
* Add tests for bindings parameters, fix several broken bindings.Richard W.M. Jones2009-05-281-5/+11
|
* Move the appliance and build scripts into new appliance/ subdirectory.Richard W.M. Jones2009-05-281-1/+1
|
* Enable parallel builds (Jim Meyering).Richard Jones2009-04-301-1/+5
|
* build: don't tell "make clean" to remove my '~' backup filesJim Meyering2009-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi Rich, automake's policy on what to remove via "make clean" is reasonable: if running build rules creates it, then "make clean" can and should remove it. However, even if build rules happen to create backup files, please remove only the specific ones they can create, not all of the ones in a directory. Just in case someone relies on those and expect them to hang around... >From 1e8be391ac17b4ddcf9671e8413d2660844e6993 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering@redhat.com> Date: Thu, 30 Apr 2009 15:47:52 +0200 Subject: [PATCH] build: don't tell "make clean" to remove my '~' backup files * Makefile.am (CLEANFILES): Don't remove '~' backup files. * daemon/Makefile.am: Ditto. * examples/Makefile.am: Ditto. * fish/Makefile.am: Ditto. * images/Makefile.am: Ditto. * inspector/Makefile.am: Ditto. * java/Makefile.am: Ditto. * ocaml/Makefile.am: Ditto. * ocaml/examples/Makefile.am: Ditto. * perl/Makefile.am: Ditto. * python/Makefile.am: Ditto. * ruby/Makefile.am: Ditto. * src/Makefile.am: Ditto.
* Fixes for Java.1.0.5Richard Jones2009-04-211-0/+4
|
* Another Java test.Richard Jones2009-04-211-10/+11
|
* Testing the Java bindings.Richard Jones2009-04-211-3/+22
|
* Java bindings compile, not tested.Richard Jones2009-04-211-2/+52
|
* Basic Java build environment.Richard Jones2009-04-211-0/+25