Hacker's Perspective

gar.conf.mk

The gar.conf.mk file is where all of the user configuration goes on. Setting dir paths, compiler flags, download locations, etc all happens here.

gar.mk

The gar.mk file is where the seven basic rules are defined, and the dependency structure is created. All of the commands that a user might type in as make targets are here.

gar.lib.mk

This file is where all of the rules describing the nitty-gritty of how to handle particular scripts happens. This is where the actual code to compile a list of URLs and attempt to download from each occurs. This is where the rules for deciding how to build with a Makefile, install with a manifest, or configure with a configure script are defined. Most of the real hacking on GAR goes on in gar.lib.mk!