-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlocal-linux.mk.example
60 lines (53 loc) · 1.55 KB
/
local-linux.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
#
# Synopsis:
# Makefile Template for typical Linux >= 2.18
# Description:
# Template for local make environment under Linux >= 2.18
#
# 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-linux.mk.example local.mk
# vi local.mk
# make install
# Note:
# Note:
# Does openssl have a config program, simlar to postgresql "pg_config"
# or golang "go environment"?
#
# Replace GODIST with call to "GOEXE/bin/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 1+ installed by standard distro package
OPENSSL_INC=-DOPENSSL_API_COMPAT=0x10100000L
OPENSSL_LIB=-lssl -lcrypto
#
# where golang distribution installed.
#
# Note:
# replace with "$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 generate www/noc web site
#NOC_DNS_VHOST_SUFFIX=blob.io
#NOC_DNS_VHOST_PREFIX=noc