-
Notifications
You must be signed in to change notification settings - Fork 1
/
local-darwin.mk.example
58 lines (51 loc) · 1.52 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
#
# Synopsis:
# Makefile Template for typical Mac OSX >= 10.6
# Description:
# Template for local make environment under Mac OSX >= 10.6
#
# Examine and possbily edit the following variables:
#
# DIST_ROOT Where to install full blobio distribution;
# e.g., /usr/local/blobio for production or
# $HOME/opt/blobio for development.
# Only the basename directory (blobio) is
# created.
#
# OPENSSL_INC Where ssl include files live
# OPENSSL_LIB Link line for openssl libraries
#
# GODIST Where is go distribution installed.
# Redefining GOROOT is problematic,
# hence GODIST
# Usage:
# cp local-macosx.mk.example local.mk
# vi local.mk
# make install
# Note:
# Does openssl have a config program, simlar to postgresql "pg_config"
# or golang "go environment"?
#
# Where to install entire blobio distribution.
# Example is typical dev environment set to $(HOME)/opt/blobio.
# Production might be DIST_ROOT=/opt/jmscott/jmsdesk/blobio
DIST_ROOT=$(HOME)/opt/blobio
# openssl install by "port" package manager.
OPENSSL_INC=-I/opt/local/include -DOPENSSL_API_COMPAT=0x10100000L
OPENSSL_LIB=-L/opt/local/lib -lssl -lcrypto
#
# Note:
# Replace GODIST with call to "$GOEXE environment"
#
GODIST=/usr/local/go
# postgresql configuration, for both source built and repo install.
PG_CONFIG?=/usr/local/pgsql/bin/pg_config
# https://github.com/jmscott/work
JMSCOTT_ROOT?=/usr/local/jmscott
#
# Undefine to build web gui
#
# $BLOBIO_ROOT/www/vhost/noc.blobio.com
#
#NOC_DNS_VHOST_SUFFIX=blob.io
#NOC_DNS_VHOST_PREFIX=noc