view HACKING.rst @ 603:83f25a2581e3

Update usage and date.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Wed, 16 Dec 2015 00:09:12 +0200
parents 97dd98cf20be
children
line wrap: on
line source

================
 utils HACKING.
================
.. contents::

Makefile rules.
===============

All sub Makefile must has "all", "check", "install", "uninstall", "distclean",
and "clean" targets.

"all" is default target and must build all necessary file for "install".

"uninstall" remove all file installed by "install".

"distclean" invoke clean and remove some other filew whith in general case not
removed.

"clean" remove all file produced by "all".

Makefile vars.
==============
::

  prefix
    Point to root install dir.
  bindir
    $(prefix)/bin
  mandir
    $(prefix)/share/man
  infodir
    $(prefix)/share/info

As usual for auto tools::

  `host_cpu'
  `host_vendor'
  `host_os'
      The first three parts of the canonical host configuration name.
  `target_cpu'
  `target_vendor'
  `target_os'
      The first three parts of the canonical target configuration name.