Building and Installing winregfs
-----------------------------------------------------------------------------
You must have libjodycode to build and run winregfs. Install the libjodycode
library and development headers from your distribution package manager. These
will probably be called "libjodycode" and "libjodycode-dev".

If your distribution doesn't have libjodycode, get it here:

https://github.com/jbruchon/libjodycode

If you clone and build libjodycode into ../libjodycode/ then the build will use
the header and library in that location instead of the libjodycode already
installed on the system. You can then test the dynamically linked winregfs by
telling it where to look:

LD_LIBRARY_PATH=../libjodycode ./winregfs

To install the program with the default options and flags, just issue the
following commands (note that btrfs support is off by default):

make
sudo make install

This installs all winregfs files under /usr/local by default. You may change this
to a different location by editing the Makefile or specifying a PREFIX on the
command line: 'make PREFIX=/usr install'. DESTDIR is also supported to place
everything into a different location for i.e. building distribution packages:
'make DESTDIR=/pkg/winregfs install'.

To force static or dynamic linking of libjodycode, use the make targets
static_jc and dynamic_jc respectively.

Certain options can be turned on by setting a variable passed to make instead
of using CFLAGS_EXTRA, i.e. 'make DEBUG=1':

GC_SECTIONS            Use gcc/ld section garbage collection to reduce size
