[go: up one dir, main page]

File: home

package info (click to toggle)
cook 2.19-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 7,316 kB
  • ctags: 3,969
  • sloc: ansic: 50,331; sh: 13,190; makefile: 4,542; yacc: 3,174; perl: 224; awk: 154
file content (33 lines) | stat: -rw-r--r-- 900 bytes parent folder | download | duplicates (5)
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
 *	home - define installation locations
 *
 * DESCRIPTION
 *	This cookbook defined where certain directoris are,
 *	and some common uses of those directories,
 *	relative to $HOME.
 *
 * VARIABLES
 *	home		users' home directory.
 *	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 home directory
 */

#pragma once

bin = [home]/bin;
include = [home]/include;
lib = [home]/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]];