[go: up one dir, main page]

File: usr.local

package info (click to toggle)
cook 2.29-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 8,656 kB
  • ctags: 4,083
  • sloc: ansic: 47,636; sh: 14,376; makefile: 4,656; yacc: 3,166; perl: 224; awk: 219
file content (33 lines) | stat: -rw-r--r-- 1,019 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * NAME
 *      usr.local - define installation locations
 *
 * DESCRIPTION
 *      This cookbook defined where certain directoris are,
 *      and some common uses of those directories,
 *      relative to /usr/local.
 *
 * VARIABLES
 *      bin             directory to place program binaries into
 *      include         directory to place include files into
 *      lib             directory to place libraries into
 *      cc_include_flags The [include] directory is added to the search args
 *      cc_link_flags   The [lib] directory is added to the search args
 *
 * MANIFEST: cookbook for locations in local system directories
 * Copyright (C) 2007 Peter Miller
 */

#pragma once

bin = /usr/local/bin;
include = /usr/local/include;
lib = /usr/local/lib;

if [not [defined cc_include_flags]] then
        cc_include_flags = ;
cc_include_flags = [stringset [cc_include_flags] -I[include]];

if [not [defined cc_link_flags]] then
        cc_link_flags = ;
cc_link_flags = [stringset [cc_link_flags] -L[lib]];