summaryrefslogtreecommitdiffstats
path: root/haskell/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* build: Fix parallel build of haskell bindingsMatthew Booth2009-11-191-7/+13
| | | | | | | ghc isn't clever enough not to stomp on itself when building dependencies. This change makes the 1 dependency explicit. It also adds a dependency on src/libguestfs.la.
* build: Fix inter-directory dependenciesMatthew Booth2009-11-191-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make it possible to build in a separate directoryMatthew Booth2009-07-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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.
* Haskell bindings: Implement bindtests.Richard W.M. Jones2009-06-281-2/+7
|
* Move the appliance and build scripts into new appliance/ subdirectory.Richard W.M. Jones2009-05-281-2/+2
|
* Partial Haskell bindings.Richard Jones2009-05-101-0/+42