alblue/mac-zfs — pull request #1 by BjoKaSH (2012-05-12 16:18:26+00:00)
Title: Makefile builds

Hi Alex,

following up on the discussion "Investigating makefiles" on the mac-zfs maillinglist "zfs-macos@googlegroups.com" I have created a make based buildsystem. This revision, which should cleanly apply to your master branch, can build libzfs, the executables zfs and zpool and the zfskext.
I haven't yet looked into your packaging scripts, but it should be relatively easy to incorporate these.

This pull does not touch any existing files (not counting .gitignore) and so should be save.

I made a second branch, makefile-builds-untested, which merges your "untested" branch. It compiles the latest sources in untested into a zfskext. Note that I did not tried to load that, I only verified it successfully with "kextutil -t ..."

I'll post a reply to "Investigating makefiles" on the mac-zfs maillinglist in a minute describing how things work. The inner working of the build system is also documented in the file README_Buildsystem.txt.

Best

Björn