-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlocal-darwin.mk.example
63 lines (53 loc) · 1.54 KB
/
local-darwin.mk.example
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#
# Synospsis:
# Build template for local.mk, required by global Makefile
# Usage:
# cp local-darwin.mk.example local.mk
# vi local.mk
#
# # Consider these variables
#
# # where dir jmscott/{bin,sbin,lib,include,libexec,src,www} installed
# INSTALL_PREFIX=/usr/local
# INSTALL_PREFIX=/Users/jmscott/opt
#
# # go executable, required
# GOEXEC=/usr/local/go/bin/go # required
#
# # enable compilation of postgresql dependencies
# JMSCOTT_COMPILE_PG=1
#
# # enable install of various web tools in dir $JMSCOTT_ROOT/www/
# JMSCOTT_COMPILE_WWW=1
#
# make world
# Note:
# Replace JMSCOTT_COMPILE_PG with PG_CONFIG=/usr/local/pgsql/bin/pg_config
#
# Where to install directory jmscott/. Default is /usr/local/jmscott
# Value may be overriden by -DINSTALL_PREFIX=...
INSTALL_PREFIX?=/usr/local
# Typical location for development
#INSTALL_PREFIX?=$(HOME)/opt
# location of go executable.
GOEXE=/usr/local/go/bin/go
# conditional compilation of postgresql dependent code
# set JMSCOTT_COMPILE_PG=1; otherwise, JMSCOTT_COMPILE_PG=0
# disable all PG compilation.
export JMSCOTT_COMPILE_PG?=1
PGINC=/usr/local/pgsql/include
# conditional build of various www tools.
# set JMSCOTT_COMPILE_WWW=1 to enable; JMSCOTT_COMPILE_WWW=0 to disable.
# depends on perl xml libraries.
export JMSCOTT_COMPILE_WWW?=1
#
# For fedora set to apache, debian set to www-data, mac ports root
# Defaults to INSTALL_{USER,GROUP}.
#
# Note:
# NOT set correctly in recipe "make tar"!
#
# Ought to detect OS and default to appropriate USER/GROUP.
#
#WWW_USER=apache
#WWW_GROUP=apache