# fss-0005 iki-0002
#
# See the dependencies file for details on the FLL packages that are needed.
#
# The data/build/stand_alone/configs/remove-config.h should be copied to sources/c/remove-config.h.
# The data/build/stand_alone/configs/tacocat-config.h should be copied to sources/c/tacocat-config.h.
#
# This requires that the sources structure to be changed.
# The monolithic sources from within the 'fll-0.8.x/source/c/' directory must be copied over into the sources directory under the directory 'sources/c/fll/'.
#
# This can be built via:
#   fake -U build/stand_alone/ clean make
#

settings:
  fail exit
  modes android clang coverage debug fanalyzer flex_arrays gcc pinephone test thread threadless

  environment PATH LD_LIBRARY_PATH
  environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH

main:
  build settings/settings.remove
  build settings/settings.rm
  build settings/settings.rmdir
  build settings/settings.tacocat
  build settings/settings.unlink

remove:
  build settings/settings.remove

rm:
  build settings/settings.rm

rmdir:
  build settings/settings.rmdir

tacocat:
  build settings/settings.tacocat

unlink:
  build settings/settings.unlink

install:
  shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color'

help:
  print
  print context:'title'Fakefile Options for the Kevux Tool Programs.context:'reset'

  print
  print The following operations are available\:
  print "  - context:'notable'help:context:'reset'    Perform the help operation, printing this message."
  print "  - context:'notable'install:context:'reset' A helper operation that calls the ./install.sh script for the programs."
  print "  - context:'notable'main:context:'reset'    Compilation using the build settings mode for the programs (default)."
  print "  - context:'notable'remove:context:'reset'  Compilation using the build settings mode for the remove program."
  print "  - context:'notable'rm:context:'reset'      Compilation using the build settings mode for the rm program."
  print "  - context:'notable'rmdir:context:'reset'   Compilation using the build settings mode for the rmdir program."
  print "  - context:'notable'tacocat:context:'reset' Compilation using the build settings mode for the tacocat program."
  print "  - context:'notable'unlink:context:'reset'  Compilation using the build settings mode for the unlink program."

  print
  print The context:'notable'install[context]:'reset' operation supports the context:'notable'work[context]:'reset', context:'notable'verbosity[context]:'reset', and context:'notable'color[context]:'reset' parameters.
