# -*- INI -*-
#
# Copyright (C) 2009-2021 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.
#

#
# Interface between Abinit and the Autotools
#
# Note: The following statements are in the Python "INI" format, with
#       case-sensitivity activated.
#

#
# ac_output: list of files to spit out when configuring Abinit
#
# Options:
#
#   * output_files : files to be processed by configure
#   * subdirs      : custom subdirectories to build (optional)
#
[ac_output]
output_files =
  config.dump
  config.pc
  config.sh
  config/split/make-src-symlinks
  config/wrappers/wrap-fc
  abichecks/abichecks.env
  shared/common/src/14_hidewrite/m_build_info.F90
subdirs =
  abichecks
  shared
  shared/common
  shared/common/src
  shared/common/src/incs
  shared/common/src/mods
  shared/libpaw
  shared/libpaw/incs
  shared/libpaw/mods
  src
  src/incs
  src/mods

#
# ac_commands: list of commands to execute when configuring Abinit
#
# Options:
#
#   * on each line: <name-of-command> = <actual-command>
#
[ac_commands]
dump-optim = ${PYTHON} ${abinit_srcdir}/config/scripts/make-optim-dumper
long-lines = /bin/sh ${abinit_srcdir}/config/scripts/shrink-src-files ${abinit_srcdir} ${abinit_builddir}
script-perms = chmod u+x config/wrappers/wrap-fc
source-split = /bin/sh config/split/make-src-symlinks
