Source release directory layout

  README                    - Giraffe Library overview
  INSTALL                   - installation instructions
  CHANGES                   - description of changes
  LICENCE.RUNTIME           - licence for run-time files
  COPYING                   - GNU LGPL version 2.1
  configure
  Makefile

  doc/                      - documentation
    layout.txt                - this file

  src/                      - source code
    giraffe.c                 - C interface support (common)

    mlton/                    - C interface support for MLton
      cvector.h                 - interface functions for C array FFI
      cvectorvector.h           - interface functions for C array FFI
      giraffe-sml-<namespace>-<version>.h
                                - SML interface exported by MLton
      giraffe-<namespace>-<version>-mlton.c
                                - C wrapper functions for array arguments
      giraffe-<namespace>-<version>.h
      giraffe-<namespace>-<version>.c

    polyml/                   - C interface support for Poly/ML
      giraffe-<namespace>-<version>.h
      giraffe-<namespace>-<version>.c

    polyml.sml                - recursive 'use' function for Poly/ML

    general/                  - general purpose SML utilities
        mlton.mlb
        polyml.sml
        mlton/
        polyml/
        ...

    ffi/                      - FFI extensions (for high-level FFI)
      mlton.mlb
      polyml.sml
      mlton/
      polyml/
      ...

    <namespace>-<version>/    - SML bindings for <namespace>-<version>
      giraffe.c
      mlton.mlb
      polyml.sml
      mlton/
      polyml/
      ...

    excluded-log.page         - log of excluded parts of each namespace



Installation directory layout

  lib/                      - libraries for target platform
    mlton/                    - interface (static) libraries for MLton
      libgiraffe-<namespace>-<version>.a

    polyml/                   - interface (shared) libraries for Poly/ML
      libgiraffe-<namespace>-<version>.so

    sml/                      - SML libraries (source code, not compiled)
      polyml.sml                - copy of src/polyml.sml

      general/                  - copy of src/general
        mlton.mlb
        polyml.sml
        mlton/
        polyml/
        ...

      ffi/                      - copy of src/ffi
        mlton.mlb
        polyml.sml
        mlton/
        polyml/
        ...

      <namespace>-<version>/    - copy of (non C from) src/<namespace>-<version>
        mlton.mlb
        polyml.sml
        mlton/
        polyml/
        ...

  include/
    mlton/
      cvector.h                 - copy of src/mlton/cvector.h
      cvectorvector.h           - copy of src/mlton/cvectorvector.h

