Lines 7-13
Link Here
|
7 |
## Installation paths |
7 |
## Installation paths |
8 |
## |
8 |
## |
9 |
|
9 |
|
10 |
PREFIX=/usr/local |
10 |
PREFIX=/usr |
11 |
|
11 |
|
12 |
# Unless you are creating a package conforming to some OS's standards, you |
12 |
# Unless you are creating a package conforming to some OS's standards, you |
13 |
# probably do not want to modify the following directories: |
13 |
# probably do not want to modify the following directories: |
Lines 15-21
Link Here
|
15 |
# Main binaries |
15 |
# Main binaries |
16 |
BINDIR=$(PREFIX)/bin |
16 |
BINDIR=$(PREFIX)/bin |
17 |
# Configuration .lua files |
17 |
# Configuration .lua files |
18 |
ETCDIR=$(PREFIX)/etc/ion3 |
18 |
ETCDIR=/etc/X11/ion3 |
19 |
# Some .lua files and ion-* shell scripts |
19 |
# Some .lua files and ion-* shell scripts |
20 |
SHAREDIR=$(PREFIX)/share/ion3 |
20 |
SHAREDIR=$(PREFIX)/share/ion3 |
21 |
# Manual pages |
21 |
# Manual pages |
Lines 27-37
Link Here
|
27 |
# Nothing at the moment |
27 |
# Nothing at the moment |
28 |
LIBDIR=$(PREFIX)/lib |
28 |
LIBDIR=$(PREFIX)/lib |
29 |
# Modules |
29 |
# Modules |
30 |
MODULEDIR=$(LIBDIR)/ion3/mod |
30 |
MODULEDIR=$(LIBDIR)/ion3/mod |
31 |
# Compiled Lua source code |
31 |
# Compiled Lua source code |
32 |
LCDIR=$(LIBDIR)/ion3/lc |
32 |
LCDIR=$(LIBDIR)/ion3/lc |
33 |
# ion-completefile (does not belong in SHAREDIR being a binary file) |
33 |
# ion-completefile (does not belong in SHAREDIR being a binary file) |
34 |
EXTRABINDIR=$(LIBDIR)/ion3/bin |
34 |
EXTRABINDIR=$(LIBDIR)/ion3/bin |
35 |
# For ion-completeman system-wide cache |
35 |
# For ion-completeman system-wide cache |
36 |
VARDIR=/var/cache/ion3 |
36 |
VARDIR=/var/cache/ion3 |
37 |
# Message catalogs |
37 |
# Message catalogs |
Lines 56-73
Link Here
|
56 |
|
56 |
|
57 |
# If you have installed Lua 5.1 from the official tarball without changing |
57 |
# If you have installed Lua 5.1 from the official tarball without changing |
58 |
# paths, this should do it. |
58 |
# paths, this should do it. |
59 |
LUA_DIR=/usr/local |
59 |
#LUA_DIR=/usr/local |
60 |
LUA_LIBS = -L$(LUA_DIR)/lib -llua |
60 |
#LUA_LIBS = -L$(LUA_DIR)/lib -llua |
61 |
LUA_INCLUDES = -I$(LUA_DIR)/include |
61 |
#LUA_INCLUDES = -I$(LUA_DIR)/include |
62 |
LUA=$(LUA_DIR)/bin/lua |
62 |
#LUA=$(LUA_DIR)/bin/lua |
63 |
LUAC=$(LUA_DIR)/bin/luac |
63 |
#LUAC=$(LUA_DIR)/bin/luac |
64 |
|
64 |
|
65 |
# If you are using the Debian packages, the following settings should be |
65 |
# If you are using the Debian packages, the following settings should be |
66 |
# what you want. |
66 |
# what you want. |
67 |
#LUA_LIBS=`pkg-config --libs lua5.1` |
67 |
LUA_LIBS=`pkg-config --libs lua` |
68 |
#LUA_INCLUDES=`pkg-config --cflags lua5.1` |
68 |
LUA_INCLUDES=`pkg-config --cflags lua` |
69 |
#LUA=`which lua5.1` |
69 |
LUA=`which lua` |
70 |
#LUAC=`which luac5.1` |
70 |
LUAC=`which luac` |
71 |
|
71 |
|
72 |
|
72 |
|
73 |
## |
73 |
## |
Lines 107-113
Link Here
|
107 |
# asprintf and vasprintf in the c library. (gnu libc has.) |
107 |
# asprintf and vasprintf in the c library. (gnu libc has.) |
108 |
# If HAS_SYSTEM_ASPRINTF is not defined, an implementation |
108 |
# If HAS_SYSTEM_ASPRINTF is not defined, an implementation |
109 |
# in sprintf_2.2/ is used. |
109 |
# in sprintf_2.2/ is used. |
110 |
#HAS_SYSTEM_ASPRINTF=1 |
110 |
HAS_SYSTEM_ASPRINTF=1 |
111 |
|
111 |
|
112 |
|
112 |
|
113 |
# If you're on an archaic system (such as relatively recent *BSD releases) |
113 |
# If you're on an archaic system (such as relatively recent *BSD releases) |
Lines 144-157
Link Here
|
144 |
|
144 |
|
145 |
#C89_SOURCE=-ansi |
145 |
#C89_SOURCE=-ansi |
146 |
|
146 |
|
147 |
#POSIX_SOURCE=-D_POSIX_SOURCE |
147 |
POSIX_SOURCE=-D_POSIX_SOURCE |
148 |
|
148 |
|
149 |
# Most systems |
149 |
# Most systems |
150 |
#XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED |
150 |
XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED |
151 |
# SunOS, (Irix) |
151 |
# SunOS, (Irix) |
152 |
#XOPEN_SOURCE=-D__EXTENSIONS__ |
152 |
#XOPEN_SOURCE=-D__EXTENSIONS__ |
153 |
|
153 |
|
154 |
#C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY |
154 |
C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY |
155 |
|
155 |
|
156 |
# The -DCF_HAS_VA_COPY option should allow for some optimisations, and |
156 |
# The -DCF_HAS_VA_COPY option should allow for some optimisations, and |
157 |
# in some cases simply defining |
157 |
# in some cases simply defining |