-
Notifications
You must be signed in to change notification settings - Fork 1
/
mk.config
125 lines (105 loc) · 2.05 KB
/
mk.config
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#
# Path to the Heirloom Bourne shell. It is used during compilation
# as well as by the package commands.
#
ifneq ("$(wildcard /usr/5bin/sh)","")
SHELL = /usr/5bin/sh
else
SHELL = /bin/sh
endif
#
# A BSD-compatible install command.
#
ifneq ("$(wildcard /usr/ucb/install)","")
INSTALL=/usr/ucb/install
else
INSTALL=/usr/bin/install
endif
#
# Where the Heirloom Development Tools package has been placed.
# $(CCSDIR)/bin must also be in the PATH setting when building.
#
CCSDIR=/usr/ccs
#
# Prefixes.
#
PREFIX=/usr
VAR=/var
#
# Where to place binaries. This must be the same place
# where the Heirloom Toolchest binaries are installed.
#
BINDIR=$(PREFIX)/5bin
#
# Where to place superuser-only binaries. This may be
# the same place as the binary directory.
#
SBINDIR=$(PREFIX)/5bin
#
# Where to place configuration files.
#
ETCDIR=/etc
#
# Where to place (read-only) helper files.
#
SADMDIR=$(PREFIX)/sadm
#
# Where to place the database of installed packages.
#
VSADMDIR=$(VAR)/sadm
#
# Where to place manual pages.
#
MANDIR=$(PREFIX)/share/man/5man
#
# Binaries are stripped with this command after installation.
#
STRIP=strip -s -R .comment -R .note
#
# Compiler flags.
#
CFLAGS=-m32 -O
#
# C preprocessor flags.
#
# Use -D_GNU_SOURCE for Linux with GNU libc.
# Use -D_INCLUDE__STDC_A1_SOURCE for HP-UX.
#
CPPFLAGS=-m32 -D_GNU_SOURCE
#
# Warning flags for the compiler.
#
#WARN=
#
# Linker flags.
#
LDFLAGS=-m32
#
# Additional libraries to link with.
#
LIBS=
#
# It may be necessary to define AR on some systems, e.g. on HP-UX.
#
#AR=ar
#
# Run ranlib if it is in the current path. This should take care
# of most situations. On Mac OS X, you need to uncomment "ranlib -c".
#
RANLIB=(hash ranlib) >/dev/null 2>&1 || exit 0; ranlib
#RANLIB=ranlib -c
#
# Use this if you prefer hard links between installed files.
#
LNS = ln -s
#
# Do not modify anything below here.
#
PATHS = \
-DSHELL='"$(SHELL)"' \
-DETCDIR='"$(ETCDIR)"' \
-DBINDIR='"$(BINDIR)"' \
-DSBINDIR='"$(SBINDIR)"' \
-DSADMDIR='"$(SADMDIR)"' \
-DVSADMDIR='"$(VSADMDIR)"' \
-DVSADMREL='"$(VSADMDIR:/%=%)"'