1/* 2 * NAME 3 * usr.local - define installation locations 4 * 5 * DESCRIPTION 6 * This cookbook defined where certain directoris are, 7 * and some common uses of those directories, 8 * relative to /usr/local. 9 * 10 * VARIABLES 11 * bin directory to place program binaries into 12 * include directory to place include files into 13 * lib directory to place libraries into 14 * cc_include_flags The [include] directory is added to the search args 15 * cc_link_flags The [lib] directory is added to the search args 16 * Copyright (C) 2007 Peter Miller 17 */ 18 19#pragma once 20 21bin = /usr/local/bin; 22include = /usr/local/include; 23lib = /usr/local/lib; 24 25if [not [defined cc_include_flags]] then 26 cc_include_flags = ; 27cc_include_flags = [stringset [cc_include_flags] -I[include]]; 28 29if [not [defined cc_link_flags]] then 30 cc_link_flags = ; 31cc_link_flags = [stringset [cc_link_flags] -L[lib]]; 32