# -*- INI -*-
#
# Copyright (C) 2011-2014 ABINIT Group (Yann Pouillon)
#
# This file is part of the ABINIT software package. For license information,
# please see the COPYING file in the top-level directory of the ABINIT source
# distribution.
#

#
# Config file for the build system of Abinit
#
# Note: The following statements are in the Python "INI" format, with
#       case-sensitivity activated.
#

#
# Each section represents a logical block of the project
#
# Available options:
#
#   * description : help string for the block (mandatory);
#
#   * languages   : programming languages used within the block;
#
#   * mode        : working mode of the block
#                   (ignored if type = master, mandatory otherwise);
#     can be:
#       * attached, to configure the block along with the core;
#       * detached, to let the developers manage the block as they wish;
#
#   * priority    : integer used to prioritize subsystems (mandatory);
#                   the lower, the earlier the subsystem will be built;
#
#   * root        : root directory of the build system
#                   (mandatory if type = master, ignored otherwise);
#
#   * subdirs     : where to look for the block (mandatory);
#
#   * type        : how to consider the block (mandatory);
#     can be:
#       * data, for blocks interpreted as passive raw data;
#       * master, for the core block of the build system;
#       * subsystem, for blocks having their own build systems.
#
# Notes:
#
#   * all subsystems must have a configure script of their own;
#   * a block of type 'data' and mode 'detached' will not be distributed.

# WARNING: modify the defaults with *extreme* care!
[DEFAULT]
mode = attached

[bindings]
description = Bindings to let other software use Abinit features
languages = c fortran python
priority = 30
subdirs = bindings
type = subsystem
mode = detached

[core]
description = Core source tree of Abinit
languages = c fortran perl python shell
priority = 20
root = config
subdirs = src special
type = master

[doc]
description = Documentation of abinit
languages = html latex markdown text
mode = detached
priority = 40
subdirs = doc
type = subsystem

[fallbacks]
description = Fallbacks for optional features of Abinit
languages = c fortran python
priority = 10
subdirs = fallbacks
type = subsystem

[misc]
description= Miscellaneous data
languages = fortran pyqt4 python shell xml
priority = 80
subdirs = psps
type = data

[packaging]
description = Packaging information
distribute = no
languages = debian rpm
priority = 70
subdirs = packages
type = data

[tests]
description = Test suite of Abinit
languages = c perl python shell
priority = 50
subdirs = tests
type = subsystem

[utilities]
description = Abinit utilities
languages = perl python shell
priority = 60
subdirs = developers scripts
type = data
